public class BlobCrypterSecurityToken extends AbstractSecurityToken
AbstractSecurityToken.KeysDEFAULT_MAX_TOKEN_TTL| Constructor and Description |
|---|
BlobCrypterSecurityToken(String container,
String domain,
String activeUrl,
Map<String,String> values)
Create a new security token.
|
| Modifier and Type | Method and Description |
|---|---|
static BlobCrypterSecurityToken |
fromToken(SecurityToken token) |
String |
getAppId() |
String |
getAuthenticationMode() |
protected EnumSet<AbstractSecurityToken.Keys> |
getMapKeys()
This method will govern the effectiveness of the protected
AbstractSecurityToken.toMap() and
#loadFromMap(SecurityToken, Map) helper methods. |
String |
getUpdatedToken() |
boolean |
isAnonymous() |
enforceNotExpired, getActiveUrl, getAppUrl, getContainer, getDomain, getExpiresAt, getMaxTokenTTL, getModuleId, getOwnerId, getTimeSource, getTrustedJson, getViewerId, isExpired, loadFromMap, setActiveUrl, setAppId, setAppUrl, setContainer, setDomain, setExpires, setExpires, setExpiresAt, setModuleId, setOwnerId, setTimeSource, setTrustedJson, setViewerId, toMappublic BlobCrypterSecurityToken(String container, String domain, String activeUrl, Map<String,String> values)
container - container that is issuing the tokendomain - domain to use for signed fetch with default signed fetch key.activeUrl - values - Other values to init into the token.public String getUpdatedToken()
public String getAuthenticationMode()
AuthenticationModepublic boolean isAnonymous()
public String getAppId()
getAppId in interface SecurityTokengetAppId in class AbstractSecurityTokenprotected EnumSet<AbstractSecurityToken.Keys> getMapKeys()
AbstractSecurityTokenAbstractSecurityToken.toMap() and
#loadFromMap(SecurityToken, Map) helper methods.
AbstractSecurityToken.toMap() if they might contain
useful information.getMapKeys in class AbstractSecurityTokenAbstractSecurityToken.public static BlobCrypterSecurityToken fromToken(SecurityToken token)
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.