Class UsernameTokenDelegationHandler
java.lang.Object
org.apache.cxf.sts.token.delegation.UsernameTokenDelegationHandler
- All Implemented Interfaces:
TokenDelegationHandler
This TokenDelegationHandler implementation allows UsernameTokens for OnBehalfOf/ActAs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanHandleToken(ReceivedToken delegateTarget) Return true if this TokenDelegationHandler implementation is capable of handling the ReceivedToken argument.isDelegationAllowed(TokenDelegationParameters tokenParameters) See if delegation is allowed for a Token using the given TokenDelegationParameters.
-
Constructor Details
-
UsernameTokenDelegationHandler
public UsernameTokenDelegationHandler()
-
-
Method Details
-
canHandleToken
Description copied from interface:TokenDelegationHandlerReturn true if this TokenDelegationHandler implementation is capable of handling the ReceivedToken argument.- Specified by:
canHandleTokenin interfaceTokenDelegationHandler
-
isDelegationAllowed
Description copied from interface:TokenDelegationHandlerSee if delegation is allowed for a Token using the given TokenDelegationParameters.- Specified by:
isDelegationAllowedin interfaceTokenDelegationHandler
-