public interface TokenOperationFactory
Modifier and Type | Method and Description |
---|---|
org.apache.cxf.sts.token.validator.TokenValidator |
getSimpleTokenValidator(TokenType validatedTokenType)
Returns a TokenValidator which will validate tokens issued by the STS.
|
org.apache.cxf.sts.token.canceller.TokenCanceller |
getTokenCanceller(TokenType cancelledTokenType)
Returns a TokenCanceller instance which will cancel an STS-issued token.
|
org.apache.cxf.sts.token.provider.TokenProvider |
getTokenProvider(TokenType issuedTokenType)
Called to obtain the set of of TokenProvider instances to satisfy the issue operation.
|
org.apache.cxf.sts.token.validator.TokenValidator |
getTokenValidator(TokenType validatedTokenType,
ValidationInvocationContext validationInvocationContext,
boolean invalidateAMSession)
Called to obtain the set of TokenValidator instances to perform pure token validation in the context of
enforcing SecurityPolicy bindings and validating delegated tokens (ActAs/OnBehalfOf case).
|
org.apache.cxf.sts.token.validator.TokenValidator getTokenValidator(TokenType validatedTokenType, ValidationInvocationContext validationInvocationContext, boolean invalidateAMSession) throws STSInitializationException
validatedTokenType
- the type of token to be validatedvalidationInvocationContext
- the context of this validation (SecurityPolicy binding enforcement, delegated token
context).invalidateAMSession
- whether the OpenAM session resulting from successful token validation should be invalidated
at the completion of the operationSTSInitializationException
- if the TokenValidator cannot be createdorg.apache.cxf.sts.token.provider.TokenProvider getTokenProvider(TokenType issuedTokenType) throws STSInitializationException
issuedTokenType
- The type of token to be issuedSTSInitializationException
- if the TokenProvider cannot be created.org.apache.cxf.sts.token.validator.TokenValidator getSimpleTokenValidator(TokenType validatedTokenType) throws STSInitializationException
validatedTokenType
- the type of token to be validated.STSInitializationException
- if the TokenValidator cannot be created.org.apache.cxf.sts.token.canceller.TokenCanceller getTokenCanceller(TokenType cancelledTokenType) throws STSInitializationException
cancelledTokenType
- the type of to-be-cancelled tokenSTSInitializationException
- if the TokenCanceller cannot be createdCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.