public class NtlmUsernamePasswordAuthenticationToken extends UsernamePasswordAuthenticationToken
UsernamePasswordAuthenticationToken that allows any provider to bypass the problem of an
empty password since NTLM does not retrieve the user's password from the PDC.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_PASSWORD
Spring Security often checks password ; but we do not have one.
|
| Constructor and Description |
|---|
NtlmUsernamePasswordAuthenticationToken(jcifs.smb.NtlmPasswordAuthentication ntlmAuth,
boolean stripDomain)
Create an NTLM
UsernamePasswordAuthenticationToken using the
JCIFS NtlmPasswordAuthentication object. |
getCredentials, getPrincipal, setAuthenticatedequals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toStringpublic static final java.lang.String DEFAULT_PASSWORD
public NtlmUsernamePasswordAuthenticationToken(jcifs.smb.NtlmPasswordAuthentication ntlmAuth,
boolean stripDomain)
UsernamePasswordAuthenticationToken using the
JCIFS NtlmPasswordAuthentication object.ntlmAuth - The NtlmPasswordAuthentication object.stripDomain - Uses just the username if true,
otherwise use the username and domain name.