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