public class PlainSaslServer extends AbstractSaslServer
| Modifier and Type | Field and Description |
|---|---|
static String |
SASL_PLAIN_AUTHCID
The authcid property stored into the LdapSession instance
|
static String |
SASL_PLAIN_AUTHZID
The authzid property stored into the LdapSession instance
|
static String |
SASL_PLAIN_PASSWORD
The password property stored into the LdapSession instance
|
| Constructor and Description |
|---|
PlainSaslServer(LdapSession ldapSession,
org.apache.directory.server.core.api.CoreSession adminSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Creates a new instance of PlainSaslServer.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
evaluateResponse(byte[] initialResponse) |
String |
getMechanismName() |
boolean |
isComplete() |
dispose, getAdminSession, getAuthorizationID, getBindRequest, getLdapSession, getNegotiatedProperty, unwrap, wrappublic static final String SASL_PLAIN_AUTHZID
public static final String SASL_PLAIN_AUTHCID
public static final String SASL_PLAIN_PASSWORD
public PlainSaslServer(LdapSession ldapSession, org.apache.directory.server.core.api.CoreSession adminSession, org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
bindRequest - The associated BindRequest objectldapSession - The associated LdapSession instancepublic String getMechanismName()
public byte[] evaluateResponse(byte[] initialResponse)
throws SaslException
SaslExceptionpublic boolean isComplete()
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.