public class NTLMAuthenticationProvider extends Object implements net.sf.acegisecurity.providers.AuthenticationProvider
Modifier and Type | Field and Description |
---|---|
static String |
NTLMAuthorityAdministrator |
static String |
NTLMAuthorityGuest |
Constructor and Description |
---|
NTLMAuthenticationProvider()
Class constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowsGuest()
Determine if guest logons are allowed
|
net.sf.acegisecurity.Authentication |
authenticate(net.sf.acegisecurity.Authentication auth)
Authenticate a user
|
void |
setDomain(String domain)
Set the domain to authenticate against
|
void |
setGuestAccess(String guest)
Allow guest access
|
void |
setJCEProvider(String providerClass)
Set the JCE provider
|
void |
setServers(String servers)
Set the server(s) to authenticate against
|
void |
setSessionTimeout(String sessTmo)
Set the authentication session timeout, in seconds
|
void |
setUseLocalServer(String useLocal)
Use the local server as the authentication server
|
boolean |
supports(Class authentication)
Determine if this provider supports the specified authentication token
|
public static final String NTLMAuthorityGuest
public static final String NTLMAuthorityAdministrator
public net.sf.acegisecurity.Authentication authenticate(net.sf.acegisecurity.Authentication auth) throws net.sf.acegisecurity.AuthenticationException
authenticate
in interface net.sf.acegisecurity.providers.AuthenticationProvider
auth
- Authenticationnet.sf.acegisecurity.AuthenticationException
public boolean supports(Class authentication)
supports
in interface net.sf.acegisecurity.providers.AuthenticationProvider
authentication
- Classpublic final boolean allowsGuest()
public final void setDomain(String domain)
domain
- Stringpublic final void setServers(String servers)
servers
- Stringpublic final void setUseLocalServer(String useLocal)
useLocal
- Stringpublic final void setGuestAccess(String guest)
guest
- Stringpublic final void setJCEProvider(String providerClass)
providerClass
- Stringpublic final void setSessionTimeout(String sessTmo)
sessTmo
- StringCopyright © 2005–2017 Alfresco Software. All rights reserved.