Modifier and Type | Class and Description |
---|---|
class |
DefaultCoreSession
The default CoreSession implementation.
|
class |
MockCoreSession
The default CoreSession implementation.
|
Modifier and Type | Method and Description |
---|---|
CoreSession |
MockDirectoryService.getAdminSession() |
CoreSession |
DefaultDirectoryService.getAdminSession() |
CoreSession |
DirectoryService.getAdminSession() |
CoreSession |
MockDirectoryService.getSession() |
CoreSession |
MockOperation.getSession() |
CoreSession |
DefaultDirectoryService.getSession() |
CoreSession |
DirectoryService.getSession()
Gets a logical session to perform operations on this DirectoryService
as the anonymous user.
|
CoreSession |
MockDirectoryService.getSession(org.apache.directory.shared.ldap.name.DN principalDn,
byte[] credentials) |
CoreSession |
DefaultDirectoryService.getSession(org.apache.directory.shared.ldap.name.DN principalDn,
byte[] credentials) |
CoreSession |
DirectoryService.getSession(org.apache.directory.shared.ldap.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 |
MockDirectoryService.getSession(org.apache.directory.shared.ldap.name.DN principalDn,
byte[] credentials,
String saslMechanism,
String saslAuthId) |
CoreSession |
DefaultDirectoryService.getSession(org.apache.directory.shared.ldap.name.DN principalDn,
byte[] credentials,
String saslMechanism,
String saslAuthId) |
CoreSession |
DirectoryService.getSession(org.apache.directory.shared.ldap.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 |
MockDirectoryService.getSession(LdapPrincipal principal) |
CoreSession |
DefaultDirectoryService.getSession(LdapPrincipal principal) |
CoreSession |
DirectoryService.getSession(LdapPrincipal principal)
Gets a logical session to perform operations on this DirectoryService
as a specific user.
|
Constructor and Description |
---|
GroupCache(CoreSession session)
Creates a static group cache.
|
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 | Field and Description |
---|---|
protected CoreSession |
AbstractOperationContext.session
The core session
|
Modifier and Type | Method and Description |
---|---|
CoreSession |
BindOperationContext.getSession() |
CoreSession |
OperationContext.getSession()
Gets the session associated with this operation.
|
CoreSession |
AbstractOperationContext.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
BindOperationContext.setSession(CoreSession session) |
protected void |
AbstractOperationContext.setSession(CoreSession session) |
Constructor and Description |
---|
AbstractChangeOperationContext(CoreSession session) |
AbstractChangeOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn) |
AbstractOperationContext(CoreSession session)
Creates a new instance of AbstractOperationContext.
|
AbstractOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn)
Creates a new instance of AbstractOperationContext.
|
AddContextPartitionOperationContext(CoreSession session,
Partition partition)
Creates a new instance of AddContextPartitionOperationContext.
|
AddOperationContext(CoreSession session)
Creates a new instance of AddOperationContext.
|
AddOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn)
Creates a new instance of AddOperationContext.
|
AddOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
org.apache.directory.shared.ldap.entry.ServerEntry entry)
Creates a new instance of ModifyOperationContext.
|
AddOperationContext(CoreSession session,
org.apache.directory.shared.ldap.message.internal.InternalAddRequest addRequest) |
AddOperationContext(CoreSession session,
org.apache.directory.shared.ldap.entry.ServerEntry 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.shared.ldap.name.DN dn)
Creates a new instance of CompareOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
String oid)
Creates a new instance of LookupOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
String oid,
org.apache.directory.shared.ldap.entry.Value<?> value)
Creates a new instance of LookupOperationContext.
|
CompareOperationContext(CoreSession session,
org.apache.directory.shared.ldap.message.internal.InternalCompareRequest compareRequest) |
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.shared.ldap.name.DN deleteDn)
Creates a new instance of DeleteOperationContext.
|
DeleteOperationContext(CoreSession session,
org.apache.directory.shared.ldap.message.internal.InternalDeleteRequest deleteRequest) |
EmptyOperationContext(CoreSession session)
Creates a new instance of EmptyOperationContext.
|
EntryOperationContext(CoreSession session)
Creates a new instance of EntryOperationContext.
|
EntryOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN entryDn)
Creates a new instance of EntryOperationContext.
|
GetMatchedNameOperationContext(CoreSession session)
Creates a new instance of GetMatchedNameOperationContext.
|
GetMatchedNameOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn)
Creates a new instance of GetMatchedNameOperationContext.
|
GetRootDSEOperationContext(CoreSession session)
Creates a new instance of GetRootDSEOperationContext.
|
GetRootDSEOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn)
Creates a new instance of GetRootDSEOperationContext.
|
GetSuffixOperationContext(CoreSession session)
Creates a new instance of GetSuffixOperationContext.
|
GetSuffixOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn)
Creates a new instance of GetSuffixOperationContext.
|
ListOperationContext(CoreSession session)
Creates a new instance of ListOperationContext.
|
ListOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn)
Creates a new instance of ListOperationContext.
|
ListOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
Set<org.apache.directory.shared.ldap.schema.AttributeTypeOptions> returningAttributes)
Creates a new instance of ListOperationContext with attributes to return.
|
ListSuffixOperationContext(CoreSession session)
Creates a new instance of ListSuffixOperationContext.
|
ListSuffixOperationContext(CoreSession session,
org.apache.directory.shared.ldap.schema.registries.Registries registries,
org.apache.directory.shared.ldap.name.DN dn)
Creates a new instance of ListSuffixOperationContext.
|
LookupOperationContext(CoreSession session)
Creates a new instance of LookupOperationContext.
|
LookupOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn)
Creates a new instance of LookupOperationContext.
|
LookupOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
String[] attrsId)
Creates a new instance of LookupOperationContext.
|
LookupOperationContext(CoreSession session,
String[] attrsId)
Creates a new instance of LookupOperationContext.
|
ModifyOperationContext(CoreSession session)
Creates a new instance of ModifyOperationContext.
|
ModifyOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
List<org.apache.directory.shared.ldap.entry.Modification> modItems)
Creates a new instance of ModifyOperationContext.
|
ModifyOperationContext(CoreSession session,
org.apache.directory.shared.ldap.message.internal.InternalModifyRequest modifyRequest) |
MoveAndRenameOperationContext(CoreSession session)
Creates a new instance of MoveAndRenameOperationContext.
|
MoveAndRenameOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN oldDn,
org.apache.directory.shared.ldap.name.DN parent,
org.apache.directory.shared.ldap.name.RDN newRdn,
boolean delOldRdn)
Creates a new instance of MoveAndRenameOperationContext.
|
MoveAndRenameOperationContext(CoreSession session,
org.apache.directory.shared.ldap.message.internal.InternalModifyDnRequest modifyDnRequest) |
MoveOperationContext(CoreSession session)
Creates a new instance of MoveOperationContext.
|
MoveOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN oldDn,
org.apache.directory.shared.ldap.name.DN parent)
Creates a new instance of MoveOperationContext.
|
MoveOperationContext(CoreSession session,
org.apache.directory.shared.ldap.message.internal.InternalModifyDnRequest modifyDnRequest) |
RemoveContextPartitionOperationContext(CoreSession session)
Creates a new instance of RemoveContextPartitionOperationContext.
|
RemoveContextPartitionOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn)
Creates a new instance of RemoveContextPartitionOperationContext.
|
RenameOperationContext(CoreSession session)
Creates a new instance of RenameOperationContext.
|
RenameOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN oldDn,
org.apache.directory.shared.ldap.name.RDN newRdn,
boolean delOldDn)
Creates a new instance of RenameOperationContext.
|
RenameOperationContext(CoreSession session,
org.apache.directory.shared.ldap.message.internal.InternalModifyDnRequest modifyDnRequest) |
SearchingOperationContext(CoreSession session)
Creates a new instance of SearchingOperationContext.
|
SearchingOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn)
Creates a new instance of SearchingOperationContext.
|
SearchingOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
Set<org.apache.directory.shared.ldap.schema.AttributeTypeOptions> returningAttributes)
Creates a new instance of a SearchingOperationContext using one level
scope, with attributes to return.
|
SearchOperationContext(CoreSession session)
Creates a new instance of SearchOperationContext.
|
SearchOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
org.apache.directory.shared.ldap.filter.ExprNode filter,
SearchControls searchControls)
Creates a new instance of SearchOperationContext.
|
SearchOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
org.apache.directory.shared.ldap.filter.SearchScope scope,
org.apache.directory.shared.ldap.filter.ExprNode filter,
Set<org.apache.directory.shared.ldap.schema.AttributeTypeOptions> returningAttributes)
Creates a new instance of SearchOperationContext.
|
SearchOperationContext(CoreSession session,
org.apache.directory.shared.ldap.message.internal.InternalSearchRequest searchRequest)
Creates a new instance of SearchOperationContext.
|
UnbindOperationContext(CoreSession session)
Creates a new instance of UnbindOperationContext.
|
UnbindOperationContext(CoreSession session,
org.apache.directory.shared.ldap.message.internal.InternalUnbindRequest unbindRequest) |
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 | Method and Description |
---|---|
ClonedServerEntry |
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) |
Modifier and Type | Method and Description |
---|---|
Object |
ChangePassword.execute(CoreSession session,
org.apache.directory.shared.ldap.name.DN searchBaseDn) |
Object |
GetPrincipal.execute(CoreSession session,
org.apache.directory.shared.ldap.name.DN base)
Note that the base is a relative path from the existing context.
|
static org.apache.directory.shared.ldap.entry.ServerEntry |
StoreUtils.findPrincipalEntry(CoreSession session,
org.apache.directory.shared.ldap.name.DN searchBaseDn,
String principal)
Finds the ServerEntry associated with the Kerberos principal name.
|
static org.apache.directory.shared.ldap.entry.ServerEntry |
StoreUtils.toServerEntry(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
PrincipalStoreEntry principalEntry)
Creates a ServerEntry for a PrincipalStoreEntry, doing what a state
factory does but for ServerEntry instead of Attributes.
|
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.shared.ldap.message.internal.InternalBindRequest bindRequest) |
Constructor and Description |
---|
CramMd5CallbackHandler(LdapSession ldapSession,
CoreSession adminSession,
org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest)
Creates a new instance of CramMd5CallbackHandler.
|
Constructor and Description |
---|
DigestMd5CallbackHandler(LdapSession ldapSession,
CoreSession adminSession,
org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest)
Creates a new instance of DigestMd5CallbackHandler.
|
Constructor and Description |
---|
GssapiCallbackHandler(LdapSession ldapSession,
CoreSession adminSession,
org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest)
Creates a new instance of GssapiCallbackHandler.
|
Constructor and Description |
---|
PlainSaslServer(LdapSession ldapSession,
CoreSession adminSession,
org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest)
Creates a new instance of PlainSaslServer.
|
Modifier and Type | Method and Description |
---|---|
Object |
GetCatalog.execute(CoreSession session,
org.apache.directory.shared.ldap.name.DN base)
Note that the base is relative to the existing context.
|
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.shared.ldap.name.DN baseDn)
The command pattern execute method.
|
boolean |
LdifLoadFilter.filter(File file,
org.apache.directory.shared.ldap.name.DN dn,
org.apache.directory.shared.ldap.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–2015 The Apache Software Foundation. All rights reserved.