public class HttpBasedServiceCredentialsAuthenticationHandler extends AbstractAuthenticationHandler
This class is concerned with ensuring that the protocol is HTTPS and that a response is returned. The SSL handshake that occurs automatically by opening a connection does the heavy process of authenticating.
principalFactory, servicesManager| Constructor and Description |
|---|
HttpBasedServiceCredentialsAuthenticationHandler(java.lang.String name,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
java.lang.Integer order,
org.apereo.cas.util.http.HttpClient httpClient)
Instantiates a new Abstract authentication handler.
|
| Modifier and Type | Method and Description |
|---|---|
org.apereo.cas.authentication.HandlerResult |
authenticate(org.apereo.cas.authentication.Credential credential) |
boolean |
supports(org.apereo.cas.authentication.Credential credential) |
getName, getOrderpublic HttpBasedServiceCredentialsAuthenticationHandler(java.lang.String name,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
java.lang.Integer order,
org.apereo.cas.util.http.HttpClient httpClient)
name - Handler name.servicesManager - the services manager.principalFactory - the principal factoryorder - the orderhttpClient - the http clientpublic org.apereo.cas.authentication.HandlerResult authenticate(org.apereo.cas.authentication.Credential credential)
throws java.security.GeneralSecurityException
java.security.GeneralSecurityExceptionpublic boolean supports(org.apereo.cas.authentication.Credential credential)