public abstract class AbstractSaslServer
extends java.lang.Object
implements javax.security.sasl.SaslServer
| Modifier and Type | Field and Description |
|---|---|
private CoreSession |
adminSession
The admin session, used to authenticate users against the LDAP server
|
private org.apache.directory.api.ldap.model.message.BindRequest |
bindRequest
The associated BindRequest
|
private LdapSession |
ldapSession
The associated LdapSession instance
|
| Constructor and Description |
|---|
AbstractSaslServer(LdapSession ldapSession,
CoreSession adminSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
CoreSession |
getAdminSession() |
java.lang.String |
getAuthorizationID() |
org.apache.directory.api.ldap.model.message.BindRequest |
getBindRequest() |
LdapSession |
getLdapSession() |
java.lang.Object |
getNegotiatedProperty(java.lang.String propName) |
byte[] |
unwrap(byte[] incoming,
int offset,
int len)
NOT IMPLEMENTED
|
byte[] |
wrap(byte[] outgoing,
int offset,
int len)
NOT IMPLEMENTED
|
private final org.apache.directory.api.ldap.model.message.BindRequest bindRequest
private final LdapSession ldapSession
private CoreSession adminSession
public AbstractSaslServer(LdapSession ldapSession, CoreSession adminSession, org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
public byte[] unwrap(byte[] incoming,
int offset,
int len)
throws javax.security.sasl.SaslException
unwrap in interface javax.security.sasl.SaslServerjavax.security.sasl.SaslExceptionpublic byte[] wrap(byte[] outgoing,
int offset,
int len)
throws javax.security.sasl.SaslException
wrap in interface javax.security.sasl.SaslServerjavax.security.sasl.SaslExceptionpublic org.apache.directory.api.ldap.model.message.BindRequest getBindRequest()
public LdapSession getLdapSession()
public CoreSession getAdminSession()
public java.lang.String getAuthorizationID()
getAuthorizationID in interface javax.security.sasl.SaslServerpublic java.lang.Object getNegotiatedProperty(java.lang.String propName)
getNegotiatedProperty in interface javax.security.sasl.SaslServerpublic void dispose()
throws javax.security.sasl.SaslException
dispose in interface javax.security.sasl.SaslServerjavax.security.sasl.SaslException