public interface ModifyAce
ModifyAce
service api.
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 |
---|---|
void |
modifyAce(javax.jcr.Session jcrSession,
java.lang.String resourcePath,
java.lang.String principalId,
java.util.Map<java.lang.String,java.lang.String> privileges,
java.lang.String order)
Add or modify the access control entry for the specified user
or group.
|
void modifyAce(javax.jcr.Session jcrSession, java.lang.String resourcePath, java.lang.String principalId, java.util.Map<java.lang.String,java.lang.String> privileges, java.lang.String order) throws javax.jcr.RepositoryException
jcrSession
- the JCR session of the user updating the userresourcePath
- 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)javax.jcr.RepositoryException
Copyright © 2018 The Apache Software Foundation. All rights reserved.