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

public class ProxyAuthenticationHandler extends AbstractAuthenticationHandler
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
  • Constructor Details

    • ProxyAuthenticationHandler

      public ProxyAuthenticationHandler(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 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

      public boolean supports(Class<? extends org.apereo.cas.authentication.Credential> clazz)