|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jcifs.smb.NtlmAuthenticator
This class can be extended by applications that wish to trap authentication related exceptions and automatically retry the exceptional operation with different credentials. Read jCIFS Exceptions and NtlmAuthenticator for complete details.
Constructor Summary | |
NtlmAuthenticator()
|
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NtlmAuthenticator()
Method Detail |
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()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |