public interface ModifyAce
This interface is not intended to be implemented by bundles. It is implemented by this bundle and may be used by client bundles.
|Modifier and Type||Method and Description|
Add or modify the access control entry for the specified user or group.
void modifyAce(javax.jcr.Session jcrSession, String resourcePath, String principalId, Map<String,String> privileges, String order) throws javax.jcr.RepositoryException
jcrSession- the JCR session of the user updating the user
resourcePath- The absolute path of the resource to apply the ACE to (required)
principalId- The name of the user/group to provision (required)
privileges- Map of privileges to apply. (optional)
changes- The list of changes for this operation (optional)
Copyright © 2017 The Apache Software Foundation. All rights reserved.