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