public final 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,
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, wrap
public static final String SASL_PLAIN_AUTHZID
public static final String SASL_PLAIN_AUTHCID
public static final String SASL_PLAIN_PASSWORD
public PlainSaslServer(LdapSession ldapSession, CoreSession adminSession, org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
ldapSession
- The associated LdapSession instanceadminSession
- The Administrator sessionbindRequest
- The associated BindRequest objectpublic String getMechanismName()
public byte[] evaluateResponse(byte[] initialResponse) throws SaslException
SaslException
public boolean isComplete()
Copyright © 2003–2023 The Apache Software Foundation. All rights reserved.