@NotThreadSafe
public class JcifsSpnegoAuthenticationHandler
extends org.apereo.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
credentialSelectionPredicate, principalFactory, servicesManager| Constructor and Description |
|---|
JcifsSpnegoAuthenticationHandler(java.lang.String name,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
jcifs.spnego.Authentication authentication,
boolean principalWithDomainName,
boolean isNTLMallowed) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apereo.cas.authentication.HandlerResult |
doAuthentication(org.apereo.cas.authentication.Credential credential) |
protected org.apereo.cas.authentication.principal.Principal |
getPrincipal(java.lang.String name,
boolean isNtlm)
Gets the principal from the given name.
|
void |
setAuthentication(jcifs.spnego.Authentication authentication) |
void |
setNTLMallowed(boolean isNTLMallowed) |
void |
setPrincipalWithDomainName(boolean principalWithDomainName) |
boolean |
supports(org.apereo.cas.authentication.Credential credential) |
authenticate, createHandlerResultgetName, getOrder, setCredentialSelectionPredicateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic JcifsSpnegoAuthenticationHandler(java.lang.String name,
org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
jcifs.spnego.Authentication authentication,
boolean principalWithDomainName,
boolean isNTLMallowed)
protected org.apereo.cas.authentication.HandlerResult doAuthentication(org.apereo.cas.authentication.Credential credential)
throws java.security.GeneralSecurityException
doAuthentication in class org.apereo.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandlerjava.security.GeneralSecurityExceptionpublic boolean supports(org.apereo.cas.authentication.Credential credential)
public void setAuthentication(jcifs.spnego.Authentication authentication)
public void setPrincipalWithDomainName(boolean principalWithDomainName)
public void setNTLMallowed(boolean isNTLMallowed)
protected org.apereo.cas.authentication.principal.Principal getPrincipal(java.lang.String name,
boolean isNtlm)
name - the nameisNtlm - the is ntlm