Package com.netscape.cms.servlet.csadmin
Class Configurator
java.lang.Object
com.netscape.cms.servlet.csadmin.Configurator
Utility class for functions to be used by the RESTful installer.
- Author:
- alee
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Stringstatic final BigIntegerstatic ConfigCertApprovalCallbackprotected EngineConfigprotected CMSEnginestatic Stringstatic final org.slf4j.Loggerstatic final Longprotected ServerXmlstatic String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PKIClientcreateClient(String serverURL, String clientnickname, org.mozilla.jss.ssl.SSLCertificateApprovalCallback certApprovalCallback) getContentValue(String body, String header) getInstallToken(String sdhost, int sdport, String user, String passwd) getOldCookie(String sdhost, int sdport, String user, String passwd) voidvoidsetServerXml(ServerXml serverXml)
-
Field Details
-
logger
public static final org.slf4j.Logger logger -
SUCCESS
-
FAILURE
-
AUTH_FAILURE
-
BIG_ZERO
-
MINUS_ONE
-
certApprovalCallback
-
engine
-
cs
-
serverXml
-
-
Constructor Details
-
Configurator
-
-
Method Details
-
createClient
public static PKIClient createClient(String serverURL, String clientnickname, org.mozilla.jss.ssl.SSLCertificateApprovalCallback certApprovalCallback) throws Exception - Throws:
Exception
-
setConfigStore
-
setServerXml
- Throws:
Exception
-
getInstallToken
public String getInstallToken(String sdhost, int sdport, String user, String passwd) throws Exception - Throws:
Exception
-
getOldCookie
- Throws:
Exception
-
getContentValue
-