Class ProxyAuthenticationHandler
java.lang.Object
org.apereo.cas.authentication.AbstractAuthenticationHandler
org.apereo.cas.authentication.handler.support.ProxyAuthenticationHandler
- All Implemented Interfaces:
org.apereo.cas.authentication.AuthenticationHandler,org.apereo.cas.util.NamedObject,org.springframework.core.Ordered
Class to validate the credential presented by communicating with the web
server and checking the certificate that is returned against the hostname,
etc.
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.
- Since:
- 3.0.0
-
Field Summary
Fields inherited from interface org.apereo.cas.authentication.AuthenticationHandler
SUCCESSFUL_AUTHENTICATION_HANDLERSFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionProxyAuthenticationHandler(String name, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, Integer order, org.apereo.cas.util.http.HttpClient httpClient) -
Method Summary
Modifier and TypeMethodDescriptionorg.apereo.cas.authentication.AuthenticationHandlerExecutionResultauthenticate(org.apereo.cas.authentication.Credential credential, org.apereo.cas.authentication.principal.Service service) booleanbooleansupports(org.apereo.cas.authentication.Credential credential) Methods inherited from class org.apereo.cas.authentication.AbstractAuthenticationHandler
equals, getCredentialSelectionPredicate, getName, getOrder, getPrincipalFactory, getServicesManager, getState, hashCode, setCredentialSelectionPredicate, setState
-
Constructor Details
-
ProxyAuthenticationHandler
-
-
Method Details
-
authenticate
public org.apereo.cas.authentication.AuthenticationHandlerExecutionResult authenticate(org.apereo.cas.authentication.Credential credential, org.apereo.cas.authentication.principal.Service service) throws Throwable - Throws:
Throwable
-
supports
public boolean supports(org.apereo.cas.authentication.Credential credential) -
supports
-