public class NTLMLocalToken
extends net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken
Used to provide authentication with a remote Windows server when the username and password are provided locally.
Modifier | Constructor and Description |
---|---|
protected |
NTLMLocalToken()
Class constructor
|
protected |
NTLMLocalToken(InetAddress ipAddr)
Class constructor
|
|
NTLMLocalToken(String username,
String plainPwd)
Class constructor
|
|
NTLMLocalToken(String username,
String plainPwd,
String domain,
String ipAddr)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getClientAddress()
Return the client IP address
|
String |
getClientDomain()
Return the client domain
|
boolean |
hasAuthority(String authority)
Search for the specified authority
|
boolean |
hasClientAddress()
Check if the client IP address is set
|
boolean |
hasClientDomain()
Check if the client domain name is set
|
boolean |
isAdministrator()
Check if the user is an administrator
|
boolean |
isGuestLogon()
Check if the user logged on as a guest
|
getAuthorities, getCredentials, getDetails, getPrincipal, isAuthenticated, setAuthenticated, setAuthorities, setDetails
equals, getName, toString
protected NTLMLocalToken()
protected NTLMLocalToken(InetAddress ipAddr)
ipAddr
- InetAddresspublic NTLMLocalToken(String username, String plainPwd)
username
- StringplainPwd
- Stringpublic final boolean isGuestLogon()
public final boolean isAdministrator()
public final boolean hasAuthority(String authority)
authority
- Stringpublic final boolean hasClientDomain()
public final String getClientDomain()
public final boolean hasClientAddress()
public final String getClientAddress()
Copyright © 2005–2017 Alfresco Software. All rights reserved.