com.sun.mail.auth
Class Ntlm

java.lang.Object
  extended by com.sun.mail.auth.Ntlm

public class Ntlm
extends Object

NTLMAuthentication:

Author:
Michael McMahon, Bill Shannon (adapted for JavaMail)

Constructor Summary
Ntlm(String ntdomain, String hostname, String username, String password, PrintStream debugout)
          Create an NTLM authenticator.
 
Method Summary
 String generateType1Msg(int flags)
           
 String generateType3Msg(String challenge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ntlm

public Ntlm(String ntdomain,
            String hostname,
            String username,
            String password,
            PrintStream debugout)
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.

Method Detail

generateType1Msg

public String generateType1Msg(int flags)

generateType3Msg

public String generateType3Msg(String challenge)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.