public interface SecurityTokenCodec
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTIVE_URL_NAME
Active URL for the request.
|
static String |
SECURITY_TOKEN_NAME
The security token value must be passed on a map value referenced by this key.
|
| Modifier and Type | Method and Description |
|---|---|
SecurityToken |
createToken(Map<String,String> tokenParameters)
Decrypts and verifies a gadget security token to return a gadget token.
|
String |
encodeToken(SecurityToken token) |
static final String SECURITY_TOKEN_NAME
static final String ACTIVE_URL_NAME
SecurityToken createToken(Map<String,String> tokenParameters) throws SecurityTokenException
tokenParameters - Map containing a entry 'token' in wire format (probably encrypted.)SecurityTokenException - If tokenString is not a valid tokenString encodeToken(SecurityToken token) throws SecurityTokenException
SecurityTokenExceptionCopyright © 2007-2012. All Rights Reserved.