org.apache.cxf.sts.token.delegation
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsernameTokenDelegationHandler
public UsernameTokenDelegationHandler()
canHandleToken
public boolean canHandleToken(ReceivedToken delegateTarget)
- Description copied from interface:
TokenDelegationHandler
- Return true if this TokenDelegationHandler implementation is capable of handling the
ReceivedToken argument.
- Specified by:
canHandleToken
in interface TokenDelegationHandler
isDelegationAllowed
public TokenDelegationResponse isDelegationAllowed(TokenDelegationParameters tokenParameters)
- Description copied from interface:
TokenDelegationHandler
- See if delegation is allowed for a Token using the given TokenDelegationParameters.
- Specified by:
isDelegationAllowed
in interface TokenDelegationHandler
Apache CXF