com.sun.mail.auth
Class Ntlm

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

public class Ntlm
extends Object

NTLM authentication using reflection with the jcifs classes.

Author:
Lu��s Serralheiro

Constructor Summary
Ntlm(PrintStream debugout)
           
 
Method Summary
 String generateType1Msg(boolean useUnicode, int flags, String domain, String workstation)
           
 String generateType3Msg(String username, String password, String domain, String workstation, String challenge, int flags, int lmCompatibility)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ntlm

public Ntlm(PrintStream debugout)
Method Detail

generateType1Msg

public String generateType1Msg(boolean useUnicode,
                               int flags,
                               String domain,
                               String workstation)
                        throws IOException
Throws:
IOException

generateType3Msg

public String generateType3Msg(String username,
                               String password,
                               String domain,
                               String workstation,
                               String challenge,
                               int flags,
                               int lmCompatibility)
                        throws IOException
Throws:
IOException


Copyright © 2011 Sun Microsystems, Inc.. All Rights Reserved.