Package com.sun.mail.smtp
Class SMTPTransport.NtlmAuthenticator
- java.lang.Object
-
- com.sun.mail.smtp.SMTPTransport.Authenticator
-
- com.sun.mail.smtp.SMTPTransport.NtlmAuthenticator
-
- Enclosing class:
- SMTPTransport
private class SMTPTransport.NtlmAuthenticator extends SMTPTransport.Authenticator
Perform the authentication handshake for NTLM authentication.
-
-
Field Summary
Fields Modifier and Type Field Description private int
flags
private Ntlm
ntlm
-
Fields inherited from class com.sun.mail.smtp.SMTPTransport.Authenticator
resp
-
-
Constructor Summary
Constructors Constructor Description NtlmAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
doAuth(java.lang.String host, java.lang.String authzid, java.lang.String user, java.lang.String passwd)
(package private) java.lang.String
getInitialResponse(java.lang.String host, java.lang.String authzid, java.lang.String user, java.lang.String passwd)
Provide the initial response to use in the AUTH command, or null if not supported.-
Methods inherited from class com.sun.mail.smtp.SMTPTransport.Authenticator
authenticate, enabled, getMechanism
-
-
-
-
Field Detail
-
ntlm
private Ntlm ntlm
-
flags
private int flags
-
-
Method Detail
-
getInitialResponse
java.lang.String getInitialResponse(java.lang.String host, java.lang.String authzid, java.lang.String user, java.lang.String passwd) throws MessagingException, java.io.IOException
Description copied from class:SMTPTransport.Authenticator
Provide the initial response to use in the AUTH command, or null if not supported. Subclasses that support the initial response capability will override this method.- Overrides:
getInitialResponse
in classSMTPTransport.Authenticator
- Throws:
MessagingException
java.io.IOException
-
doAuth
void doAuth(java.lang.String host, java.lang.String authzid, java.lang.String user, java.lang.String passwd) throws MessagingException, java.io.IOException
- Specified by:
doAuth
in classSMTPTransport.Authenticator
- Throws:
MessagingException
java.io.IOException
-
-