org.apache.ldap.server.authz.support
Class RelatedProtectedItemFilter
java.lang.Object
org.apache.ldap.server.authz.support.RelatedProtectedItemFilter
- All Implemented Interfaces:
- ACITupleFilter
public class RelatedProtectedItemFilter
- extends java.lang.Object
- implements ACITupleFilter
An ACITupleFilter
that discards all tuples whose ProtectedItem
s
are not related with the operation. (18.8.3.2, X.501)
- Version:
- $Rev: 326422 $, $Date: 2005-10-19 03:07:55 -0400 (Wed, 19 Oct 2005) $
- Author:
- The Apache Directory Project
Method Summary |
java.util.Collection |
filter(java.util.Collection tuples,
OperationScope scope,
DirectoryPartitionNexusProxy proxy,
java.util.Collection userGroupNames,
javax.naming.Name userName,
javax.naming.directory.Attributes userEntry,
org.apache.ldap.common.aci.AuthenticationLevel authenticationLevel,
javax.naming.Name entryName,
java.lang.String attrId,
java.lang.Object attrValue,
javax.naming.directory.Attributes entry,
java.util.Collection microOperations)
Returns the collection of the filtered tuples using the specified
extra information. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelatedProtectedItemFilter
public RelatedProtectedItemFilter(AttributeTypeRegistry attrTypeRegistry,
RefinementEvaluator refinementEvaluator,
Evaluator entryEvaluator)
filter
public java.util.Collection filter(java.util.Collection tuples,
OperationScope scope,
DirectoryPartitionNexusProxy proxy,
java.util.Collection userGroupNames,
javax.naming.Name userName,
javax.naming.directory.Attributes userEntry,
org.apache.ldap.common.aci.AuthenticationLevel authenticationLevel,
javax.naming.Name entryName,
java.lang.String attrId,
java.lang.Object attrValue,
javax.naming.directory.Attributes entry,
java.util.Collection microOperations)
throws javax.naming.NamingException
- Description copied from interface:
ACITupleFilter
- Returns the collection of the filtered tuples using the specified
extra information.
- Specified by:
filter
in interface ACITupleFilter
- Parameters:
tuples
- the collection of tuples to filterscope
- the scope of the operation to be performedproxy
- the proxy interceptor for this filter to access the DITuserGroupNames
- the collection of group (Name
)s which the current user belongs touserName
- the Name
of the current useruserEntry
- the Attributes
of the current user entry in the DITauthenticationLevel
- the level of authentication of the current userentryName
- the Name
of the entry the current user accessesattrId
- the attribute ID the current user accessesattrValue
- the value of the attribute the current user accessesentry
- the Attributes
of the entry the current user accessesmicroOperations
- the set of MicroOperation
s the current user will perform
- Returns:
- the collection of filtered tuples
- Throws:
javax.naming.NamingException
- if failed to filter the specifiec tuples
Copyright © 2002-2005 . All Rights Reserved.