public class GeoserverUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
changePassword(java.lang.String username,
java.lang.String password)
Change the password on the geoserver.
|
static java.lang.String |
getGeoserverContextURL()
Get the server URL with the Geoserver context.
|
static boolean |
isGeoserverConfigured()
Reports whether geoserver is configured.
|
static void |
writeConfig() |
public static void changePassword(java.lang.String username,
java.lang.String password)
throws MetacatUtilException
httpClient - the HttpClient we will use to post. This should have been used
in the login post.username - the new user namepassword - the new passwordMetacatUtilExceptionpublic static boolean isGeoserverConfigured()
throws MetacatUtilException
MetacatUtilExceptionpublic static void writeConfig()
throws MetacatUtilException
MetacatUtilExceptionpublic static java.lang.String getGeoserverContextURL()
throws edu.ucsb.nceas.utilities.PropertyNotFoundException
edu.ucsb.nceas.utilities.PropertyNotFoundExceptionCopyright © 2020 Regents of the University of California. All Rights Reserved.