public boolean isContainedIn()

in src/main/java/org/apache/sling/jcr/repoinit/impl/AclUtil.java [730:735]


        public boolean isContainedIn(JackrabbitAccessControlEntry other) throws RepositoryException {
            return other.getPrincipal().equals(principal)
                    && contains(other.getPrivilegeCollection(), privilegeNames)
                    && other.isAllow() == isAllow
                    && sameRestrictions(other);
        }