|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ucsb.nceas.metacat.util.GeoserverUtil
public class GeoserverUtil
| Method Summary | |
|---|---|
static void |
changePassword(org.apache.commons.httpclient.HttpClient httpClient,
java.lang.String username,
java.lang.String password)
Change the password on the geoserver. |
static boolean |
isGeoserverConfigured()
Reports whether geoserver is configured. |
static void |
loginAdmin(org.apache.commons.httpclient.HttpClient httpClient)
Log in to geoserver as the administrative user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void loginAdmin(org.apache.commons.httpclient.HttpClient httpClient)
throws MetacatUtilException
httpClient - the HttpClient we will use to post. This is passed in since it
may need to be used after login by other methods.
MetacatUtilException
public static void changePassword(org.apache.commons.httpclient.HttpClient httpClient,
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 password
MetacatUtilException
public static boolean isGeoserverConfigured()
throws MetacatUtilException
MetacatUtilException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||