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 NodegetPrivilegeNode(Authorizable authorizable, java.lang.String privilegePath)Deprecated.java.util.Collection<java.lang.String>getPrivileges(Authorizable authorizable)Deprecated.booleanhasPrivilege(Authorizable authorizable, java.lang.String privilegePath)Deprecated.voidremovePrivilege(Authorizable authorizable, java.lang.String privilegePath)Deprecated.voidsetPrivilege(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
 
 - 
 
 -