com.jivesoftware.community.media.authz
Class VideoTokenManagerImpl
java.lang.Object
com.jivesoftware.community.media.authz.VideoTokenManagerImpl
public class VideoTokenManagerImpl
- extends Object
Enables generation and validation of video playback tokens. When a video is viewed a player will perform a callback
that invokes the validation methods to ensure that the user attempting to play the video has permission to view
the video
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VideoTokenManagerImpl
public VideoTokenManagerImpl()
requestNewToken
public String requestNewToken(User user,
JiveObject jiveObject)
- Requests a new video token for the given user viewing the given object
- Parameters:
user - viewing itemjiveObject - being viewed
- Returns:
- an encrypted video token
isTokenValid
public boolean isTokenValid(String token)
- Validates the given encrypted video playback token
- Returns:
- true if the given token is valid
setVideoTokenCache
public void setVideoTokenCache( videoTokenCache)
setVideoSettingsManager
public void setVideoSettingsManager(VideoSettingsManager videoSettingsManager)
Copyright © 1999-2007 Jive Software.