| Modifier and Type | Field and Description |
|---|---|
private CoreSession |
DefaultDirectoryService.adminSession
session used as admin for internal operations
|
| Modifier and Type | Method and Description |
|---|---|
CoreSession |
DefaultDirectoryService.getAdminSession() |
CoreSession |
DefaultDirectoryService.getSession()
Get back an anonymous session
|
CoreSession |
DefaultDirectoryService.getSession(org.apache.directory.api.ldap.model.name.Dn principalDn,
byte[] credentials)
Get back a session for the give user and credentials bound with Simple Bind
|
CoreSession |
DefaultDirectoryService.getSession(org.apache.directory.api.ldap.model.name.Dn principalDn,
byte[] credentials,
java.lang.String saslMechanism,
java.lang.String saslAuthId)
Get back a session for a given user bound with SASL Bind
|
CoreSession |
DefaultDirectoryService.getSession(LdapPrincipal principal)
Get back a session for a given principal
|
| Modifier and Type | Field and Description |
|---|---|
private CoreSession |
LdapCoreSessionConnection.session
the CoreSession object
|
| Modifier and Type | Method and Description |
|---|---|
CoreSession |
DirectoryService.getAdminSession() |
CoreSession |
DirectoryService.getSession()
Gets a logical session to perform operations on this DirectoryService
as the anonymous user.
|
CoreSession |
DirectoryService.getSession(org.apache.directory.api.ldap.model.name.Dn principalDn,
byte[] credentials)
Gets a logical session to perform operations on this DirectoryService
as a specific user with a separate authorization principal.
|
CoreSession |
DirectoryService.getSession(org.apache.directory.api.ldap.model.name.Dn principalDn,
byte[] credentials,
java.lang.String saslMechanism,
java.lang.String saslAuthId)
Gets a logical session to perform operations on this DirectoryService
as a specific user with a separate authorization principal.
|
CoreSession |
DirectoryService.getSession(LdapPrincipal principal)
Gets a logical session to perform operations on this DirectoryService
as a specific user.
|
| Constructor and Description |
|---|
LdapCoreSessionConnection(CoreSession session) |
| Modifier and Type | Field and Description |
|---|---|
protected CoreSession |
AbstractOperationContext.session
The core session
|
| Modifier and Type | Method and Description |
|---|---|
CoreSession |
AbstractOperationContext.getSession()
Gets the session associated with this operation.
|
CoreSession |
OperationContext.getSession()
Gets the session associated with this operation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractOperationContext.setSession(CoreSession session) |
| Constructor and Description |
|---|
AbstractChangeOperationContext(CoreSession session)
Creates a new instance of AbstractChangeOperationContext.
|
AbstractChangeOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn)
Creates a new instance of AbstractChangeOperationContext.
|
AbstractOperationContext(CoreSession session)
Creates a new instance of AbstractOperationContext.
|
AbstractOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn)
Creates a new instance of AbstractOperationContext.
|
AddOperationContext(CoreSession session)
Creates a new instance of AddOperationContext.
|
AddOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.message.AddRequest addRequest) |
AddOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn)
Creates a new instance of AddOperationContext.
|
AddOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.api.ldap.model.entry.Entry entry)
Creates a new instance of ModifyOperationContext.
|
AddOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.entry.Entry entry)
Creates a new instance of AddOperationContext.
|
BindOperationContext(CoreSession session)
Creates a new instance of BindOperationContext.
|
CompareOperationContext(CoreSession session)
Creates a new instance of CompareOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.message.CompareRequest compareRequest) |
CompareOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn)
Creates a new instance of CompareOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
java.lang.String oid)
Creates a new instance of LookupOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
java.lang.String oid,
org.apache.directory.api.ldap.model.entry.Value<?> value)
Creates a new instance of LookupOperationContext.
|
CompareOperationContext(CoreSession session,
java.lang.String oid)
Creates a new instance of LookupOperationContext.
|
DeleteOperationContext(CoreSession session)
Creates a new instance of DeleteOperationContext.
|
DeleteOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.message.DeleteRequest deleteRequest) |
DeleteOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn deleteDn)
Creates a new instance of DeleteOperationContext.
|
EmptyOperationContext(CoreSession session)
Creates a new instance of EmptyOperationContext.
|
FilteringOperationContext(CoreSession session)
Creates a new instance of LookupOperationContext.
|
FilteringOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn)
Creates a new instance of LookupOperationContext.
|
FilteringOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
java.lang.String... returningAttributes)
Creates a new instance of LookupOperationContext.
|
FilteringOperationContext(CoreSession session,
java.lang.String... returningAttributes)
Creates a new instance of LookupOperationContext.
|
GetRootDseOperationContext(CoreSession session)
Creates a new instance of GetRootDseOperationContext.
|
GetRootDseOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn)
Creates a new instance of GetRootDseOperationContext.
|
HasEntryOperationContext(CoreSession session)
Creates a new instance of HasEntryOperationContext.
|
HasEntryOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn entryDn)
Creates a new instance of HasEntryOperationContext.
|
LookupOperationContext(CoreSession session)
Creates a new instance of LookupOperationContext.
|
LookupOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn)
Creates a new instance of LookupOperationContext.
|
LookupOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
java.lang.String... returningAttributes)
Creates a new instance of LookupOperationContext.
|
LookupOperationContext(CoreSession session,
java.lang.String... returningAttributes)
Creates a new instance of LookupOperationContext.
|
ModifyOperationContext(CoreSession session)
Creates a new instance of ModifyOperationContext.
|
ModifyOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
java.util.List<org.apache.directory.api.ldap.model.entry.Modification> modItems)
Creates a new instance of ModifyOperationContext.
|
ModifyOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.message.ModifyRequest modifyRequest) |
MoveAndRenameOperationContext(CoreSession session)
Creates a new instance of MoveAndRenameOperationContext.
|
MoveAndRenameOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn oldDn,
org.apache.directory.api.ldap.model.name.Dn newSuperiorDn,
org.apache.directory.api.ldap.model.name.Rdn newRdn,
boolean delOldRdn)
Creates a new instance of MoveAndRenameOperationContext.
|
MoveAndRenameOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.message.ModifyDnRequest modifyDnRequest) |
MoveOperationContext(CoreSession session)
Creates a new instance of MoveOperationContext.
|
MoveOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn oldDn,
org.apache.directory.api.ldap.model.name.Dn newSuperior)
Creates a new instance of MoveOperationContext.
|
MoveOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.message.ModifyDnRequest modifyDnRequest) |
RenameOperationContext(CoreSession session)
Creates a new instance of RenameOperationContext.
|
RenameOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn oldDn,
org.apache.directory.api.ldap.model.name.Rdn newRdn,
boolean deleteOldRdn)
Creates a new instance of RenameOperationContext.
|
RenameOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.message.ModifyDnRequest modifyDnRequest) |
SearchOperationContext(CoreSession session)
Creates a new instance of SearchOperationContext.
|
SearchOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.api.ldap.model.filter.ExprNode filter,
javax.naming.directory.SearchControls searchControls)
Creates a new instance of SearchOperationContext.
|
SearchOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.api.ldap.model.message.SearchScope scope,
org.apache.directory.api.ldap.model.filter.ExprNode filter,
java.lang.String... returningAttributes)
Creates a new instance of SearchOperationContext.
|
SearchOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.message.SearchRequest searchRequest)
Creates a new instance of SearchOperationContext.
|
UnbindOperationContext(CoreSession session)
Creates a new instance of UnbindOperationContext.
|
UnbindOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.message.UnbindRequest unbindRequest) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.api.ldap.model.entry.Entry |
StoredProcExecutionManager.findStoredProcUnit(CoreSession session,
java.lang.String fullSPName)
Finds and returns a stored procedure unit entry whose identifier name
is extracted from fullSPName.
|
java.lang.Object |
StoredProcEngine.invokeProcedure(CoreSession session,
java.lang.String fullSPName,
java.lang.Object[] spArgs)
Invokes the stored procedure handled by the engine.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
JavaStoredProcEngine.invokeProcedure(CoreSession session,
java.lang.String fullSPName,
java.lang.Object[] spArgs) |
| Modifier and Type | Field and Description |
|---|---|
private CoreSession |
AuthenticationInterceptor.adminSession |
| Modifier and Type | Method and Description |
|---|---|
private void |
AuthenticationInterceptor.checkPwdMustChange(ModifyOperationContext modifyContext,
CoreSession userSession,
AuthenticationInterceptor.PwdModDetailsHolder pwdModDetails,
boolean isPPolicyReqCtrlPresent)
Check if the password has to be changed, but can't.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
TupleCache.initialize(CoreSession session) |
private void |
GroupCache.initialize(CoreSession session) |
| Constructor and Description |
|---|
TupleCache(CoreSession session)
Creates a ACITuple cache.
|
| Modifier and Type | Method and Description |
|---|---|
static CoreSession |
IntegrationUtils.getCoreSession(java.lang.String principalDn,
DirectoryService service,
java.lang.String dn) |
| Modifier and Type | Field and Description |
|---|---|
private CoreSession |
ServerContext.session
The session
|
| Modifier and Type | Method and Description |
|---|---|
CoreSession |
ServerContext.getSession() |
| Constructor and Description |
|---|
ServerContext(DirectoryService service,
CoreSession session,
javax.naming.Name name) |
ServerDirContext(DirectoryService service,
CoreSession session,
javax.naming.Name bindDn) |
ServerLdapContext(DirectoryService service,
CoreSession session,
javax.naming.Name bindDn) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultCoreSession
The default CoreSession implementation.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
SubentryInterceptor.updateEntries(SubentryInterceptor.OperationEnum operation,
CoreSession session,
org.apache.directory.api.ldap.model.name.Dn subentryDn,
org.apache.directory.api.ldap.model.name.Dn apDn,
org.apache.directory.api.ldap.model.subtree.SubtreeSpecification ss,
org.apache.directory.api.ldap.model.name.Dn baseDn,
java.util.List<org.apache.directory.api.ldap.model.entry.Attribute> operationalAttributes)
Update all the entries under an AP adding the
|
| Modifier and Type | Field and Description |
|---|---|
private CoreSession |
DirectoryPrincipalStore.adminSession |
| Modifier and Type | Field and Description |
|---|---|
private CoreSession |
LdapSession.coreSession
The CoreSession
|
| Modifier and Type | Method and Description |
|---|---|
CoreSession |
LdapSession.getCoreSession()
Gets the logical core DirectoryService session associated with this
LdapSession.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LdapSession.setCoreSession(CoreSession coreSession)
Sets the logical core DirectoryService session.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
PwdModifyHandler.modifyUserPassword(CoreSession userSession,
org.apache.mina.core.session.IoSession ioPipe,
org.apache.directory.api.ldap.model.name.Dn userDn,
byte[] oldPassword,
byte[] newPassword,
org.apache.directory.api.ldap.extras.extended.pwdModify.PasswordModifyRequest req)
Modify the user's credentials.
|
| Modifier and Type | Field and Description |
|---|---|
protected CoreSession |
AbstractSaslCallbackHandler.adminSession
The admin core session
|
private CoreSession |
AbstractSaslServer.adminSession
The admin session, used to authenticate users against the LDAP server
|
| Modifier and Type | Method and Description |
|---|---|
CoreSession |
AbstractSaslServer.getAdminSession() |
| Constructor and Description |
|---|
AbstractSaslServer(LdapSession ldapSession,
CoreSession adminSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest) |
| Constructor and Description |
|---|
CramMd5CallbackHandler(LdapSession ldapSession,
CoreSession adminSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Creates a new instance of CramMd5CallbackHandler.
|
| Constructor and Description |
|---|
DigestMd5CallbackHandler(LdapSession ldapSession,
CoreSession adminSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Creates a new instance of DigestMd5CallbackHandler.
|
| 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 |
|---|---|
private CoreSession |
NtlmSaslServer.authenticate(java.lang.String user,
java.lang.String password)
Try to authenticate the usr against the underlying LDAP server.
|
| 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 |
|---|---|
private CoreSession |
PlainSaslServer.authenticate(java.lang.String user,
java.lang.String password)
Try to authenticate the user against the underlying LDAP server.
|
| 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 | Field and Description |
|---|---|
private CoreSession |
ReplicationConsumerImpl.session
the core session
|
| Modifier and Type | Field and Description |
|---|---|
private CoreSession |
ReplConsumerManager.adminSession
The admin session used to commuicate with the backend
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
GetCatalog.execute(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn base)
Note that the base is relative to the existing context.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
GetPrincipal.execute(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn base)
Note that the base is a relative path from the existing context.
|
static org.apache.directory.api.ldap.model.entry.Entry |
StoreUtils.findPrincipalEntry(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn searchBaseDn,
java.lang.String principal)
Finds the Entry associated with the Kerberos principal name.
|
static org.apache.directory.api.ldap.model.entry.Entry |
StoreUtils.toServerEntry(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
PrincipalStoreEntry principalEntry)
Creates a Entry for a PrincipalStoreEntry, doing what a state
factory does but for Entry instead of Attributes.
|
| Modifier and Type | Field and Description |
|---|---|
protected CoreSession |
LdifFileLoader.coreSession
a handle on the top core session
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
DirectoryServiceOperation.execute(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn baseDn)
The command pattern execute method.
|
boolean |
LdifLoadFilter.filter(java.io.File file,
org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.api.ldap.model.entry.Entry entry,
CoreSession coreSession)
Filters entries loaded from LDIF files by a LdifFileLoader.
|
| Constructor and Description |
|---|
LdifFileLoader(CoreSession coreSession,
java.io.File ldif,
java.util.List<? extends LdifLoadFilter> filters)
Creates a new instance of LdifFileLoader.
|
LdifFileLoader(CoreSession coreSession,
java.io.File ldif,
java.util.List<? extends LdifLoadFilter> filters,
java.lang.ClassLoader loader)
Creates a new instance of LdifFileLoader.
|
LdifFileLoader(CoreSession coreSession,
java.lang.String ldif)
Creates a new instance of LdifFileLoader.
|