Uses of Class
org.opends.server.types.Operation
-
Packages that use Operation Package Description org.opends.server.api Contains a number of API declarations for use throughout the Directory Server.org.opends.server.authorization.dseecompat Contains the Directory Server Sun Java System Directory Server Enterprise Edition (dseecompat) compatability access control handler implementation.org.opends.server.authorization.policy Contains the policy based access control handler implementation.org.opends.server.backends.task Contains the code for the Directory Server backend that provides an interface for executing administrative tasks.org.opends.server.core Contains various classes that comprise the core of the Directory Server codebase.org.opends.server.extensions Contains various implementations of Directory Server APIs that are not appropriate for other packages.org.opends.server.protocols Contains various Directory Server connection handler implementations which will be used to accept connections from and perform communication with clients over various protocols.org.opends.server.protocols.jmx Contains the implementation for the Directory Server connection handler that is responsible for interacting with clients using JMX.org.opends.server.protocols.ldap Contains the implementation for the Directory Server connection handler that is responsible for interacting with clients using LDAPv3.org.opends.server.types Contains implementations for a number of Directory Server data types. -
-
Uses of Operation in org.opends.server.api
Methods in org.opends.server.api that return Operation Modifier and Type Method Description abstract Operation
ClientConnection. getOperationInProgress(int messageID)
Retrieves the operation in progress with the specified message ID.Methods in org.opends.server.api with parameters of type Operation Modifier and Type Method Description boolean
AccessControlHandler. canDiscloseInformation(Entry entry, Dn entryDN, Operation operation)
Checks whether the ACIs prevent sending information about the provided entry, or entryDN if entry is null.void
AccessControlHandler. filterEntry(Operation operation, SearchResultEntry unfilteredEntry, AttributeFilter attributeFilter)
Filter the contents of the provided entry such that it no longer contains any attributes or values that the client is not permitted to access.boolean
ClientConnection. hasAllPrivileges(Privilege[] privileges, Operation operation)
Indicates whether the authenticate client has all of the specified privileges.boolean
ClientConnection. hasPrivilege(Privilege privilege, Operation operation)
Indicates whether the authenticated client has the specified privilege.boolean
AccessControlHandler. isAllowed(Dn dn, Operation op, Control control)
Indicates whether the provided control is allowed based on the access control configuration and the specified operation.boolean
AccessControlHandler. isAllowed(Operation operation, Entry entry, Filter filter)
Indicates whether the provided operation search filter is allowed based on the access control configuration.boolean
AccessControlHandler. mayProxy(Entry proxyUser, Entry proxiedUser, Operation operation)
Indicates if the specified proxy user entry can proxy, or act on the behalf of the specified proxied user entry.boolean
AccessControlHandler. maySend(Dn dn, Operation operation, SearchResultReference searchReference)
Indicates whether the provided search result reference may be sent to the client based on the access control configuration.boolean
AccessControlHandler. maySend(Operation operation, SearchResultEntry unfilteredEntry)
Indicates whether the provided search result entry may be sent to the client.abstract boolean
PasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)
Indicates whether the provided password is acceptable for use by the specified user.protected abstract boolean
ClientConnection. sendIntermediateResponseMessage(Operation operation, IntermediateResponse intermediateResponse)
Sends the provided intermediate response message to the client.void
ClientConnection. sendResponse(Operation operation)
Removes the provided operation from the set of operations in progress of this client connection and sends a response to the client based on the information in the provided operation.protected void
ClientConnection. sendResponse(Operation operation, int ldapVersion, SslOptions startTlsOptions)
Removes the provided operation from the set of operations in progress of this client connection and sends a response to the client based on the information in the provided operation.protected boolean
AccessControlHandler. skipAccessCheck(Operation operation)
Check to see if the client entry has BYPASS_ACL privileges for this operation.abstract void
WorkQueue. submitOperation(Operation operation)
Submits an operation to be processed in the server.abstract boolean
WorkQueue. trySubmitOperation(Operation operation)
Tries to submit an operation to be processed in the server, without blocking. -
Uses of Operation in org.opends.server.authorization.dseecompat
Methods in org.opends.server.authorization.dseecompat with parameters of type Operation Modifier and Type Method Description boolean
AciHandler. canDiscloseInformation(Entry entry, Dn entryDN, Operation operation)
void
AciHandler. filterEntry(Operation operation, SearchResultEntry unfilteredEntry, AttributeFilter attributeFilter)
boolean
AciHandler. isAllowed(Dn entryDN, Operation op, Control control)
boolean
AciHandler. isAllowed(Operation operation, Entry entry, Filter filter)
boolean
AciHandler. mayProxy(Entry proxyUser, Entry proxiedUser, Operation op)
boolean
AciHandler. maySend(Dn dn, Operation operation, SearchResultReference reference)
boolean
AciHandler. maySend(Operation operation, SearchResultEntry entry)
Constructors in org.opends.server.authorization.dseecompat with parameters of type Operation Constructor Description AciLDAPOperationContainer(Operation operation, int rights, Entry entry)
Constructor interface for all currently supported LDAP operations.AciLDAPOperationContainer(Operation operation, Entry e, Control c, int rights)
Constructor interface for evaluation of a control.AciLDAPOperationContainer(Operation operation, Entry e, AuthenticationInfo authInfo, int rights)
Constructor interface for evaluation general purpose Operation, entry and rights.. -
Uses of Operation in org.opends.server.authorization.policy
Methods in org.opends.server.authorization.policy with parameters of type Operation Modifier and Type Method Description boolean
PolicyBasedAccessControlHandler. canDiscloseInformation(Entry entry, Dn entryDN, Operation operation)
boolean
PolicyBasedAccessControlHandler. isAllowed(Dn dn, Operation op, Control control)
boolean
PolicyBasedAccessControlHandler. isAllowed(Operation operation, Entry entry, Filter filter)
boolean
PolicyBasedAccessControlHandler. mayProxy(Entry proxyUser, Entry proxiedUser, Operation operation)
boolean
PolicyBasedAccessControlHandler. maySend(Dn dn, Operation operation, SearchResultReference searchReference)
boolean
PolicyBasedAccessControlHandler. maySend(Operation operation, SearchResultEntry unfilteredEntry)
-
Uses of Operation in org.opends.server.backends.task
Methods in org.opends.server.backends.task that return Operation Modifier and Type Method Description Operation
Task. getOperation()
Retrieves the operation used to create this task in the server.Methods in org.opends.server.backends.task with parameters of type Operation Modifier and Type Method Description Task
TaskScheduler. entryToScheduledTask(Entry entry, Operation operation)
Decodes the contents of the provided entry as a scheduled task.void
Task. setOperation(Operation operation)
Specifies the operation used to create this task in the server. -
Uses of Operation in org.opends.server.core
Subclasses of Operation in org.opends.server.core Modifier and Type Class Description class
AbandonOperation
This class defines an operation that may be used to abandon an operation that may already be in progress in the Directory Server.class
AddOperation
This class defines an operation that may be used to add a new entry to the Directory Server.class
BindOperation
This class defines an operation that may be used to authenticate a user to the Directory Server.class
CompareOperation
This class defines an operation that may be used to determine whether a specified entry in the Directory Server contains a given attribute-value pair.class
DeleteOperation
This class defines an operation that may be used to remove an entry from the Directory Server.class
ExtendedOperation
This class defines an extended operation, which can perform virtually any kind of task.class
ModifyDnOperation
This class defines an operation used to move an entry (alter the DN of an entry) in the Directory Server.class
ModifyOperation
This class defines an operation that may be used to modify an entry in the Directory Server.class
SearchOperation
This class defines an operation used to search for entries in the Directory Server.class
UnbindOperation
This class defines an operation that may be used to close the connection between the client and the Directory Server.Methods in org.opends.server.core with parameters of type Operation Modifier and Type Method Description void
DirectoryServer. checkCanEnqueueRequest(Operation operation, boolean isAllowedInLockDownMode)
void
ServerContext. checkCanEnqueueRequest(Operation operation, boolean isAllowedInLockDownMode)
Runs all the necessary checks prior to adding an operation to the work queue.void
BoundedWorkQueueStrategy. enqueueRequest(Operation operation)
void
DirectoryServer. enqueueRequest(Operation operation)
void
QueueingStrategy. enqueueRequest(Operation operation)
Put the request in the queue.void
ServerContext. enqueueRequest(Operation operation)
Adds the provided operation to the work queue so that it will be processed by one of the worker threads.void
SynchronousStrategy. enqueueRequest(Operation operation)
Run the request synchronously.void
WorkQueueStrategy. enqueueRequest(Operation operation)
Put the request in the work queue.boolean
PasswordPolicy. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)
Indicates whether the provided password appears to be acceptable according to the password validators, and adds aPasswordQualityAdviceResponseControl
to the operation's response if requested.boolean
PasswordPolicyState. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)
Indicates whether the provided password appears to be acceptable according to the password validators, and adds aPasswordQualityAdviceResponseControl
to the operation's response if requested.protected boolean
BoundedWorkQueueStrategy. tryEnqueueRequest(Operation op)
Tries to add the provided operation to the work queue if not full so that it will be processed by one of the worker threads.boolean
DirectoryServer. tryEnqueueRequest(Operation operation)
boolean
ServerContext. tryEnqueueRequest(Operation operation)
Tries to add the provided operation to the work queue if not full so that it will be processed by one of the worker threads. -
Uses of Operation in org.opends.server.extensions
Methods in org.opends.server.extensions with parameters of type Operation Modifier and Type Method Description boolean
AttributeValuePasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)
boolean
CharacterSetPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)
boolean
DictionaryPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)
boolean
LengthBasedPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)
boolean
RepeatedCharactersPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)
boolean
SimilarityBasedPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)
boolean
UniqueCharactersPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)
void
TraditionalWorkQueue. submitOperation(Operation operation)
Submits an operation to be processed by one of the worker threads associated with this work queue.boolean
TraditionalWorkQueue. trySubmitOperation(Operation operation)
-
Uses of Operation in org.opends.server.protocols
Methods in org.opends.server.protocols that return Operation Modifier and Type Method Description static Operation
ReactiveHandlersUtils. requestToOperation(org.forgerock.services.context.Context context, Request request)
Returns an operation from the provided request.Methods in org.opends.server.protocols with parameters of type Operation Modifier and Type Method Description static void
ReactiveHandlersUtils. addAttachmentsToOperation(Operation op, Request request, FlowableEmitter<Response> out)
Add to operation the attachments needed for correct behavior of the reactive handlers.static FlowableEmitter<Response>
ReactiveHandlersUtils. getFlowableEmitter(Operation operation)
Returns the reactive emitter attached to the provided operation.static Result
ReactiveHandlersUtils. operationToResult(Operation operation, int ldapVersion, long connectionId, SslOptions sslOptions)
Generates a result from the provided operation.static void
ReactiveHandlersUtils. setResultDetails(Result result, Operation operation, LdapException e, int ldapVersion)
Set details on the provided result with data from an operation. -
Uses of Operation in org.opends.server.protocols.jmx
Methods in org.opends.server.protocols.jmx that return Operation Modifier and Type Method Description Operation
JmxClientConnection. getOperationInProgress(int messageID)
Methods in org.opends.server.protocols.jmx with parameters of type Operation Modifier and Type Method Description protected boolean
JmxClientConnection. sendIntermediateResponseMessage(Operation operation, IntermediateResponse intermediateResponse)
-
Uses of Operation in org.opends.server.protocols.ldap
Methods in org.opends.server.protocols.ldap that return Operation Modifier and Type Method Description Operation
LdapClientConnection. getOperationInProgress(int messageID)
Methods in org.opends.server.protocols.ldap with parameters of type Operation Modifier and Type Method Description protected boolean
LdapClientConnection. sendIntermediateResponseMessage(Operation operation, IntermediateResponse intermediateResponse)
void
LdapClientConnection. sendResponse(Operation operation)
-
Uses of Operation in org.opends.server.types
Methods in org.opends.server.types with parameters of type Operation Modifier and Type Method Description protected static void
Operation. addPostReadResponse(Operation operation, PostReadRequestControl postReadRequest, Entry entry)
Adds the post-read response control to the response if requested.protected static void
Operation. addPreReadResponse(Operation operation, PreReadRequestControl preReadRequest, Entry entry)
Adds the pre-read response control to the response if requested.protected static void
Operation. checkIfBackendIsWritable(LocalBackend<?> backend, Operation op, Dn entryDN, LocalizableMessageDescriptor.Arg1<Object> serverMsg, LocalizableMessageDescriptor.Arg1<Object> backendMsg)
Checks if an update operation can be performed against a backend.protected static LdapException
Operation. createLdapException(Operation operation, Entry entry, Dn entryDN, Result result, Result altResult)
Returns a newLdapException
built from the provided resultCodes and messages.protected static void
Operation. filterNonDisclosableMatchedDN(Operation operation)
Removes the matchedDN from the supplied operation if ACIs prevent its disclosure.static boolean
Operation. processOperationResult(Operation op, PluginResult.OperationResult opResult)
Processes the provided operation result for the provided operation.protected static void
Operation. setResultCodeAndMessageNoInfoDisclosure(Operation operation, Entry entry, Dn entryDN, Result realResult, Result altResult)
Sets the provided resultCodes and messages on the provided operation.
-