Menu

Commit [r2369]  Maximize  Restore  History

Update DRMServices to properly support authentication tokens as objects:

- added convertToken method
- if the provided token is a ByteArray then it will be directly used
- otherwise, the provided token is first converted to a string using its toString() method and resulting string will be serialized as a ByteArray ( using writeUTFBytes and not writeUTF )

Added unit tests for the newly-added method ( TestDRMServices).
Updated OSMFTest application to include the new tests.

cdobre 2011-09-23

changed /osmf/trunk/framework/OSMF/org/osmf/net/drm/DRMServices.as
changed /osmf/trunk/framework/OSMFTest/src/OSMFTest.mxml
added /osmf/trunk/framework/OSMFTest/src/org/osmf/net/drm
added /osmf/trunk/framework/OSMFTest/src/org/osmf/net/drm/TestDRMServices.as
/osmf/trunk/framework/OSMF/org/osmf/net/drm/DRMServices.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/src/OSMFTest.mxml Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFTest/src/org/osmf/net/drm/TestDRMServices.as Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.