com.xebialabs.deployit.security.permission
Class ReadHandler

java.lang.Object
  extended by com.xebialabs.deployit.security.permission.PermissionHandler
      extended by com.xebialabs.deployit.security.permission.ReadHandler

public class ReadHandler
extends PermissionHandler

Read is the single Permission which can be denied at the moment, therefore it has some more complex logic. Please look carefully at the integration tests if you change something here.


Field Summary
 
Fields inherited from class com.xebialabs.deployit.security.permission.PermissionHandler
ADD_CHILD_NODES_PRIVILEGES, JCR_ADD_CHILD_NODES, JCR_MODIFY_PROPERTIES, JCR_NODE_TYPE_MANAGEMENT, JCR_READ, JCR_REMOVE_CHILD_NODES, JCR_REMOVE_NODE, JCR_VERSION_MANAGEMENT, REMOVE_CHILD_NODES_PRIVILEGES
 
Constructor Summary
ReadHandler()
           
 
Method Summary
 void deny(java.lang.String user, java.util.List<java.lang.String> onConfigurationItems)
           
protected  void handle(java.lang.String user, java.lang.String onConfigurationItem, com.xebialabs.deployit.security.permission.PermissionHandler.Action action)
           
 
Methods inherited from class com.xebialabs.deployit.security.permission.PermissionHandler
grant, handle, hasPermission, limitedPrivileges, limitedPrivileges, permission, permission, privileges, privileges, revoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadHandler

public ReadHandler()
Method Detail

handle

protected void handle(java.lang.String user,
                      java.lang.String onConfigurationItem,
                      com.xebialabs.deployit.security.permission.PermissionHandler.Action action)
Overrides:
handle in class PermissionHandler

deny

public void deny(java.lang.String user,
                 java.util.List<java.lang.String> onConfigurationItems)
Overrides:
deny in class PermissionHandler