Class NtlmAuthenticationHandler

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

    public class NtlmAuthenticationHandler
    extends org.apereo.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
    Implementation of an AuthenticationHandler for NTLM supports.
    Since:
    3.1
    • 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
      NtlmAuthenticationHandler​(java.lang.String name, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, boolean loadBalance, java.lang.String domainController, java.lang.String includePattern)  
    • 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.AbstractAuthenticationHandler

        getCredentialSelectionPredicate, getName, getOrder, getPrincipalFactory, getServicesManager, setCredentialSelectionPredicate
      • Methods inherited from class org.apereo.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler

        authenticate, createHandlerResult, createHandlerResult
      • Methods inherited from interface org.apereo.cas.authentication.AuthenticationHandler

        getName, getOrder
      • 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.PrePostAuthenticationHandler

        postAuthenticate, preAuthenticate
    • Constructor Detail

      • NtlmAuthenticationHandler

        public NtlmAuthenticationHandler​(java.lang.String name,
                                         org.apereo.cas.services.ServicesManager servicesManager,
                                         org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
                                         boolean loadBalance,
                                         java.lang.String domainController,
                                         java.lang.String includePattern)
    • Method Detail

      • doAuthentication

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

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

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