public class CasAuthenticator extends ProfileDefinitionAware<CommonProfile> implements Authenticator<TokenCredentials>
| Modifier and Type | Field and Description |
|---|---|
protected String |
callbackUrl |
protected CallbackUrlResolver |
callbackUrlResolver |
protected String |
clientName |
protected CasConfiguration |
configuration |
protected UrlResolver |
urlResolver |
| Constructor and Description |
|---|
CasAuthenticator(CasConfiguration configuration,
String clientName,
UrlResolver urlResolver,
CallbackUrlResolver callbackUrlResolver,
String callbackUrl) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
internalInit()
Internal initialization of the object.
|
void |
validate(TokenCredentials credentials,
WebContext context)
Validate the credentials.
|
defaultProfileDefinition, getProfileDefinition, setProfileDefinitioninitprotected CasConfiguration configuration
protected String clientName
protected UrlResolver urlResolver
protected CallbackUrlResolver callbackUrlResolver
protected String callbackUrl
public CasAuthenticator(CasConfiguration configuration, String clientName, UrlResolver urlResolver, CallbackUrlResolver callbackUrlResolver, String callbackUrl)
protected void internalInit()
InitializableObjectinternalInit in class InitializableObjectpublic void validate(TokenCredentials credentials, WebContext context)
AuthenticatorCredentialsException in case of failure.validate in interface Authenticator<TokenCredentials>credentials - the given credentialscontext - the web contextCopyright © 2018. All rights reserved.