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,
String saslMechanism,
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 | Method and Description |
---|---|
CoreSession |
DirectoryService.getAdminSession() |
CoreSession |
DirectoryService.getSession()
Gets a logical session to perform operations on this DirectoryService
as the anonymous user.
|
CoreSession |
LdapCoreSessionConnection.getSession() |
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,
String saslMechanism,
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)
Creates a new instance of AddOperationContext.
|
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 AddOperationContext.
|
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)
Creates a new instance of LookupOperationContext.
|
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,
String oid)
Creates a new instance of LookupOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
String oid,
org.apache.directory.api.ldap.model.entry.Value value)
Creates a new instance of LookupOperationContext.
|
CompareOperationContext(CoreSession session,
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)
Creates a new instance of DeleteOperationContext.
|
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 FilteringOperationContext.
|
FilteringOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn)
Creates a new instance of FilteringOperationContext.
|
FilteringOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn dn,
String... returningAttributes)
Creates a new instance of LookupOperationContext.
|
FilteringOperationContext(CoreSession session,
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,
String... returningAttributes)
Creates a new instance of LookupOperationContext.
|
LookupOperationContext(CoreSession session,
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,
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)
Creates a new instance of ModifyOperationContext.
|
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)
Create a new instanc eof MoveOperationContext
|
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)
Creates a new instance of RenameOperationContext
|
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,
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,
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)
Creates a new instance of UnbindOperationContext.
|
Modifier and Type | Method and Description |
---|---|
org.apache.directory.api.ldap.model.entry.Entry |
StoredProcExecutionManager.findStoredProcUnit(CoreSession session,
String fullSPName)
Finds and returns a stored procedure unit entry whose identifier name
is extracted from fullSPName.
|
Object |
StoredProcEngine.invokeProcedure(CoreSession session,
String fullSPName,
Object[] spArgs)
Invokes the stored procedure handled by the engine.
|
Modifier and Type | Method and Description |
---|---|
Object |
JavaStoredProcEngine.invokeProcedure(CoreSession session,
String fullSPName,
Object[] spArgs) |
Constructor and Description |
---|
TupleCache(CoreSession session)
Creates a ACITuple cache.
|
Modifier and Type | Method and Description |
---|---|
static CoreSession |
IntegrationUtils.getCoreSession(String principalDn,
DirectoryService service,
String dn) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
ServerContext.getSession() |
Constructor and Description |
---|
ServerContext(DirectoryService service,
CoreSession session,
Name name) |
ServerDirContext(DirectoryService service,
CoreSession session,
Name bindDn) |
ServerLdapContext(DirectoryService service,
CoreSession session,
Name bindDn) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultCoreSession
The default CoreSession implementation.
|
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 | Field and Description |
---|---|
protected CoreSession |
AbstractSaslCallbackHandler.adminSession
The admin core session
|
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.
|
Constructor and Description |
---|
NtlmSaslServer(NtlmProvider provider,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest,
LdapSession ldapSession,
CoreSession adminSession) |
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 |
---|---|
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 |
---|---|
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,
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 |
---|---|
Object |
DirectoryServiceOperation.execute(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn baseDn)
The command pattern execute method.
|
boolean |
LdifLoadFilter.filter(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,
File ldif,
List<? extends LdifLoadFilter> filters)
Creates a new instance of LdifFileLoader.
|
LdifFileLoader(CoreSession coreSession,
File ldif,
List<? extends LdifLoadFilter> filters,
ClassLoader loader)
Creates a new instance of LdifFileLoader.
|
LdifFileLoader(CoreSession coreSession,
String ldif)
Creates a new instance of LdifFileLoader.
|
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.