Package ddf.security.service
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 TypeMethodDescriptioncreateToken(javax.servlet.http.HttpServletRequest request) Creates a token from an incoming HttpServletRequest.
-
Method Details
-
createToken
Creates a token from an incoming HttpServletRequest. This token is then used by theSecurityManagerto create aSubjectthat 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
AuthenticationTokenand.invalid reference
org.apache.cxf.ws.security.tokenstore.SecurityToken - Throws:
SecurityServiceException- If the request does not contain enough information to create a token.
-