Package com.day.cq.security.privileges
Interface PrivilegeStore
public interface PrivilegeStore
Deprecated.
CQ 5.5
Storage for
Releaves
Privileges'
optional configuration data.Releaves
PrivilegeFactories from the management and possible errors on protection etc.
The Store provieds a Node for each
Privilege-Authorizable combination. Which can be further used as persistence.
The Store must enforce proper access-rights.-
Method Summary
Modifier and TypeMethodDescriptiongetPrivilegeNode(Authorizable authorizable, String privilegePath) Deprecated.getPrivilegeNode.getPrivileges(Authorizable authorizable) Deprecated.getPrivileges.booleanhasPrivilege(Authorizable authorizable, String privilegePath) Deprecated.hasPrivilege.voidremovePrivilege(Authorizable authorizable, String privilegePath) Deprecated.removePrivilege.voidsetPrivilege(Authorizable authorizable, String privilegePath) Deprecated.setPrivilege.
-
Method Details
-
hasPrivilege
Deprecated.hasPrivilege.
- Parameters:
authorizable- aAuthorizableobject.privilegePath- aStringobject.- Returns:
- a boolean.
- Throws:
AccessDeniedException- if any.
-
getPrivilegeNode
Deprecated.getPrivilegeNode.
- Parameters:
authorizable- aAuthorizableobject.privilegePath- aStringobject.- Returns:
- a
Nodeobject. - Throws:
AccessDeniedException- if any.
-
getPrivileges
Deprecated.getPrivileges.
- Parameters:
authorizable- aAuthorizableobject.- Returns:
- a
Collectionobject. - Throws:
AccessDeniedException- if any.
-
setPrivilege
Deprecated.setPrivilege.
- Parameters:
authorizable- aAuthorizableobject.privilegePath- aStringobject.- Throws:
AccessDeniedException- if any.
-
removePrivilege
Deprecated.removePrivilege.
- Parameters:
authorizable- aAuthorizableobject.privilegePath- aStringobject.- Throws:
AccessDeniedException- if any.
-