public class MostSpecificUserClassFilter extends Object implements ACITupleFilter
ACITupleFilter
that chooses the tuples with the most specific user
class. (18.8.4.2)
If more than one tuple remains, choose the tuples with the most specific user class. If there are any tuples matching the requestor with UserClasses element name or thisEntry, discard all other tuples. Otherwise if there are any tuples matching UserGroup, discard all other tuples. Otherwise if there are any tuples matching subtree, discard all other tuples.
ACI_LOG
Constructor and Description |
---|
MostSpecificUserClassFilter() |
Modifier and Type | Method and Description |
---|---|
Collection<org.apache.directory.api.ldap.aci.ACITuple> |
filter(AciContext aciContext,
OperationScope scope,
org.apache.directory.api.ldap.model.entry.Entry userEntry)
Returns the collection of the filtered tuples using the specified
extra information.
|
public MostSpecificUserClassFilter()
public Collection<org.apache.directory.api.ldap.aci.ACITuple> filter(AciContext aciContext, OperationScope scope, org.apache.directory.api.ldap.model.entry.Entry userEntry) throws org.apache.directory.api.ldap.model.exception.LdapException
filter
in interface ACITupleFilter
aciContext
- the container for ACI itemsscope
- the scope of the operation to be performeduserEntry
- the Entry
of the current user entry in the DITorg.apache.directory.api.ldap.model.exception.LdapException
- if failed to filter the specific tuplesCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.