Liferay 6.1.2-ce-ga3

com.liferay.portal.security.ntlm
Class NtlmManager

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

public class NtlmManager
extends Object


Constructor Summary
NtlmManager(String domain, String domainController, String domainControllerName, String serviceAccount, String servicePassword)
           
 
Method Summary
 NtlmUserAccount authenticate(byte[] material, byte[] serverChallenge)
           
protected  byte[] getAVPairBytes(int avId, String value)
           
 String getDomain()
           
 String getDomainController()
           
 String getDomainControllerName()
           
 String getServiceAccount()
           
 String getServicePassword()
           
protected  byte[] getTargetInformation()
           
 byte[] negotiate(byte[] material, byte[] serverChallenge)
           
 void setConfiguration(String domain, String domainController, String domainControllerName, String serviceAccount, String servicePassword)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NtlmManager

public NtlmManager(String domain,
                   String domainController,
                   String domainControllerName,
                   String serviceAccount,
                   String servicePassword)
Method Detail

authenticate

public NtlmUserAccount authenticate(byte[] material,
                                    byte[] serverChallenge)
                             throws IOException,
                                    NoSuchAlgorithmException,
                                    NtlmLogonException
Throws:
IOException
NoSuchAlgorithmException
NtlmLogonException

getDomain

public String getDomain()

getDomainController

public String getDomainController()

getDomainControllerName

public String getDomainControllerName()

getServiceAccount

public String getServiceAccount()

getServicePassword

public String getServicePassword()

negotiate

public byte[] negotiate(byte[] material,
                        byte[] serverChallenge)
                 throws IOException
Throws:
IOException

setConfiguration

public void setConfiguration(String domain,
                             String domainController,
                             String domainControllerName,
                             String serviceAccount,
                             String servicePassword)

getAVPairBytes

protected byte[] getAVPairBytes(int avId,
                                String value)
                         throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

getTargetInformation

protected byte[] getTargetInformation()
                               throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

Liferay 6.1.2-ce-ga3