| Modifier and Type | Method and Description |
|---|---|
private void |
DefaultOperationManager.eagerlyPopulateFields(OperationContext opContext)
Eagerly populates fields of operation contexts so multiple Interceptors
in the processing pathway can reuse this value without performing a
redundant lookup operation.
|
private org.apache.directory.api.ldap.model.entry.Entry |
DefaultOperationManager.getOriginalEntry(OperationContext opContext) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<OperationContext> |
CoreSession.getOutstandingOperations()
Gets all outstanding operations currently being performed that have yet
to be completed.
|
| Modifier and Type | Method and Description |
|---|---|
protected Interceptor |
BaseInterceptor.getNextInterceptor(OperationContext operationContext)
Computes the next interceptor to call for a given operation.
|
static LdapPrincipal |
BaseInterceptor.getPrincipal(OperationContext opContext)
Returns
LdapPrincipal of current context. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ChangeOperationContext
Operations (write based) causing changes extend this interface.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractChangeOperationContext
An abstract base class used by all change inducing operations.
|
class |
AbstractOperationContext
This abstract class stores common context elements, like the Dn, which is used
in all the contexts.
|
class |
AddOperationContext
A Add context used for Interceptors.
|
class |
BindOperationContext
A Bind context used for Interceptors.
|
class |
CompareOperationContext
A Compare context used for Interceptors.
|
class |
DeleteOperationContext
A Delete context used for Interceptors.
|
class |
EmptyOperationContext
An EmptySuffix context used for Interceptors.
|
class |
FilteringOperationContext
A context used to store the filter used to manage the Attributes the user
ha srequested.
|
class |
GetRootDseOperationContext
A GetRootDse context used for Interceptors.
|
class |
HasEntryOperationContext
A Entry context used for Interceptors.
|
class |
LookupOperationContext
A context for tracking lookup operations.
|
class |
ModifyOperationContext
A Modify context used for Interceptors.
|
class |
MoveAndRenameOperationContext
A Move And Rename context used for Interceptors.
|
class |
MoveOperationContext
A Move context used for Interceptors.
|
class |
RenameOperationContext
A RenameService context used for Interceptors.
|
class |
SearchOperationContext
A Search context used for Interceptors.
|
class |
UnbindOperationContext
A Unbind context used for Interceptors.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
SchemaPartition.updateSchemaModificationAttributes(OperationContext opContext)
Updates the schemaModifiersName and schemaModifyTimestamp attributes of
the schemaModificationAttributes entry for the global schema at
ou=schemaModifications,ou=schema.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
AuthenticationInterceptor.check(OperationContext operationContext,
org.apache.directory.api.ldap.model.entry.Entry entry,
byte[] password,
PasswordPolicyConfiguration policyConfig) |
private void |
AuthenticationInterceptor.checkAuthenticated(OperationContext operation)
Check if the current operation has a valid PrincipalDN or not.
|
private void |
AuthenticationInterceptor.checkPwdReset(OperationContext opContext)
checks to see if the user's password should be changed before performing any operations
other than bind, password update, unbind, abandon or StartTLS
|
private boolean |
AuthenticationInterceptor.isPwdTooYoung(OperationContext operationContext,
org.apache.directory.api.ldap.model.entry.Entry userEntry,
PasswordPolicyConfiguration policyConfig)
checks if the password is too young
|
| Modifier and Type | Method and Description |
|---|---|
private void |
AciAuthorizationInterceptor.addPerscriptiveAciTuples(OperationContext opContext,
java.util.Collection<org.apache.directory.api.ldap.aci.ACITuple> tuples,
org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.api.ldap.model.entry.Entry entry)
Adds perscriptiveACI tuples to a collection of tuples by accessing the
tupleCache.
|
private void |
AciAuthorizationInterceptor.addSubentryAciTuples(OperationContext opContext,
java.util.Collection<org.apache.directory.api.ldap.aci.ACITuple> tuples,
org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.api.ldap.model.entry.Entry entry)
Adds the set of subentryACI tuples to a collection of tuples.
|
private boolean |
AciAuthorizationInterceptor.filter(OperationContext opContext,
org.apache.directory.api.ldap.model.name.Dn normName,
org.apache.directory.api.ldap.model.entry.Entry clonedEntry) |
private boolean |
DefaultAuthorizationInterceptor.isSearchable(OperationContext opContext,
org.apache.directory.api.ldap.model.entry.Entry entry) |
private void |
AciAuthorizationInterceptor.protectCriticalEntries(OperationContext opCtx,
org.apache.directory.api.ldap.model.name.Dn dn) |
private void |
DefaultAuthorizationInterceptor.protectDnAlterations(OperationContext opCtx,
org.apache.directory.api.ldap.model.name.Dn dn) |
private void |
DefaultAuthorizationInterceptor.protectModifyAlterations(OperationContext opCtx,
org.apache.directory.api.ldap.model.name.Dn dn) |
| Modifier and Type | Field and Description |
|---|---|
private OperationContext |
AciContext.operationContext
The operation context
|
| Modifier and Type | Method and Description |
|---|---|
OperationContext |
AciContext.getOperationContext() |
| Modifier and Type | Method and Description |
|---|---|
private int |
MaxImmSubFilter.getImmSubCount(OperationContext opContext,
org.apache.directory.api.ldap.model.name.Dn entryName) |
void |
AciContext.setOperationContext(OperationContext operationContext) |
| Constructor and Description |
|---|
AciContext(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
OperationContext operationContext)
Creates a new instance of AciContext.
|
| Modifier and Type | Method and Description |
|---|---|
private org.apache.directory.api.ldap.model.entry.Entry |
ChangeLogInterceptor.getAttributes(OperationContext opContext)
Gets attributes required for modifications.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
EventInterceptor.fire(OperationContext opContext,
EventType type,
DirectoryListener listener)
Call the listener passing it the context.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
ExceptionInterceptor.assertHasEntry(OperationContext opContext,
java.lang.String msg)
Asserts that an entry is present and as a side effect if it is not, creates a LdapNoSuchObjectException, which is
used to set the before exception on the invocation - eventually the exception is thrown.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ServerContext.injectReferralControl(OperationContext opCtx)
Set the referral handling flag into the operation context using
the JNDI value stored into the environment.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
JournalInterceptor.log(OperationContext opCtx,
long revision,
org.apache.directory.api.ldap.model.ldif.LdifEntry ldif)
Log the operation, manage the logs rotations.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
AbstractBTreePartition.setRWLock(OperationContext operationContext)
Set and return the ReadWrite lock we use to protect the backend against concurrent modifications
|
void |
AbstractBTreePartition.updateCache(OperationContext opCtx)
updates the cache based on the type of OperationContext
|
| Modifier and Type | Method and Description |
|---|---|
void |
JdbmPartition.updateCache(OperationContext opCtx) |
| Modifier and Type | Method and Description |
|---|---|
void |
MavibotPartition.updateCache(OperationContext opCtx) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<OperationContext> |
DefaultCoreSession.getOutstandingOperations() |
| Modifier and Type | Method and Description |
|---|---|
private void |
SubentryInterceptor.checkAdministrativeRole(OperationContext opContext,
org.apache.directory.api.ldap.model.name.Dn apDn)
Get the administrativePoint role
|
private boolean |
SubentryInterceptor.hasAdministrativeDescendant(OperationContext opContext,
org.apache.directory.api.ldap.model.name.Dn name)
Checks to see if an entry being renamed has a descendant that is an
administrative point.
|
private boolean |
SubentryInterceptor.isSubentryVisible(OperationContext opContext)
Checks to see if subentries for the search and list operations should be
made visible based on the availability of the search request control
|
| Modifier and Type | Field and Description |
|---|---|
private OperationContext |
AbstractStoredProcedureParameterInjector.opContext |
| Modifier and Type | Method and Description |
|---|---|
OperationContext |
AbstractStoredProcedureParameterInjector.getOperationContext() |
| Modifier and Type | Method and Description |
|---|---|
private void |
TriggerInterceptor.addPrescriptiveTriggerSpecs(OperationContext opContext,
java.util.List<org.apache.directory.api.ldap.trigger.TriggerSpecification> triggerSpecs,
org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.api.ldap.model.entry.Entry entry)
Adds prescriptiveTrigger TriggerSpecificaitons to a collection of
TriggerSpeficaitions by accessing the triggerSpecCache.
|
private java.lang.Object |
TriggerInterceptor.executeProcedure(OperationContext opContext,
java.lang.String procedure,
java.lang.Object[] values) |
private java.lang.Object |
TriggerInterceptor.executeTrigger(OperationContext opContext,
org.apache.directory.api.ldap.trigger.TriggerSpecification tsec,
StoredProcedureParameterInjector injector) |
private java.lang.Object |
TriggerInterceptor.executeTriggers(OperationContext opContext,
java.util.List<org.apache.directory.api.ldap.trigger.TriggerSpecification> triggerSpecs,
StoredProcedureParameterInjector injector) |
java.util.List<java.lang.Object> |
AbstractStoredProcedureParameterInjector.getArgumentsToInject(OperationContext opContext,
java.util.List<org.apache.directory.api.ldap.trigger.StoredProcedureParameter> parameterList) |
java.util.List<java.lang.Object> |
StoredProcedureParameterInjector.getArgumentsToInject(OperationContext opContext,
java.util.List<org.apache.directory.api.ldap.trigger.StoredProcedureParameter> parameterList) |
private org.apache.directory.api.ldap.model.entry.Entry |
DeleteStoredProcedureParameterInjector.getDeletedEntry(OperationContext opContext) |
private org.apache.directory.api.ldap.model.entry.Entry |
ModifyStoredProcedureParameterInjector.getEntry(OperationContext opContext) |
boolean |
TriggerExecutionAuthorizer.hasPermission(OperationContext opContext) |
boolean |
SimpleTriggerExecutionAuthorizer.hasPermission(OperationContext opContext) |
java.lang.Object |
StoredProcedureParameterInjector.MicroInjector.inject(OperationContext opContext,
org.apache.directory.api.ldap.trigger.StoredProcedureParameter param) |
void |
AbstractStoredProcedureParameterInjector.setOperationContext(OperationContext invocation) |
| Constructor and Description |
|---|
AbstractStoredProcedureParameterInjector(OperationContext opContext) |
AddStoredProcedureParameterInjector(OperationContext opContext,
org.apache.directory.api.ldap.model.name.Dn addedEntryName,
org.apache.directory.api.ldap.model.entry.Entry addedEntry) |
DeleteStoredProcedureParameterInjector(OperationContext opContext,
org.apache.directory.api.ldap.model.name.Dn deletedEntryName) |
ModifyDNStoredProcedureParameterInjector(OperationContext opContext,
boolean deleteOldRn,
org.apache.directory.api.ldap.model.name.Rdn oldRDN,
org.apache.directory.api.ldap.model.name.Rdn newRdn,
org.apache.directory.api.ldap.model.name.Dn oldSuperiorDn,
org.apache.directory.api.ldap.model.name.Dn newSuperiorDn,
org.apache.directory.api.ldap.model.name.Dn oldDn,
org.apache.directory.api.ldap.model.name.Dn newDn) |
| Modifier and Type | Method and Description |
|---|---|
static void |
LdapProtocolUtils.setRequestControls(OperationContext opContext,
org.apache.directory.api.ldap.model.message.Request request)
Extracts request controls from a request to populate into an
OperationContext.
|
static void |
LdapProtocolUtils.setResponseControls(OperationContext opContext,
org.apache.directory.api.ldap.model.message.Response response)
Extracts response controls from a an OperationContext to populate into
a Response object.
|
| Modifier and Type | Method and Description |
|---|---|
private ReplicaEventLog |
SyncReplRequestHandler.ConsumerLogEntryChangeListener.getEventLog(OperationContext opCtx) |