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 passwordMetacatUtilException
public static boolean isGeoserverConfigured() throws MetacatUtilException
MetacatUtilException
public static void writeConfig() throws MetacatUtilException
MetacatUtilException
public static java.lang.String getGeoserverContextURL() throws edu.ucsb.nceas.utilities.PropertyNotFoundException
edu.ucsb.nceas.utilities.PropertyNotFoundException
Copyright © 2020 Regents of the University of California. All Rights Reserved.