public Collection filter( Collection tuples, OperationScope scope, NextInterceptor next, Collection userGroupNames, Name userName, Attributes userEntry, AuthenticationLevel authenticationLevel, Name entryName, String attrId, Object attrValue, Attributes entry, Collection microOperations ) throws NamingException
public Collection filter( Collection tuples, OperationScope scope, DirectoryPartitionNexusProxy proxy, Collection userGroupNames, Name userName, Attributes userEntry, AuthenticationLevel authenticationLevel, Name entryName, String attrId, Object attrValue, Attributes entry, Collection microOperations ) throws NamingException
    public Collection filter( Collection tuples, OperationScope scope, NextInterceptor next, Collection userGroupNames, Name userName, Attributes userEntry, AuthenticationLevel authenticationLevel, Name entryName, String attrId, Object attrValue, Attributes entry, Collection microOperations ) throws NamingException    {        if( tuples.size() == 0 )        {            return tuples;        }        for( Iterator i = tuples.iterator(); i.hasNext(); )        {            ACITuple tuple = ( ACITuple ) i.next();            if( tuple.isGrant() )            {                if( !isRelated( userGroupNames, userName, userEntry, entryName, tuple.getUserClasses() ) ||                        authenticationLevel.compareTo( tuple.getAuthenticationLevel() ) < 0 )                {                    i.remove();                }            }            else // Denials            {                if( !isRelated( userGroupNames, userName, userEntry, entryName, tuple.getUserClasses() ) &&                        authenticationLevel.compareTo( tuple.getAuthenticationLevel() ) >= 0 )                {                    i.remove();                }            }        }                return tuples;    }