Class EsupOtpAuthenticationHandler

java.lang.Object
org.apereo.cas.authentication.AbstractAuthenticationHandler
org.apereo.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
org.esupportail.cas.adaptors.esupotp.EsupOtpAuthenticationHandler
All Implemented Interfaces:
org.apereo.cas.authentication.AuthenticationHandler, org.apereo.cas.authentication.PrePostAuthenticationHandler, org.apereo.cas.util.NamedObject, org.springframework.core.Ordered

public class EsupOtpAuthenticationHandler extends org.apereo.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
An authentication handler that uses the token provided to authenticator
Since:
5.0.0
  • Field Summary

    Fields inherited from class org.apereo.cas.authentication.AbstractAuthenticationHandler

    principalFactory

    Fields inherited from interface org.apereo.cas.authentication.AuthenticationHandler

    SUCCESSFUL_AUTHENTICATION_HANDLERS

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    EsupOtpAuthenticationHandler(String name, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, EsupOtpConfigurationProperties esupOtpConfigurationProperties, EsupOtpService esupOtpService)
    Instantiates a new Esup otp authentication handler.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apereo.cas.authentication.AuthenticationHandlerExecutionResult
    doAuthentication(org.apereo.cas.authentication.Credential credential, org.apereo.cas.authentication.principal.Service service)
     
    boolean
    supports(org.apereo.cas.authentication.Credential credential)
     

    Methods inherited from class org.apereo.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler

    authenticate, createHandlerResult, createHandlerResult

    Methods inherited from class org.apereo.cas.authentication.AbstractAuthenticationHandler

    canEqual, equals, getCredentialSelectionPredicate, getName, getOrder, getPrincipalFactory, getServicesManager, getState, hashCode, setCredentialSelectionPredicate, setState

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apereo.cas.authentication.AuthenticationHandler

    getOrder, getState, supports

    Methods inherited from interface org.apereo.cas.util.NamedObject

    getName

    Methods inherited from interface org.apereo.cas.authentication.PrePostAuthenticationHandler

    postAuthenticate, preAuthenticate
  • Constructor Details

    • EsupOtpAuthenticationHandler

      public EsupOtpAuthenticationHandler(String name, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, EsupOtpConfigurationProperties esupOtpConfigurationProperties, EsupOtpService esupOtpService)
      Instantiates a new Esup otp authentication handler.
  • Method Details

    • doAuthentication

      protected org.apereo.cas.authentication.AuthenticationHandlerExecutionResult doAuthentication(org.apereo.cas.authentication.Credential credential, org.apereo.cas.authentication.principal.Service service) throws GeneralSecurityException, org.apereo.cas.authentication.PreventedException
      Specified by:
      doAuthentication in class org.apereo.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
      Throws:
      GeneralSecurityException
      org.apereo.cas.authentication.PreventedException
    • supports

      public boolean supports(org.apereo.cas.authentication.Credential credential)