Class UserUtils
java.lang.Object
org.gcube.spatial.data.geonetwork.utils.UserUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UsergenerateRandomUser(Set<User> existing, Integer nameLenght, Integer passwordLength) static UserparseGroupsByUserResponse(String toParse) parseUserJSONResponse(String toParse) parseUserXMLResponse(String toParse)
-
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
-
parseGroupsByUserResponse
public static Set<Integer> parseGroupsByUserResponse(String toParse) throws it.geosolutions.geonetwork.exception.GNLibException - Throws:
it.geosolutions.geonetwork.exception.GNLibException
-
getByName
-