Class FortressAuthenticationHandler

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

    @Deprecated(since="6.6")
    public class FortressAuthenticationHandler
    extends org.apereo.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
    Deprecated.
    Since 6.6
    Fortress authentication handler, this class will delegate the authentication to call fortress rest authentication.
    Since:
    5.2.0.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String FORTRESS_SESSION_KEY
      Deprecated.
      Fortress key to look up session as an attribute.
      • Fields inherited from class org.apereo.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler

        passwordPolicyHandlingStrategy
      • 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
      FortressAuthenticationHandler​(org.apache.directory.fortress.core.AccessMgr accessManager, java.lang.String name, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, java.lang.Integer order)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected org.apereo.cas.authentication.AuthenticationHandlerExecutionResult authenticateUsernamePasswordInternal​(org.apereo.cas.authentication.credential.UsernamePasswordCredential c, java.lang.String originalPassword)
      Deprecated.
       
      • Methods inherited from class org.apereo.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler

        doAuthentication, getPasswordEncoder, getPasswordPolicyConfiguration, getPasswordPolicyHandlingStrategy, getPrincipalNameTransformer, matches, setPasswordEncoder, setPasswordPolicyConfiguration, setPasswordPolicyHandlingStrategy, setPrincipalNameTransformer, supports, supports, transformPassword, transformUsername
      • 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

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

        postAuthenticate, preAuthenticate
    • Field Detail

      • FORTRESS_SESSION_KEY

        public static final java.lang.String FORTRESS_SESSION_KEY
        Deprecated.
        Fortress key to look up session as an attribute.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FortressAuthenticationHandler

        public FortressAuthenticationHandler​(org.apache.directory.fortress.core.AccessMgr accessManager,
                                             java.lang.String name,
                                             org.apereo.cas.services.ServicesManager servicesManager,
                                             org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
                                             java.lang.Integer order)
        Deprecated.
    • Method Detail

      • authenticateUsernamePasswordInternal

        protected org.apereo.cas.authentication.AuthenticationHandlerExecutionResult authenticateUsernamePasswordInternal​(org.apereo.cas.authentication.credential.UsernamePasswordCredential c,
                                                                                                                          java.lang.String originalPassword)
                                                                                                                   throws java.security.GeneralSecurityException,
                                                                                                                          org.apereo.cas.authentication.PreventedException
        Deprecated.
        Specified by:
        authenticateUsernamePasswordInternal in class org.apereo.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
        Throws:
        java.security.GeneralSecurityException
        org.apereo.cas.authentication.PreventedException