Class UserUtils

java.lang.Object
com.adobe.acs.commons.httpcache.util.UserUtils

public class UserUtils extends Object
Utilities tied to user groups and authentication.
  • Field Details

  • Method Details

    • isAnonymous

      public static boolean isAnonymous(String userId)
      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