Package com.day.cq.security.privileges
Interface PrivilegeStore
-
public interface PrivilegeStoreDeprecated.CQ 5.5Storage forPrivileges'optional configuration data.
ReleavesPrivilegeFactoriesfrom the management and possible errors on protection etc. The Store provieds aNodefor 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 javax.jcr.NodegetPrivilegeNode(Authorizable authorizable, java.lang.String privilegePath)Deprecated.getPrivilegeNode.java.util.Collection<java.lang.String>getPrivileges(Authorizable authorizable)Deprecated.getPrivileges.booleanhasPrivilege(Authorizable authorizable, java.lang.String privilegePath)Deprecated.hasPrivilege.voidremovePrivilege(Authorizable authorizable, java.lang.String privilegePath)Deprecated.removePrivilege.voidsetPrivilege(Authorizable authorizable, java.lang.String privilegePath)Deprecated.setPrivilege.
-
-
-
Method Detail
-
hasPrivilege
boolean hasPrivilege(Authorizable authorizable, java.lang.String privilegePath) throws javax.jcr.AccessDeniedException
Deprecated.hasPrivilege.
- Parameters:
authorizable- aAuthorizableobject.privilegePath- aStringobject.- Returns:
- a boolean.
- Throws:
javax.jcr.AccessDeniedException- if any.
-
getPrivilegeNode
javax.jcr.Node getPrivilegeNode(Authorizable authorizable, java.lang.String privilegePath) throws javax.jcr.AccessDeniedException
Deprecated.getPrivilegeNode.
- Parameters:
authorizable- aAuthorizableobject.privilegePath- aStringobject.- Returns:
- a
Nodeobject. - Throws:
javax.jcr.AccessDeniedException- if any.
-
getPrivileges
java.util.Collection<java.lang.String> getPrivileges(Authorizable authorizable) throws javax.jcr.AccessDeniedException
Deprecated.getPrivileges.
- Parameters:
authorizable- aAuthorizableobject.- Returns:
- a
Collectionobject. - Throws:
javax.jcr.AccessDeniedException- if any.
-
setPrivilege
void setPrivilege(Authorizable authorizable, java.lang.String privilegePath) throws javax.jcr.AccessDeniedException
Deprecated.setPrivilege.
- Parameters:
authorizable- aAuthorizableobject.privilegePath- aStringobject.- Throws:
javax.jcr.AccessDeniedException- if any.
-
removePrivilege
void removePrivilege(Authorizable authorizable, java.lang.String privilegePath) throws javax.jcr.AccessDeniedException
Deprecated.removePrivilege.
- Parameters:
authorizable- aAuthorizableobject.privilegePath- aStringobject.- Throws:
javax.jcr.AccessDeniedException- if any.
-
-