info.magnolia.security.app.util
Class UsersWorkspaceUtil

java.lang.Object
  extended by info.magnolia.security.app.util.UsersWorkspaceUtil

public class UsersWorkspaceUtil
extends Object

Utility class for updating ACLs when moving or renaming users and folders in the users workspace.


Constructor Summary
UsersWorkspaceUtil()
           
 
Method Summary
static void updateAcls(javax.jcr.Node node, String previousPath)
          Update ACLs on a user or role node or recursively for all contained users or roles when given a folder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsersWorkspaceUtil

public UsersWorkspaceUtil()
Method Detail

updateAcls

public static void updateAcls(javax.jcr.Node node,
                              String previousPath)
                       throws javax.jcr.RepositoryException
Update ACLs on a user or role node or recursively for all contained users or roles when given a folder.

Throws:
javax.jcr.RepositoryException


Copyright © 2014 Magnolia International Ltd.. All rights reserved.