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 Details

    • 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.