Class ReadPolicy
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol.ReadPolicy
-
- All Implemented Interfaces:
AccessControlPolicy,NamedAccessControlPolicy
public final class ReadPolicy extends Object implements NamedAccessControlPolicy
-
-
Field Summary
Fields Modifier and Type Field Description static NamedAccessControlPolicyINSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns the name of the access control policy, which is JCR name and should be unique among the choices applicable to any particular node.static booleanhasEffectiveReadPolicy(@NotNull Collection<String> readPaths, @Nullable String oakPath)
-
-
-
Field Detail
-
INSTANCE
public static final NamedAccessControlPolicy INSTANCE
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:NamedAccessControlPolicyReturns the name of the access control policy, which is JCR name and should be unique among the choices applicable to any particular node.- Specified by:
getNamein interfaceNamedAccessControlPolicy- Returns:
- the name of the access control policy. A JCR name.
-
hasEffectiveReadPolicy
public static boolean hasEffectiveReadPolicy(@NotNull @NotNull Collection<String> readPaths, @Nullable @Nullable String oakPath)
-
-