Package com.day.cq.security.privileges
Interface PrivilegeStore
-
public interface PrivilegeStore
Deprecated.CQ 5.5Storage forPrivileges'
optional configuration data.
ReleavesPrivilegeFactories
from the management and possible errors on protection etc. The Store provieds aNode
for each Privilege-Authorizable combination. Which can be further used as persistence. The Store must enforce proper access-rights.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Node
getPrivilegeNode(Authorizable authorizable, java.lang.String privilegePath)
Deprecated.java.util.Collection<java.lang.String>
getPrivileges(Authorizable authorizable)
Deprecated.boolean
hasPrivilege(Authorizable authorizable, java.lang.String privilegePath)
Deprecated.void
removePrivilege(Authorizable authorizable, java.lang.String privilegePath)
Deprecated.void
setPrivilege(Authorizable authorizable, java.lang.String privilegePath)
Deprecated.
-
-
-
Method Detail
-
hasPrivilege
boolean hasPrivilege(Authorizable authorizable, java.lang.String privilegePath) throws AccessDeniedException
Deprecated.- Throws:
AccessDeniedException
-
getPrivilegeNode
Node getPrivilegeNode(Authorizable authorizable, java.lang.String privilegePath) throws AccessDeniedException
Deprecated.- Throws:
AccessDeniedException
-
getPrivileges
java.util.Collection<java.lang.String> getPrivileges(Authorizable authorizable) throws AccessDeniedException
Deprecated.- Throws:
AccessDeniedException
-
setPrivilege
void setPrivilege(Authorizable authorizable, java.lang.String privilegePath) throws AccessDeniedException
Deprecated.- Throws:
AccessDeniedException
-
removePrivilege
void removePrivilege(Authorizable authorizable, java.lang.String privilegePath) throws AccessDeniedException
Deprecated.- Throws:
AccessDeniedException
-
-