Class U2FAuthenticationHandler

  • All Implemented Interfaces:
    org.apereo.cas.authentication.AuthenticationHandler, org.apereo.cas.authentication.PrePostAuthenticationHandler, org.springframework.core.Ordered

    public class U2FAuthenticationHandler
    extends org.apereo.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
    Since:
    5.1.0
    • Field Summary

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

        credentialSelectionPredicate, principalFactory, servicesManager
      • 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
      U2FAuthenticationHandler​(java.lang.String name, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, org.apereo.cas.adaptors.u2f.storage.U2FDeviceRepository u2FDeviceRepository, java.lang.Integer order)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apereo.cas.authentication.AuthenticationHandlerExecutionResult doAuthentication​(org.apereo.cas.authentication.Credential credential)  
      boolean supports​(java.lang.Class<? extends org.apereo.cas.authentication.Credential> clazz)  
      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

        getCredentialSelectionPredicate, getName, getOrder, getPrincipalFactory, getServicesManager, setCredentialSelectionPredicate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apereo.cas.authentication.AuthenticationHandler

        getName, getOrder
      • Methods inherited from interface org.apereo.cas.authentication.PrePostAuthenticationHandler

        postAuthenticate, preAuthenticate
    • Constructor Detail

      • U2FAuthenticationHandler

        public U2FAuthenticationHandler​(java.lang.String name,
                                        org.apereo.cas.services.ServicesManager servicesManager,
                                        org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
                                        org.apereo.cas.adaptors.u2f.storage.U2FDeviceRepository u2FDeviceRepository,
                                        java.lang.Integer order)
    • Method Detail

      • doAuthentication

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

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

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