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() <= 1 )        {            return tuples;        }        int maxPrecedence = -1;                // Find the maximum precedence for all tuples.        for( Iterator i = tuples.iterator(); i.hasNext(); )        {            ACITuple tuple = ( ACITuple ) i.next();            if( tuple.getPrecedence() > maxPrecedence )             {                maxPrecedence = tuple.getPrecedence();            }        }                // Remove all tuples whose precedences are not the maximum one.        for( Iterator i = tuples.iterator(); i.hasNext(); )        {            ACITuple tuple = ( ACITuple ) i.next();            if( tuple.getPrecedence() != maxPrecedence )             {                i.remove();            }                    }                return tuples;    }