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 ConfigCertApprovalCallback
protected EngineConfig
protected CMSEngine
static final org.slf4j.Logger
protected ServerConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PKIClient
createClient
(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) void
void
setServerConfig
(ServerConfig serverConfig)
-
Field Details
-
logger
public static final org.slf4j.Logger logger -
certApprovalCallback
-
engine
-
cs
-
serverConfig
-
-
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
-
setServerConfig
- Throws:
Exception
-
getInstallToken
public String getInstallToken(String sdhost, int sdport, String user, String passwd) throws Exception - Throws:
Exception
-
getOldCookie
- Throws:
Exception
-
getContentValue
-