Class UserUtils
java.lang.Object
com.adobe.acs.commons.httpcache.util.UserUtils
Utilities tied to user groups and authentication.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetUserGroupMembershipNames(org.apache.jackrabbit.api.security.user.User user) Get the list of names of groups for which this user has a membership.static booleanisAnonymous(String userId) Check if the given user id is anonymous.
-
Field Details
-
USER_ID_ANONYMOUS
User id for anonymous requests- See Also:
-
-
Method Details
-
isAnonymous
Check if the given user id is anonymous.- Parameters:
userId-- Returns:
-
getUserGroupMembershipNames
public static List<String> getUserGroupMembershipNames(org.apache.jackrabbit.api.security.user.User user) throws javax.jcr.RepositoryException Get the list of names of groups for which this user has a membership.- Parameters:
user-- Returns:
- Throws:
javax.jcr.RepositoryException
-