Class AccessManager
- java.lang.Object
-
- org.apache.jackrabbit.oak.jcr.security.AccessManager
-
public class AccessManager extends Object
AccessManager
-
-
Constructor Summary
Constructors Constructor Description AccessManager(SessionDelegate delegate, PermissionProvider permissionProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkPermissions(@NotNull String oakPath, @NotNull String actions)
void
checkPermissions(@NotNull Tree tree, @Nullable PropertyState property, long permissions)
boolean
hasPermissions(@NotNull String oakPath, @NotNull String actions)
boolean
hasPermissions(@NotNull Tree tree, @Nullable PropertyState property, long permissions)
-
-
-
Constructor Detail
-
AccessManager
public AccessManager(SessionDelegate delegate, PermissionProvider permissionProvider)
-
-
Method Detail
-
hasPermissions
public boolean hasPermissions(@NotNull @NotNull String oakPath, @NotNull @NotNull String actions)
-
hasPermissions
public boolean hasPermissions(@NotNull @NotNull Tree tree, @Nullable @Nullable PropertyState property, long permissions)
-
checkPermissions
public void checkPermissions(@NotNull @NotNull String oakPath, @NotNull @NotNull String actions) throws RepositoryException
- Throws:
RepositoryException
-
checkPermissions
public void checkPermissions(@NotNull @NotNull Tree tree, @Nullable @Nullable PropertyState property, long permissions) throws RepositoryException
- Throws:
RepositoryException
-
-