- java.lang.Object
-
- com.sun.mail.auth.Ntlm
-
public class Ntlm extends java.lang.Object
NTLMAuthentication:- Author:
- Michael McMahon, Bill Shannon (adapted for Jakarta Mail)
-
-
Constructor Summary
Constructors Constructor Description Ntlm(java.lang.String ntdomain, java.lang.String hostname, java.lang.String username, java.lang.String password, MailLogger logger)
Create an NTLM authenticator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
generateType1Msg(int flags)
java.lang.String
generateType1Msg(int flags, boolean v2)
java.lang.String
generateType3Msg(java.lang.String type2msg)
-
-
-
Constructor Detail
-
Ntlm
public Ntlm(java.lang.String ntdomain, java.lang.String hostname, java.lang.String username, java.lang.String password, MailLogger logger)
Create an NTLM authenticator. Username may be specified as domain\\username in the Authenticator. If this notation is not used, then the domain will be taken from the ntdomain parameter.- Parameters:
ntdomain
- the NT domainhostname
- the host nameusername
- the user namepassword
- the passwordlogger
- the MailLogger
-
-