public class UserUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
USER_ID_ANONYMOUS
User id for anonymous requests
|
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getUserGroupMembershipNames(org.apache.jackrabbit.api.security.user.User user)
Get the list of names of groups for which this user has a membership.
|
static boolean |
isAnonymous(String userId)
Check if the given user id is anonymous.
|
public static final String USER_ID_ANONYMOUS
public static boolean isAnonymous(String userId)
userId - public static List<String> getUserGroupMembershipNames(org.apache.jackrabbit.api.security.user.User user) throws javax.jcr.RepositoryException
user - javax.jcr.RepositoryExceptionCopyright © 2013–2020 Adobe. All rights reserved.