com.sun.mail.auth
Class Ntlm
java.lang.Object
com.sun.mail.auth.Ntlm
public class Ntlm
- extends Object
NTLM authentication using reflection with the jcifs classes.
- Author:
- Lu��s Serralheiro
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ntlm
public Ntlm(PrintStream debugout)
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.