|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.ldap.handlers.bind.AbstractSaslServer
org.apache.directory.server.ldap.handlers.bind.plain.PlainSaslServer
public class PlainSaslServer
A SaslServer implementation for PLAIN based SASL mechanism. This is required unfortunately because the JDK's SASL provider does not support this mechanism.
Field Summary | |
---|---|
static java.lang.String |
SASL_PLAIN_AUTHCID
The authcid property stored into the LdapSession instance |
static java.lang.String |
SASL_PLAIN_AUTHZID
The authzid property stored into the LdapSession instance |
static java.lang.String |
SASL_PLAIN_PASSWORD
The password property stored into the LdapSession instance |
Constructor Summary | |
---|---|
PlainSaslServer(LdapSession ldapSession,
CoreSession adminSession,
org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest)
Creates a new instance of PlainSaslServer. |
Method Summary | |
---|---|
byte[] |
evaluateResponse(byte[] initialResponse)
|
java.lang.String |
getMechanismName()
|
boolean |
isComplete()
|
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 |
Field Detail |
---|
public static final java.lang.String SASL_PLAIN_AUTHZID
public static final java.lang.String SASL_PLAIN_AUTHCID
public static final java.lang.String SASL_PLAIN_PASSWORD
Constructor Detail |
---|
public PlainSaslServer(LdapSession ldapSession, CoreSession adminSession, org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest)
bindRequest
- The associated BindRequest objectldapSession
- The associated LdapSession instanceMethod Detail |
---|
public java.lang.String getMechanismName()
public byte[] evaluateResponse(byte[] initialResponse) throws javax.security.sasl.SaslException
javax.security.sasl.SaslException
public boolean isComplete()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |