public class CASTokenRequestHandler extends Object implements TokenRequestHandler
TokenRequestHandler that is specific to CAS.
Allows clients to send in a HttpServletRequest and retrieve a token
that can be used to create a subject.| Constructor and Description |
|---|
CASTokenRequestHandler() |
| Modifier and Type | Method and Description |
|---|---|
Object |
createToken(javax.servlet.http.HttpServletRequest request)
Creates a token from an incoming HttpServletRequest.
|
void |
setStsClientConfiguration(STSClientConfiguration stsClientConfig) |
public Object createToken(javax.servlet.http.HttpServletRequest request) throws SecurityServiceException
TokenRequestHandlerSecurityManager to create a Subject that will be used by the security
framework.createToken in interface TokenRequestHandlerrequest - HttpServletRequest that contains information from which a token can be created.AuthenticationToken and SecurityToken.SecurityServiceException - If the request does not contain enough information to create a
token.public void setStsClientConfiguration(STSClientConfiguration stsClientConfig)
This work is licensed under a Creative Commons Attribution 4.0 International License.