public class UserUtils extends Object
| Constructor and Description |
|---|
UserUtils() |
| Modifier and Type | Method and Description |
|---|---|
static User |
generateRandomUser(Set<User> existing,
Integer nameLenght,
Integer passwordLength) |
static User |
getByName(Set<User> toLookInto,
String toLookFor) |
static Set<Integer> |
parseGroupsByUserResponse(String toParse) |
static Set<User> |
parseUserJSONResponse(String toParse) |
static Set<User> |
parseUserXMLResponse(String toParse) |
public static Set<User> parseUserXMLResponse(String toParse) throws it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNLibExceptionpublic static Set<User> parseUserJSONResponse(String toParse) throws it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNLibExceptionpublic static User generateRandomUser(Set<User> existing, Integer nameLenght, Integer passwordLength)
public static Set<Integer> parseGroupsByUserResponse(String toParse) throws it.geosolutions.geonetwork.exception.GNLibException
it.geosolutions.geonetwork.exception.GNLibExceptionCopyright © 2020. All Rights Reserved.