org.apache.directory.server.core.authz.support
Interface ACITupleFilter

All Known Implementing Classes:
HighestPrecedenceFilter, MaxImmSubFilter, MaxValueCountFilter, MicroOperationFilter, MostSpecificProtectedItemFilter, MostSpecificUserClassFilter, RelatedProtectedItemFilter, RelatedUserClassFilter, RestrictedByFilter

public interface ACITupleFilter

An interface that filters the specified collection of tuples using the specified extra information.

Version:
$Rev: 927146 $, $Date: 2010-03-24 19:39:54 +0100 (Wed, 24 Mar 2010) $
Author:
Apache Directory Project

Method Summary
 java.util.Collection<org.apache.directory.shared.ldap.aci.ACITuple> filter(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager, java.util.Collection<org.apache.directory.shared.ldap.aci.ACITuple> tuples, OperationScope scope, OperationContext opContext, java.util.Collection<org.apache.directory.shared.ldap.name.DN> userGroupNames, org.apache.directory.shared.ldap.name.DN userName, org.apache.directory.shared.ldap.entry.ServerEntry userEntry, org.apache.directory.shared.ldap.constants.AuthenticationLevel authenticationLevel, org.apache.directory.shared.ldap.name.DN entryName, java.lang.String attrId, org.apache.directory.shared.ldap.entry.Value<?> attrValue, org.apache.directory.shared.ldap.entry.ServerEntry entry, java.util.Collection<org.apache.directory.shared.ldap.aci.MicroOperation> microOperations, org.apache.directory.shared.ldap.entry.ServerEntry entryView)
          Returns the collection of the filtered tuples using the specified extra information.
 

Method Detail

filter

java.util.Collection<org.apache.directory.shared.ldap.aci.ACITuple> filter(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager,
                                                                           java.util.Collection<org.apache.directory.shared.ldap.aci.ACITuple> tuples,
                                                                           OperationScope scope,
                                                                           OperationContext opContext,
                                                                           java.util.Collection<org.apache.directory.shared.ldap.name.DN> userGroupNames,
                                                                           org.apache.directory.shared.ldap.name.DN userName,
                                                                           org.apache.directory.shared.ldap.entry.ServerEntry userEntry,
                                                                           org.apache.directory.shared.ldap.constants.AuthenticationLevel authenticationLevel,
                                                                           org.apache.directory.shared.ldap.name.DN entryName,
                                                                           java.lang.String attrId,
                                                                           org.apache.directory.shared.ldap.entry.Value<?> attrValue,
                                                                           org.apache.directory.shared.ldap.entry.ServerEntry entry,
                                                                           java.util.Collection<org.apache.directory.shared.ldap.aci.MicroOperation> microOperations,
                                                                           org.apache.directory.shared.ldap.entry.ServerEntry entryView)
                                                                           throws java.lang.Exception
Returns the collection of the filtered tuples using the specified extra information.

Parameters:
tuples - the collection of tuples to filter
scope - the scope of the operation to be performed
proxy - the proxy interceptor for this filter to access the DIT
userGroupNames - the collection of group (DN)s which the current user belongs to
userName - the DN of the current user
userEntry - the ServerEntry of the current user entry in the DIT
authenticationLevel - the level of authentication of the current user
entryName - the DN of the entry the current user accesses
attrId - the attribute ID the current user accesses
attrValue - the value of the attribute the current user accesses
entry - the ServerEntry of the entry the current user accesses
microOperations - the set of MicroOperations the current user will perform
entryView - in case of a Modify operation, view of the entry being modified as if the modification permitted and completed
Returns:
the collection of filtered tuples
Throws:
javax.naming.NamingException - if failed to filter the specific tuples
java.lang.Exception


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.