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 String
static final BigInteger
static ConfigCertApprovalCallback
protected EngineConfig
protected CMSEngine
static String
static final org.slf4j.Logger
static final Long
protected ServerXml
static String
-
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
setServerXml
(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
-