Class TokenValidationConfig
- java.lang.Object
-
- org.forgerock.openam.sts.soap.config.user.TokenValidationConfig
-
public class TokenValidationConfig extends Object
This class is used to configure the TokenValidation for soap-sts instances. Token validation is invoked in multiple contexts in the soap-sts: 1. As part of validating the SupportingTokens specified in SecurityPolicy bindings 2. As part of validating the delegated tokens specified in the ActAs/OnBehalfOf elements in a RequestSecurityToken 3. As part of the validate operation Each soap-sts instance must deploy TokenValidators to handle each of these contexts, and each must be configured with state which indicates whether the OpenAM session, generated as part of token validation, should be invalidated after an output token is generated. This class provides the configuration state which allows these determinations to be made. See: https://wikis.forgerock.org/confluence/display/AMPLAN/SOAP+STS%3A+Token+Validation+Context for more details.
-
-
Constructor Summary
Constructors Constructor Description TokenValidationConfig(TokenType validatedTokenType, boolean invalidateInterimOpenAMSession)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
static TokenValidationConfig
fromJson(org.forgerock.json.JsonValue json)
static TokenValidationConfig
fromSMSString(String stringRepresentation)
TokenType
getValidatedTokenType()
int
hashCode()
boolean
invalidateInterimOpenAMSession()
org.forgerock.json.JsonValue
toJson()
String
toSMSString()
String
toString()
-
-
-
Constructor Detail
-
TokenValidationConfig
public TokenValidationConfig(TokenType validatedTokenType, boolean invalidateInterimOpenAMSession)
-
-
Method Detail
-
invalidateInterimOpenAMSession
public boolean invalidateInterimOpenAMSession()
-
getValidatedTokenType
public TokenType getValidatedTokenType()
-
toJson
public org.forgerock.json.JsonValue toJson()
-
fromJson
public static TokenValidationConfig fromJson(org.forgerock.json.JsonValue json)
-
toSMSString
public String toSMSString()
-
fromSMSString
public static TokenValidationConfig fromSMSString(String stringRepresentation)
-
-