private void removeAccessControlEntry ( final AccessControlList acList , final AccessControlEntry acEntry , final String principalName ) throws RepositoryException { if ( ANY_WILDCARD . equals ( principalName ) || acEntry . getPrincipal ( ) . getName ( ) . equals ( principalName ) ) { acList . removeAccessControlEntry ( acEntry ) ; } }
Removes the specified access control entry if the given principal name matches the principal associated with the entry .