Class 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 Detail

      • TokenValidationConfig

        public TokenValidationConfig​(TokenType validatedTokenType,
                                     boolean invalidateInterimOpenAMSession)
    • Method Detail

      • invalidateInterimOpenAMSession

        public boolean invalidateInterimOpenAMSession()
      • getValidatedTokenType

        public TokenType getValidatedTokenType()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toJson

        public org.forgerock.json.JsonValue toJson()
      • toSMSString

        public String toSMSString()