Class UserUtils

java.lang.Object
org.gcube.spatial.data.geonetwork.utils.UserUtils

public class UserUtils extends Object
  • Constructor Details

    • UserUtils

      public UserUtils()
  • Method Details

    • parseUserXMLResponse

      public static Set<User> parseUserXMLResponse(String toParse) throws it.geosolutions.geonetwork.exception.GNLibException
      Throws:
      it.geosolutions.geonetwork.exception.GNLibException
    • parseUserJSONResponse

      public static Set<User> parseUserJSONResponse(String toParse) throws it.geosolutions.geonetwork.exception.GNLibException
      Throws:
      it.geosolutions.geonetwork.exception.GNLibException
    • generateRandomUser

      public static User generateRandomUser(Set<User> existing, Integer nameLenght, Integer passwordLength)
    • parseGroupsByUserResponse

      public static Set<Integer> parseGroupsByUserResponse(String toParse) throws it.geosolutions.geonetwork.exception.GNLibException
      Throws:
      it.geosolutions.geonetwork.exception.GNLibException
    • getByName

      public static User getByName(Set<User> toLookInto, String toLookFor)