|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.media.authz.VideoTokenUtil
public class VideoTokenUtil
Helper utility to support video playback token generation, manipulation, and analysis
| Method Summary | |
|---|---|
static byte[] |
asByte(String hex)
|
static String |
asHex(byte[] buf)
|
protected static String |
getDecryptedToken(byte[] token)
Method for decrypting the video token. |
protected static String |
getNewVideoToken(User user,
JiveObject jiveObject)
Creates a new video token based on the requesting user id and object. |
static VideoToken |
getTokenObject(String decryptedToken)
Method to get a VideoToken representing the given token string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String asHex(byte[] buf)
public static byte[] asByte(String hex)
protected static String getNewVideoToken(User user,
JiveObject jiveObject)
user - The user requesting the token.jiveObject - The jiveObject that the request is for.
protected static String getDecryptedToken(byte[] token)
token - The encrypted video token.
public static VideoToken getTokenObject(String decryptedToken)
VideoToken representing the given token string.
decryptedToken - The token in plain text
VideoToken representing the token string.
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||