org.apache.directory.server.core.authz.support
Class MaxImmSubFilter
java.lang.Object
org.apache.directory.server.core.authz.support.MaxImmSubFilter
- All Implemented Interfaces:
- ACITupleFilter
public class MaxImmSubFilter
- extends java.lang.Object
- implements ACITupleFilter
An ACITupleFilter
that discards all tuples that doesn't satisfy
ProtectedItem.MaxImmSub
constraint if available. (18.8.3.3, X.501)
- Version:
- $Rev: 690042 $, $Date: 2008-08-29 01:14:21 +0200 (Fr, 29 Aug 2008) $
- Author:
- Apache Directory Project
Field Summary |
static java.util.Collection<java.lang.String> |
SEARCH_BYPASS
|
Method Summary |
java.util.Collection<org.apache.directory.shared.ldap.aci.ACITuple> |
filter(Registries registries,
java.util.Collection<org.apache.directory.shared.ldap.aci.ACITuple> tuples,
OperationScope scope,
OperationContext opContext,
java.util.Collection<org.apache.directory.shared.ldap.name.LdapDN> userGroupNames,
org.apache.directory.shared.ldap.name.LdapDN userName,
ServerEntry userEntry,
org.apache.directory.shared.ldap.constants.AuthenticationLevel authenticationLevel,
org.apache.directory.shared.ldap.name.LdapDN entryName,
java.lang.String attrId,
org.apache.directory.shared.ldap.entry.Value<?> attrValue,
ServerEntry entry,
java.util.Collection<org.apache.directory.shared.ldap.aci.MicroOperation> microOperations,
ServerEntry entryView)
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 |
SEARCH_BYPASS
public static final java.util.Collection<java.lang.String> SEARCH_BYPASS
MaxImmSubFilter
public MaxImmSubFilter()
filter
public java.util.Collection<org.apache.directory.shared.ldap.aci.ACITuple> filter(Registries registries,
java.util.Collection<org.apache.directory.shared.ldap.aci.ACITuple> tuples,
OperationScope scope,
OperationContext opContext,
java.util.Collection<org.apache.directory.shared.ldap.name.LdapDN> userGroupNames,
org.apache.directory.shared.ldap.name.LdapDN userName,
ServerEntry userEntry,
org.apache.directory.shared.ldap.constants.AuthenticationLevel authenticationLevel,
org.apache.directory.shared.ldap.name.LdapDN entryName,
java.lang.String attrId,
org.apache.directory.shared.ldap.entry.Value<?> attrValue,
ServerEntry entry,
java.util.Collection<org.apache.directory.shared.ldap.aci.MicroOperation> microOperations,
ServerEntry entryView)
throws java.lang.Exception
- Description copied from interface:
ACITupleFilter
- Returns the collection of the filtered tuples using the specified
extra information.
- Specified by:
filter
in interface ACITupleFilter
tuples
- the collection of tuples to filterscope
- the scope of the operation to be performeduserGroupNames
- the collection of group (LdapDN
)s which the current user belongs touserName
- the LdapDN
of the current useruserEntry
- the ServerEntry
of the current user entry in the DITauthenticationLevel
- the level of authentication of the current userentryName
- the LdapDN
of the entry the current user accessesattrId
- the attribute ID the current user accessesattrValue
- the value of the attribute the current user accessesentry
- the ServerEntry
of the entry the current user accessesmicroOperations
- the set of MicroOperation
s the current user will performentryView
- 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-2009 Apache Software Foundation. All Rights Reserved.