Liferay 6.2-ce-ga5

com.liferay.portal.security.ntlm
Class NetlogonConnection

java.lang.Object
  extended by com.liferay.portal.security.ntlm.NetlogonConnection

public class NetlogonConnection
extends Object


Constructor Summary
NetlogonConnection()
           
 
Method Summary
 NetlogonAuthenticator computeNetlogonAuthenticator()
           
protected  byte[] computeNetlogonCredential(byte[] input, byte[] sessionKey)
           
protected  byte[] computeSessionKey(byte[] sharedSecret, byte[] clientChallenge, byte[] serverChallenge)
           
 void connect(String domainController, String domainControllerName, NtlmServiceAccount ntlmServiceAccount)
           
 void disconnect()
           
 byte[] getClientCredential()
           
 jcifs.dcerpc.DcerpcHandle getDcerpcHandle()
           
 byte[] getSessionKey()
           
 void setDcerpcHandle(jcifs.dcerpc.DcerpcHandle dcerpcHandle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetlogonConnection

public NetlogonConnection()
Method Detail

computeNetlogonAuthenticator

public NetlogonAuthenticator computeNetlogonAuthenticator()

connect

public void connect(String domainController,
                    String domainControllerName,
                    NtlmServiceAccount ntlmServiceAccount)
             throws IOException,
                    NoSuchAlgorithmException,
                    NtlmLogonException
Throws:
IOException
NoSuchAlgorithmException
NtlmLogonException

disconnect

public void disconnect()
                throws IOException
Throws:
IOException

getClientCredential

public byte[] getClientCredential()

getDcerpcHandle

public jcifs.dcerpc.DcerpcHandle getDcerpcHandle()

getSessionKey

public byte[] getSessionKey()

setDcerpcHandle

public void setDcerpcHandle(jcifs.dcerpc.DcerpcHandle dcerpcHandle)

computeNetlogonCredential

protected byte[] computeNetlogonCredential(byte[] input,
                                           byte[] sessionKey)

computeSessionKey

protected byte[] computeSessionKey(byte[] sharedSecret,
                                   byte[] clientChallenge,
                                   byte[] serverChallenge)
                            throws NoSuchAlgorithmException
Throws:
NoSuchAlgorithmException

Liferay 6.2-ce-ga5