Interface TokenRequestHandler


public interface TokenRequestHandler
Interface used to decouple the implementations of various SSOs from the endpoints which need to create tokens.
  • Method Summary

    Modifier and Type
    Method
    Description
    createToken(javax.servlet.http.HttpServletRequest request)
    Creates a token from an incoming HttpServletRequest.
  • Method Details

    • createToken

      Object createToken(javax.servlet.http.HttpServletRequest request) throws SecurityServiceException
      Creates a token from an incoming HttpServletRequest. This token is then used by the SecurityManager to create a Subject that will be used by the security framework.
      Parameters:
      request - HttpServletRequest that contains information from which a token can be created.
      Returns:
      The token object is specific to instances of the SecurityManager, but common ones are AuthenticationToken and
      invalid reference
      org.apache.cxf.ws.security.tokenstore.SecurityToken
      .
      Throws:
      SecurityServiceException - If the request does not contain enough information to create a token.