Package org.dogtagpki.server.rest
Class SystemConfigService
- java.lang.Object
-
- com.netscape.cms.servlet.base.PKIService
-
- org.dogtagpki.server.rest.SystemConfigService
-
- All Implemented Interfaces:
SystemConfigResource
public class SystemConfigService extends PKIService implements SystemConfigResource
- Author:
- alee
-
-
Field Summary
Fields Modifier and Type Field Description ConfiguratorconfiguratorEngineConfigcsjava.lang.StringcsStatejava.lang.StringcsSubsystemjava.lang.StringcsTypejava.lang.StringinstanceRootbooleanisMasterCAstatic org.slf4j.Loggerlogger-
Fields inherited from class com.netscape.cms.servlet.base.PKIService
bannerFile, DEFAULT_LONG_CACHE_LIFETIME, DEFAULT_SIZE, headers, MESSAGE_FORMATS, MIN_FILTER_LENGTH, request, servletContext, servletRequest, uriInfo
-
-
Constructor Summary
Constructors Constructor Description SystemConfigService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinalizeConfiguration(FinalizeConfigRequest request)AdminSetupResponsesetupAdmin(AdminSetupRequest request)SystemCertDatasetupCert(CertificateSetupRequest request)-
Methods inherited from class com.netscape.cms.servlet.base.PKIService
createCreatedResponse, createNoContentResponse, createOKResponse, createOKResponse, getBanner, getInstanceDir, getLocale, getParams, getResponseFormat, getResponseFormat, isBannerEnabled, resolveFormat, resolveFormat, sendConditionalGetResponse
-
-
-
-
Field Detail
-
logger
public static final org.slf4j.Logger logger
-
configurator
public Configurator configurator
-
cs
public EngineConfig cs
-
csType
public java.lang.String csType
-
csSubsystem
public java.lang.String csSubsystem
-
csState
public java.lang.String csState
-
isMasterCA
public boolean isMasterCA
-
instanceRoot
public java.lang.String instanceRoot
-
-
Method Detail
-
setupCert
public SystemCertData setupCert(CertificateSetupRequest request) throws java.lang.Exception
- Specified by:
setupCertin interfaceSystemConfigResource- Throws:
java.lang.Exception
-
setupAdmin
public AdminSetupResponse setupAdmin(AdminSetupRequest request) throws java.lang.Exception
- Specified by:
setupAdminin interfaceSystemConfigResource- Throws:
java.lang.Exception
-
finalizeConfiguration
public void finalizeConfiguration(FinalizeConfigRequest request) throws java.lang.Exception
- Specified by:
finalizeConfigurationin interfaceSystemConfigResource- Throws:
java.lang.Exception
-
-