public class NtlmSaslServer extends AbstractSaslServer
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
NtlmSaslServer.NegotiationState
The different states during a NTLM negotiation
|
| Modifier and Type | Field and Description |
|---|---|
private NtlmProvider |
provider |
private NtlmSaslServer.NegotiationState |
state
The current state
|
| Constructor and Description |
|---|
NtlmSaslServer(NtlmProvider provider,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest,
LdapSession ldapSession,
CoreSession adminSession) |
| Modifier and Type | Method and Description |
|---|---|
private CoreSession |
authenticate(java.lang.String user,
java.lang.String password)
Try to authenticate the usr against the underlying LDAP server.
|
byte[] |
evaluateResponse(byte[] response) |
java.lang.String |
getMechanismName() |
boolean |
isComplete() |
protected void |
responseRecieved() |
protected void |
responseSent() |
dispose, getAdminSession, getAuthorizationID, getBindRequest, getLdapSession, getNegotiatedProperty, unwrap, wrapprivate NtlmSaslServer.NegotiationState state
private final NtlmProvider provider
public NtlmSaslServer(NtlmProvider provider, org.apache.directory.api.ldap.model.message.BindRequest bindRequest, LdapSession ldapSession, CoreSession adminSession)
public java.lang.String getMechanismName()
protected void responseRecieved()
protected void responseSent()
public byte[] evaluateResponse(byte[] response)
throws javax.security.sasl.SaslException
javax.security.sasl.SaslExceptionprivate CoreSession authenticate(java.lang.String user, java.lang.String password) throws javax.naming.InvalidNameException, java.lang.Exception
javax.naming.InvalidNameExceptionjava.lang.Exceptionpublic boolean isComplete()