public AccessControlPolicyIterator getApplicablePolicies(String absPath) throws RepositoryException {
String oakPath = getOakPath(absPath);
if (!isSupportedPath(oakPath)) {
return AccessControlPolicyIteratorAdapter.EMPTY;
} else {
CugPolicy cug = getCugPolicy(oakPath);
if (cug == null) {
return new AccessControlPolicyIteratorAdapter(ImmutableSet.of(new CugPolicyImpl(oakPath, getNamePathMapper(), principalManager, CugUtil.getImportBehavior(config))));
} else {
return AccessControlPolicyIteratorAdapter.EMPTY;
}