Apache CXF API

org.apache.cxf.sts.token.delegation
Interface TokenDelegationHandler

All Known Implementing Classes:
HOKDelegationHandler, SAMLDelegationHandler, UsernameTokenDelegationHandler

public interface TokenDelegationHandler

This interface controls whether the STS allows an authenticated user to get a token OnBehalfOf or ActAs another token.


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.
 

Method Detail

canHandleToken

boolean canHandleToken(ReceivedToken delegateTarget)
Return true if this TokenDelegationHandler implementation is capable of handling the ReceivedToken argument.


isDelegationAllowed

TokenDelegationResponse isDelegationAllowed(TokenDelegationParameters tokenParameters)
See if delegation is allowed for a Token using the given TokenDelegationParameters.


Apache CXF API

Apache CXF