public class SsoTokenContext
extends org.forgerock.services.context.AbstractContext
SsoTokenContext
could be used to store and retrieve an token.
The SingleSignOnFilter
uses this context to store the token and
its validation information.
Constructor and Description |
---|
SsoTokenContext(org.forgerock.services.context.Context parent,
org.forgerock.json.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 |
---|---|
org.forgerock.json.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.
|
public SsoTokenContext(org.forgerock.services.context.Context parent, org.forgerock.json.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 org.forgerock.json.JsonValue asJsonValue()
JsonValue
.JsonValue
.public String getValue()
Copyright © 2025 Open Identity Platform Community. All rights reserved.