public class SsoTokenContext extends AbstractContext
SsoTokenContext
could be used to store and retrieve an token.
The SingleSignOnFilter
uses this context to store the token and
its validation information.
data
Constructor and Description |
---|
SsoTokenContext(Context parent,
JsonValue info,
String token)
Creates a new
SsoTokenContext context with the provided token
and additional validation information such as 'realm', 'uid' and 'authModule'. |
Modifier and Type | Method and Description |
---|---|
JsonValue |
asJsonValue()
Returns the info associated with this context as a
JsonValue . |
Map<String,Object> |
getInfo()
Returns the info associated with this context.
|
String |
getValue()
Returns the token associated with this SsoTokenContext context.
|
asContext, containsContext, containsContext, getContext, getContextName, getId, getParent, isRootContext, toJsonValue, toString
public SsoTokenContext(Context parent, JsonValue info, String token)
SsoTokenContext
context with the provided token
and additional validation information such as 'realm', 'uid' and 'authModule'.parent
- The parent context.info
- The validation information associated with this context to store, not null
.token
- The token associated with this context to store, not null
.public Map<String,Object> getInfo()
public JsonValue asJsonValue()
JsonValue
.JsonValue
.public String getValue()
Copyright 2011-2017 ForgeRock AS.