com.liferay.portal.security.ntlm
Class Netlogon
java.lang.Object
com.liferay.portal.security.ntlm.Netlogon
public class Netlogon
- extends java.lang.Object
View Source
- Author:
- Marcellus Tavares
Method Summary |
protected NetlogonAuthenticator |
computeNetlogonAuthenticator()
|
protected byte[] |
computeNetlogonCredential(byte[] input,
byte[] sessionKey)
|
protected byte[] |
computeSessionKey(byte[] sharedSecret,
byte[] clientChallenge,
byte[] serverChallenge)
|
protected void |
connect()
|
protected void |
disconnect()
|
NtlmUserAccount |
logon(java.lang.String domain,
java.lang.String userName,
java.lang.String workstation,
byte[] serverChallenge,
byte[] ntResponse,
byte[] lmResponse)
|
void |
setConfiguration(java.lang.String domainController,
java.lang.String domainControllerName,
NtlmServiceAccount ntlmServiceAccount)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Netlogon
public Netlogon()
logon
public NtlmUserAccount logon(java.lang.String domain,
java.lang.String userName,
java.lang.String workstation,
byte[] serverChallenge,
byte[] ntResponse,
byte[] lmResponse)
setConfiguration
public void setConfiguration(java.lang.String domainController,
java.lang.String domainControllerName,
NtlmServiceAccount ntlmServiceAccount)
computeNetlogonAuthenticator
protected NetlogonAuthenticator computeNetlogonAuthenticator()
computeNetlogonCredential
protected byte[] computeNetlogonCredential(byte[] input,
byte[] sessionKey)
computeSessionKey
protected byte[] computeSessionKey(byte[] sharedSecret,
byte[] clientChallenge,
byte[] serverChallenge)
connect
protected void connect()
throws java.io.IOException
- Throws:
java.io.IOException
disconnect
protected void disconnect()
throws java.io.IOException
- Throws:
java.io.IOException