org.opends.server.authorization.dseecompat
Class AciLDAPOperationContainer

java.lang.Object
  extended by org.opends.server.authorization.dseecompat.AciContainer
      extended by org.opends.server.authorization.dseecompat.AciLDAPOperationContainer
All Implemented Interfaces:
AciEvalContext, AciTargetMatchContext

public class AciLDAPOperationContainer
extends AciContainer

The AciLDAPOperationContainer is an AciContainer extended class that wraps each LDAP operation being evaluated or tested for target matched of an ACI.


Constructor Summary
AciLDAPOperationContainer(ExtendedOperation operation, Entry e, int rights)
          Constructor interface for evaluation of the extended operation.
AciLDAPOperationContainer(LocalBackendAddOperation operation, int rights)
          Constructor interface for the add operation.
AciLDAPOperationContainer(LocalBackendCompareOperation operation, int rights)
          Constructor interface for the compare operation.
AciLDAPOperationContainer(LocalBackendDeleteOperation operation, int rights)
          Constructor interface for the delete operation.
AciLDAPOperationContainer(LocalBackendModifyDNOperation operation, int rights, Entry entry)
          Constructor interface for the modify DN operation.
AciLDAPOperationContainer(LocalBackendModifyOperation operation, int rights)
          Constructor interface for the modify operation.
AciLDAPOperationContainer(Operation operation, Entry e, Control c, int rights)
          Constructor interface for evaluation of a control.
AciLDAPOperationContainer(SearchOperation operation, int rights, SearchResultEntry entry)
          Constructor interface for the LDAP search operation.
 
Method Summary
 java.util.List<Modification> getModifications()
          Retrieve the list of modifications if this is a LDAP modify.
 SearchResultEntry getSearchResultEntry()
          Retrieve the search result entry of the search operation.
 
Methods inherited from class org.opends.server.authorization.dseecompat.AciContainer
addTargAttrFiltersMatchAci, clearEvalAttributes, getAllowList, getClientDN, getClientEntry, getControlOID, getCurrentAttributeType, getCurrentAttributeValue, getDecidingAciName, getDenyList, getEvalReason, getEvalSummary, getExtOpOID, getHostName, getRemoteAddress, getResourceDN, getResourceEntry, getRights, getSpecificAttributes, getTargAttrFiltersAciName, getTargAttrFiltersMatch, hasAllOpAttributes, hasAllUserAttributes, hasAuthenticationMethod, hasEntryTestRule, hasEvalOpAttributes, hasEvalUserAttributes, hasGetEffectiveRightsControl, hasRights, hasSeenEntry, hasTargAttrFiltersMatchAci, hasTargAttrFiltersMatchOp, isAddOperation, isAnonymousUser, isAuthzidAuthorizationDN, isDenyEval, isFirstAttribute, isGetEffectiveRightsEval, isMemberOf, isProxiedAuthorization, isTargAttrFilterMatchAciEmpty, resetEffectiveRightsParams, rightToString, setAllowList, setControlOID, setCurrentAttributeType, setCurrentAttributeValue, setDecidingAci, setDenyEval, setDenyList, setEntryTestRule, setEvalOpAttributes, setEvalReason, setEvalSummary, setEvalUserAttributes, setExtOpOID, setGetEffectiveRightsEval, setIsFirstAttribute, setRights, setSeenEntry, setTargAttrFiltersAciName, setTargAttrFiltersMatch, setTargAttrFiltersMatchOp, useAuthzid, useFullResourceEntry, useOrigAuthorizationEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AciLDAPOperationContainer

public AciLDAPOperationContainer(LocalBackendCompareOperation operation,
                                 int rights)
Constructor interface for the compare operation.

Parameters:
operation - The compare operation to evaluate.
rights - The rights of a compare operation.

AciLDAPOperationContainer

public AciLDAPOperationContainer(Operation operation,
                                 Entry e,
                                 Control c,
                                 int rights)
Constructor interface for evaluation of a control.

Parameters:
operation - The operation to use in the evaluation.
e - An entry built especially for evaluation.
c - The control to evaluate.
rights - The rights of a control.

AciLDAPOperationContainer

public AciLDAPOperationContainer(ExtendedOperation operation,
                                 Entry e,
                                 int rights)
Constructor interface for evaluation of the extended operation.

Parameters:
operation - The extended operation to evaluate.
e - An entry built especially for evaluation.
rights - The rights of a extended operation.

AciLDAPOperationContainer

public AciLDAPOperationContainer(LocalBackendAddOperation operation,
                                 int rights)
Constructor interface for the add operation.

Parameters:
operation - The add operation to evaluate.
rights - The rights of an add operation.

AciLDAPOperationContainer

public AciLDAPOperationContainer(LocalBackendDeleteOperation operation,
                                 int rights)
Constructor interface for the delete operation.

Parameters:
operation - The add operation to evaluate.
rights - The rights of a delete operation.

AciLDAPOperationContainer

public AciLDAPOperationContainer(LocalBackendModifyOperation operation,
                                 int rights)
Constructor interface for the modify operation.

Parameters:
rights - The rights of modify operation.
operation - The add operation to evaluate.

AciLDAPOperationContainer

public AciLDAPOperationContainer(LocalBackendModifyDNOperation operation,
                                 int rights,
                                 Entry entry)
Constructor interface for the modify DN operation.

Parameters:
operation - The modify DN operation.
rights - The rights of the modify DN operation.
entry - The entry to evalauted for this modify DN.

AciLDAPOperationContainer

public AciLDAPOperationContainer(SearchOperation operation,
                                 int rights,
                                 SearchResultEntry entry)
Constructor interface for the LDAP search operation.

Parameters:
operation - The search operation.
rights - The rights of a search operation.
entry - The entry to be evaluated for this search.
Method Detail

getSearchResultEntry

public SearchResultEntry getSearchResultEntry()
Retrieve the search result entry of the search operation.

Returns:
The search result entry.

getModifications

public java.util.List<Modification> getModifications()
Retrieve the list of modifications if this is a LDAP modify.

Returns:
The list of LDAP modifications to made on the resource entry.