org.apache.directory.server.ldap.handlers.bind.ntlm
Class NtlmSaslServer

java.lang.Object
  extended by org.apache.directory.server.ldap.handlers.bind.AbstractSaslServer
      extended by org.apache.directory.server.ldap.handlers.bind.ntlm.NtlmSaslServer
All Implemented Interfaces:
javax.security.sasl.SaslServer

public class NtlmSaslServer
extends AbstractSaslServer

A SaslServer implementation for NTLM based SASL mechanism. This is required unfortunately because the JDK's SASL provider does not support this mechanism.

Version:
$$Rev$$
Author:
Apache Directory Project

Constructor Summary
NtlmSaslServer(NtlmProvider provider, org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest, LdapSession ldapSession)
           
 
Method Summary
 byte[] evaluateResponse(byte[] response)
          
 java.lang.String getMechanismName()
          
 boolean isComplete()
          
protected  void responseRecieved()
           
protected  void responseSent()
           
 
Methods inherited from class org.apache.directory.server.ldap.handlers.bind.AbstractSaslServer
dispose, getAdminSession, getAuthorizationID, getBindRequest, getLdapSession, getNegotiatedProperty, unwrap, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NtlmSaslServer

public NtlmSaslServer(NtlmProvider provider,
                      org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest,
                      LdapSession ldapSession)
Method Detail

getMechanismName

public java.lang.String getMechanismName()


responseRecieved

protected void responseRecieved()

responseSent

protected void responseSent()

evaluateResponse

public byte[] evaluateResponse(byte[] response)
                        throws javax.security.sasl.SaslException

Throws:
javax.security.sasl.SaslException

isComplete

public boolean isComplete()



Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.