Modifier and Type | Method and Description |
---|---|
LdapSession |
LdapSessionManager.getLdapSession(org.apache.mina.core.session.IoSession session)
Gets the LdapSession associated with the MINA session.
|
LdapSession[] |
LdapSessionManager.getSessions()
Gets the active sessions managed by the LdapServer.
|
LdapSession |
LdapSessionManager.removeLdapSession(org.apache.mina.core.session.IoSession session)
Removes an LdapSession managed by the
LdapServer . |
Modifier and Type | Method and Description |
---|---|
void |
LdapSessionManager.addLdapSession(LdapSession ldapSession)
Adds a new LdapSession to the LdapServer.
|
void |
ExtendedOperationHandler.handleExtendedOperation(LdapSession session,
R req)
Handles the specified extended operation.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
LdapResponseHandler.handle(LdapSession session,
T message)
Handle a Ldap message associated with a session
|
abstract void |
LdapRequestHandler.handle(LdapSession session,
T message)
Handle a Ldap message associated with a session
|
void |
LdapRequestHandler.handleException(LdapSession session,
org.apache.directory.api.ldap.model.message.ResultResponseRequest request,
org.apache.directory.api.ldap.model.message.ResultResponse response,
Exception e)
Handles processing with referrals without ManageDsaIT decorator.
|
Constructor and Description |
---|
PersistentSearchListener(LdapSession session,
org.apache.directory.api.ldap.model.message.SearchRequest req) |
Modifier and Type | Method and Description |
---|---|
boolean |
PagedSearchContext.hasSameRequest(org.apache.directory.api.ldap.model.message.SearchRequest request,
LdapSession session)
Compare the previous search request and the new one, and return
true if they are equal.
|
Modifier and Type | Method and Description |
---|---|
void |
CertGenerationRequestHandler.handleExtendedOperation(LdapSession session,
org.apache.directory.api.ldap.extras.extended.certGeneration.CertGenerationRequest req)
Handles the specified extended operation.
|
void |
StartTransactionHandler.handleExtendedOperation(LdapSession session,
org.apache.directory.api.ldap.model.message.ExtendedRequest req)
Handles the specified extended operation.
|
void |
StartTlsHandler.handleExtendedOperation(LdapSession session,
org.apache.directory.api.ldap.model.message.ExtendedRequest req)
Handles the specified extended operation.
|
void |
EndTransactionHandler.handleExtendedOperation(LdapSession session,
org.apache.directory.api.ldap.model.message.ExtendedRequest req)
Handles the specified extended operation.
|
void |
GracefulShutdownHandler.handleExtendedOperation(LdapSession requestor,
org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequest req) |
void |
PwdModifyHandler.handleExtendedOperation(LdapSession requestor,
org.apache.directory.api.ldap.extras.extended.pwdModify.PasswordModifyRequest req)
Handles the specified extended operation.
|
void |
StoredProcedureExtendedOperationHandler.handleExtendedOperation(LdapSession session,
org.apache.directory.api.ldap.extras.extended.storedProcedure.StoredProcedureRequest req) |
void |
WhoAmIHandler.handleExtendedOperation(LdapSession requestor,
org.apache.directory.api.ldap.extras.extended.whoAmI.WhoAmIRequest req)
Handles the specified extended operation.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.directory.api.ldap.model.entry.Entry |
SearchRequestHandler.getFarthestReferralAncestor(LdapSession session,
org.apache.directory.api.ldap.model.name.Dn target)
Searches up the ancestry of a Dn searching for the farthest referral
ancestor.
|
org.apache.directory.api.ldap.model.message.Referral |
SearchRequestHandler.getReferralOnAncestor(LdapSession session,
org.apache.directory.api.ldap.model.name.Dn reqTargetDn,
org.apache.directory.api.ldap.model.message.SearchRequest req,
org.apache.directory.api.ldap.model.entry.Entry referralAncestor)
Handles processing with referrals without ManageDsaIT decorator and with
an ancestor that is a referral.
|
org.apache.directory.api.ldap.model.message.Referral |
SearchRequestHandler.getReferralOnAncestorForSearch(LdapSession session,
org.apache.directory.api.ldap.model.message.SearchRequest req,
org.apache.directory.api.ldap.model.entry.Entry referralAncestor)
Handles processing with referrals without ManageDsaIT decorator and with
an ancestor that is a referral.
|
void |
AbandonRequestHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.AbandonRequest request)
Handle a Ldap message associated with a session
|
void |
AddRequestHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.AddRequest addRequest)
Handle a Ldap message associated with a session
|
void |
BindRequestHandler.handle(LdapSession ldapSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Deal with a received BindRequest
|
void |
CompareRequestHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.CompareRequest compareRequest)
Handle a Ldap message associated with a session
|
void |
DeleteRequestHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.DeleteRequest deleteRequest)
Handle a Ldap message associated with a session
|
void |
ExtendedRequestHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.ExtendedRequest req)
Handle a Ldap message associated with a session
|
void |
ModifyDnRequestHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.ModifyDnRequest modifyDnRequest)
Deal with a ModifyDN request received from a client.
|
void |
ModifyRequestHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.ModifyRequest modifyRequest)
Handle a Ldap message associated with a session
|
void |
SearchRequestHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.SearchRequest req)
Handle a Ldap message associated with a session
|
void |
UnbindRequestHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.UnbindRequest unbindRequest) |
void |
SearchRequestHandler.handleException(LdapSession session,
org.apache.directory.api.ldap.model.message.ResultResponseRequest req,
Exception e)
Handles processing with referrals without ManageDsaIT decorator.
|
void |
BindRequestHandler.handleSaslAuth(LdapSession ldapSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Handle the SASL authentication.
|
void |
BindRequestHandler.handleSimpleAuth(LdapSession ldapSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Handle the Simple authentication.
|
Modifier and Type | Method and Description |
---|---|
void |
AddResponseHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.AddResponse addResponse)
Handle a Ldap message associated with a session
|
void |
BindResponseHandler.handle(LdapSession ldapSession,
org.apache.directory.api.ldap.model.message.BindResponse bindResponse)
Handle a Ldap message associated with a session
|
void |
CompareResponseHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.CompareResponse compareResponse)
Handle a Ldap message associated with a session
|
void |
DeleteResponseHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.DeleteResponse deleteResponse)
Handle a Ldap message associated with a session
|
void |
ExtendedResponseHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.ExtendedResponse extendedResponse)
Handle a Ldap message associated with a session
|
void |
IntermediateResponseHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.IntermediateResponse intermediateResponse)
Handle a Ldap message associated with a session
|
void |
ModifyDnResponseHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.ModifyDnResponse modifyDnResponse)
Handle a Ldap message associated with a session
|
void |
ModifyResponseHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.ModifyResponse modifyResponse)
Handle a Ldap message associated with a session
|
void |
SearchResultDoneHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.SearchResultDone searchResultDone)
Handle a Ldap message associated with a session
|
void |
SearchResultEntryHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.SearchResultEntry searchResultEntry)
Handle a Ldap message associated with a session
|
void |
SearchResultReferenceHandler.handle(LdapSession session,
org.apache.directory.api.ldap.model.message.SearchResultReference searchResultReference)
Handle a Ldap message associated with a session
|
Modifier and Type | Field and Description |
---|---|
protected LdapSession |
AbstractSaslCallbackHandler.ldapSession
The reference on the user ldap session
|
Modifier and Type | Method and Description |
---|---|
LdapSession |
AbstractSaslServer.getLdapSession() |
Modifier and Type | Method and Description |
---|---|
void |
SimpleMechanismHandler.cleanup(LdapSession ldapSession)
Clean the Sasl properties when the use has been authenticated
|
void |
MechanismHandler.cleanup(LdapSession ldapSession)
Clean the Sasl properties when the use has been authenticated
|
SaslServer |
SimpleMechanismHandler.handleMechanism(LdapSession ldapSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest) |
SaslServer |
MechanismHandler.handleMechanism(LdapSession session,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Implementors will use the session and message to determine what kind of
SaslServer to create and what initialization parameters it will require. |
void |
SimpleMechanismHandler.init(LdapSession ldapSession)
Initialize the saslProperties with some mechanism's specific data
|
void |
MechanismHandler.init(LdapSession ldapSession)
Initialize the saslProperties with some mechanism's specific data
|
protected void |
AbstractMechanismHandler.insertSaslFilter(LdapSession ldapSession)
Inject a SaslFilter into the Filter chain, to deal with modified
PDU sent when some mechanisms have been negotiated (DIGEST-MD5, GSSAPI,
for 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 |
CramMd5MechanismHandler.cleanup(LdapSession ldapSession)
Remove the SaslServer and Mechanism property.
|
SaslServer |
CramMd5MechanismHandler.handleMechanism(LdapSession ldapSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest) |
void |
CramMd5MechanismHandler.init(LdapSession ldapSession)
Initialize the saslProperties with some mechanism's specific data
|
Constructor and Description |
---|
CramMd5CallbackHandler(LdapSession ldapSession,
CoreSession adminSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Creates a new instance of CramMd5CallbackHandler.
|
Modifier and Type | Method and Description |
---|---|
void |
DigestMd5MechanismHandler.cleanup(LdapSession ldapSession)
Remove the Host, UserBaseDn, props and Mechanism property.
|
SaslServer |
DigestMd5MechanismHandler.handleMechanism(LdapSession ldapSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest) |
void |
DigestMd5MechanismHandler.init(LdapSession ldapSession)
Initialize the saslProperties with some mechanism's specific data
|
Constructor and Description |
---|
DigestMd5CallbackHandler(LdapSession ldapSession,
CoreSession adminSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Creates a new instance of DigestMd5CallbackHandler.
|
Modifier and Type | Method and Description |
---|---|
void |
CertificateMechanismHandler.cleanup(LdapSession ldapSession)
Remove the SaslServer and Mechanism property.
|
SaslServer |
CertificateMechanismHandler.handleMechanism(LdapSession ldapSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest) |
void |
CertificateMechanismHandler.init(LdapSession ldapSession)
Initialize the saslProperties with some mechanism's specific data
|
Modifier and Type | Method and Description |
---|---|
void |
GssapiMechanismHandler.cleanup(LdapSession ldapSession)
Remove the Host, UserBaseDn, props and Mechanism property.
|
SaslServer |
GssapiMechanismHandler.handleMechanism(LdapSession ldapSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest) |
void |
GssapiMechanismHandler.init(LdapSession ldapSession)
Initialize the saslProperties with some mechanism's specific data
|
Constructor and Description |
---|
GssapiCallbackHandler(LdapSession ldapSession,
CoreSession adminSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Creates a new instance of GssapiCallbackHandler.
|
Modifier and Type | Method and Description |
---|---|
void |
NtlmMechanismHandler.cleanup(LdapSession ldapSession)
Remove the Host, UserBaseDn, props and Mechanism property.
|
SaslServer |
NtlmMechanismHandler.handleMechanism(LdapSession ldapSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest) |
void |
NtlmMechanismHandler.init(LdapSession ldapSession)
Initialize the saslProperties with some mechanism's specific data
|
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 |
---|---|
void |
PlainMechanismHandler.cleanup(LdapSession ldapSession)
Remove the SaslServer and Mechanism property.
|
SaslServer |
PlainMechanismHandler.handleMechanism(LdapSession ldapSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Implementors will use the session and message to determine what kind of
SaslServer to create and what initialization parameters it will require. |
void |
PlainMechanismHandler.init(LdapSession ldapSession)
Initialize the saslProperties with some mechanism's specific data
|
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 |
---|---|
void |
ReplicationRequestHandler.handleSyncRequest(LdapSession session,
org.apache.directory.api.ldap.model.message.SearchRequest req)
A method to be used by any RFC 4533 compatible provider implementation
|
void |
SyncReplRequestHandler.handleSyncRequest(LdapSession session,
org.apache.directory.api.ldap.model.message.SearchRequest request)
Process the incoming search request sent by a remote server when trying to replicate.
|
org.apache.directory.api.ldap.model.filter.ExprNode |
SyncReplRequestHandler.modifyFilter(LdapSession session,
org.apache.directory.api.ldap.model.message.SearchRequest req) |
void |
SyncReplSearchListener.setSession(LdapSession session)
Store the Ldap session to use
|
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.