Apache CXF API

org.apache.cxf.sts.token.delegation
Class UsernameTokenDelegationHandler

java.lang.Object
  extended by 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
UsernameTokenDelegationHandler()
           
 
Method Summary
 boolean canHandleToken(ReceivedToken delegateTarget)
          Return true if this TokenDelegationHandler implementation is capable of handling the ReceivedToken argument.
 TokenDelegationResponse isDelegationAllowed(TokenDelegationParameters tokenParameters)
          See if delegation is allowed for a Token using the given TokenDelegationParameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsernameTokenDelegationHandler

public UsernameTokenDelegationHandler()
Method Detail

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 API

Apache CXF