public abstract class NtlmAuthenticator
extends java.lang.Object
Constructor and Description |
---|
NtlmAuthenticator() |
Modifier and Type | Method and Description |
---|---|
protected NtlmPasswordAuthentication |
getNtlmPasswordAuthentication()
An application extending this class must provide an implementation for this method that returns new user credentials try try when accessing SMB resources described by the getRequestingURL and getRequestingException methods.
|
protected SmbAuthException |
getRequestingException() |
protected java.lang.String |
getRequestingURL() |
static NtlmPasswordAuthentication |
requestNtlmPasswordAuthentication(java.lang.String url,
SmbAuthException sae)
Used internally by jCIFS when an SmbAuthException is trapped to retrieve new user credentials.
|
static void |
setDefault(NtlmAuthenticator a)
Set the default NtlmAuthenticator.
|
public static void setDefault(NtlmAuthenticator a)
protected final java.lang.String getRequestingURL()
protected final SmbAuthException getRequestingException()
public static NtlmPasswordAuthentication requestNtlmPasswordAuthentication(java.lang.String url, SmbAuthException sae)
protected NtlmPasswordAuthentication getNtlmPasswordAuthentication()