public interface AuthorizableWrapper
Modifier and Type | Method and Description |
---|---|
@NotNull org.apache.jackrabbit.api.security.user.Authorizable |
getAuthorizable()
Gets the JackRabbit Authorizable
|
@NotNull java.util.Iterator<org.apache.jackrabbit.api.security.user.Authorizable> |
getDeclaredMembers()
Gets the declared members of this authorizable.
|
@NotNull java.util.Iterator<org.apache.jackrabbit.api.security.user.Group> |
getDeclaredMembership()
Get the groups this authorizable is a member of
|
@NotNull java.util.Iterator<java.lang.String> |
getGroupNames()
Gets a collection of all of the groups this user belongs to including
containing groups.
|
@NotNull java.lang.String |
getId()
Get the id of the current user.
|
@NotNull java.util.Iterator<org.apache.jackrabbit.api.security.user.Authorizable> |
getMembers()
Gets the transitive members of this authorizable.
|
@NotNull java.util.Iterator<org.apache.jackrabbit.api.security.user.Group> |
getMembership()
Gets the transitive membership of this authorizable
|
boolean |
isAdministrator()
Returns true if the authorizable is a user and is the admin user or is a
member of the administrators group.
|
boolean |
isMember(java.lang.String groupName)
Returns true if the authorizable is a member of the group
|
@NotNull @NotNull org.apache.jackrabbit.api.security.user.Authorizable getAuthorizable()
@NotNull @NotNull java.util.Iterator<org.apache.jackrabbit.api.security.user.Authorizable> getDeclaredMembers()
@NotNull @NotNull java.util.Iterator<org.apache.jackrabbit.api.security.user.Group> getDeclaredMembership()
@NotNull @NotNull java.util.Iterator<java.lang.String> getGroupNames()
@NotNull @NotNull java.lang.String getId()
@NotNull @NotNull java.util.Iterator<org.apache.jackrabbit.api.security.user.Authorizable> getMembers()
@NotNull @NotNull java.util.Iterator<org.apache.jackrabbit.api.security.user.Group> getMembership()
boolean isAdministrator()
boolean isMember(java.lang.String groupName)
groupName
- the name of the group to checkCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.