public class BasicSecurityToken extends AbstractSecurityToken implements SecurityToken
| Constructor and Description |
|---|
BasicSecurityToken(String token,
int maxAge,
String activeUrl)
Generates a token from an input string
|
BasicSecurityToken(String owner,
String viewer,
String app,
String domain,
String appUrl,
String moduleId,
String container,
String activeUrl,
Long expiresAt) |
| Modifier and Type | Method and Description |
|---|---|
String |
getActiveUrl() |
String |
getAppId() |
String |
getAppUrl() |
String |
getAuthenticationMode() |
String |
getContainer() |
String |
getDomain() |
Long |
getExpiresAt() |
long |
getModuleId() |
String |
getOwnerId() |
String |
getTrustedJson() |
String |
getUpdatedToken() |
String |
getViewerId() |
boolean |
isAnonymous() |
isExpiredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisExpiredpublic BasicSecurityToken(String token, int maxAge, String activeUrl) throws BlobCrypterException
token - String form of tokenmaxAge - max age of the token (in seconds)BlobCrypterException - neverpublic String getAppId()
getAppId in interface SecurityTokenpublic String getDomain()
getDomain in interface SecurityTokenpublic String getContainer()
getContainer in interface SecurityTokenpublic String getOwnerId()
getOwnerId in interface SecurityTokenpublic String getViewerId()
getViewerId in interface SecurityTokenpublic String getAppUrl()
getAppUrl in interface SecurityTokenpublic long getModuleId()
getModuleId in interface SecurityTokenpublic Long getExpiresAt()
getExpiresAt in interface SecurityTokenpublic String getUpdatedToken()
getUpdatedToken in interface SecurityTokenpublic String getAuthenticationMode()
getAuthenticationMode in interface SecurityTokenAuthenticationModepublic String getTrustedJson()
getTrustedJson in interface SecurityTokenpublic boolean isAnonymous()
isAnonymous in interface SecurityTokenpublic String getActiveUrl()
getActiveUrl in interface SecurityTokengetActiveUrl in class AbstractSecurityTokenCopyright © 2007-2012. All Rights Reserved.