public interface AuthorizablePrivilegesInfo
Modifier and Type | Method and Description |
---|---|
boolean |
canAddGroup(javax.jcr.Session jcrSession)
Checks whether the current user has been granted privileges
to add a new group.
|
boolean |
canAddUser(javax.jcr.Session jcrSession)
Checks whether the current user has been granted privileges
to add a new user.
|
boolean |
canRemove(javax.jcr.Session jcrSession,
String principalId)
Checks whether the current user has been granted privileges
to remove the specified user or group.
|
boolean |
canUpdateGroupMembers(javax.jcr.Session jcrSession,
String groupId)
Checks whether the current user has been granted privileges
to update the membership of the specified group.
|
boolean |
canUpdateProperties(javax.jcr.Session jcrSession,
String principalId)
Checks whether the current user has been granted privileges
to update the properties of the specified user or group.
|
boolean canAddUser(javax.jcr.Session jcrSession)
jcrSession
- the JCR session of the current userboolean canAddGroup(javax.jcr.Session jcrSession)
jcrSession
- the JCR session of the current userboolean canUpdateProperties(javax.jcr.Session jcrSession, String principalId)
jcrSession
- the JCR session of the current userprincipalId
- the user or group id to checkboolean canRemove(javax.jcr.Session jcrSession, String principalId)
jcrSession
- the JCR session of the current userprincipalId
- the user or group id to checkboolean canUpdateGroupMembers(javax.jcr.Session jcrSession, String groupId)
jcrSession
- the JCR session of the current usergroupId
- the group id to checkCopyright © 2017 The Apache Software Foundation. All rights reserved.