Class SubsystemRangeUpdateCLI
java.lang.Object
org.dogtagpki.cli.CLI
org.dogtagpki.cli.CommandCLI
org.dogtagpki.server.cli.ServerCommandCLI
org.dogtagpki.server.cli.SubsystemRangeUpdateCLI
- Author:
- Endi S. Dewata
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.slf4j.Loggerprotected Repository.IDGeneratorprotected Repository.IDGeneratorFields inherited from class CLI
description, exitOnError, formatter, modules, name, options, parent, parser, verbose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidexecute(org.apache.commons.cli.CommandLine cmd) getRequestNextRangeDN(LDAPConfig ldapConfig, DatabaseConfig dbConfig) getSerialNextRangeDN(LDAPConfig ldapConfig, DatabaseConfig dbConfig) voidinit(DatabaseConfig dbConfig) voidupdateRequestNumberRange(PKISocketFactory socketFactory, LdapConnInfo connInfo, LdapAuthInfo authInfo, LDAPConfig ldapConfig, DatabaseConfig dbConfig, String baseDN) voidupdateSerialNumberRange(PKISocketFactory socketFactory, LdapConnInfo connInfo, LdapAuthInfo authInfo, LDAPConfig ldapConfig, DatabaseConfig dbConfig, String baseDN) Methods inherited from class ServerCommandCLI
getAuthInfo, getEngineConfig, getSecurePort, initializeTomcatJSSMethods inherited from class CommandCLI
execute, parseOptionsMethods inherited from class CLI
addModule, addModule, executeCommand, executeCommands, findModule, findModules, getConfig, getDescription, getFullModuleName, getFullName, getManPage, getModule, getModules, getName, getParent, getRoot, handleException, isDeprecated, parseLine, printHelp, printVersion, removeModule, runExternal, runExternal, setDescription, setName
-
Field Details
-
logger
public static final org.slf4j.Logger logger -
requestIDGenerator
-
serialIDGenerator
-
-
Constructor Details
-
SubsystemRangeUpdateCLI
-
-
Method Details
-
createOptions
public void createOptions()- Overrides:
createOptionsin classServerCommandCLI
-
init
- Throws:
Exception
-
getRequestNextRangeDN
public String getRequestNextRangeDN(LDAPConfig ldapConfig, DatabaseConfig dbConfig) throws Exception - Throws:
Exception
-
getSerialNextRangeDN
- Throws:
Exception
-
execute
- Overrides:
executein classCommandCLI- Throws:
Exception
-
updateSerialNumberRange
public void updateSerialNumberRange(PKISocketFactory socketFactory, LdapConnInfo connInfo, LdapAuthInfo authInfo, LDAPConfig ldapConfig, DatabaseConfig dbConfig, String baseDN) throws Exception - Throws:
Exception
-
updateRequestNumberRange
public void updateRequestNumberRange(PKISocketFactory socketFactory, LdapConnInfo connInfo, LdapAuthInfo authInfo, LDAPConfig ldapConfig, DatabaseConfig dbConfig, String baseDN) throws Exception - Throws:
Exception
-