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 intflagsprivate Ntlmntlm-
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) voiddoAuth(java.lang.String host, java.lang.String authzid, java.lang.String user, java.lang.String passwd)(package private) java.lang.StringgetInitialResponse(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.IOExceptionDescription copied from class:SMTPTransport.AuthenticatorProvide 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:
getInitialResponsein classSMTPTransport.Authenticator- Throws:
MessagingExceptionjava.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:
doAuthin classSMTPTransport.Authenticator- Throws:
MessagingExceptionjava.io.IOException
-
-