use of org.apache.jackrabbit.rmi.remote.security.RemoteAccessControlEntry in project jackrabbit by apache.
the class ServerAccessControlList method removeAccessControlEntry.
public void removeAccessControlEntry(RemoteAccessControlEntry ace) throws RepositoryException {
if (ace instanceof ServerAccessControlEntry) {
AccessControlEntry lace = ((ServerAccessControlEntry) ace).getAccessControlEntry();
((AccessControlList) getAccessControlPolicy()).removeAccessControlEntry(lace);
} else {
throw new RepositoryException("Unsupported RemoteAccessControlEntry type " + ace.getClass());
}
}
Aggregations