public class SizePanel extends WizardPanelBase
AUTH_FAILURE, CONF_CA_CERT, CONF_CA_CERTNICKNAME, CONF_CA_CERTREQ, FAILURE, PCERT_PREFIX, PRE_CA_TYPE, PRE_CONF_ADMIN_NAME, PRE_CONF_AGENT_GROUP, PRE_CONF_CA_TOKEN, PRE_OTHER_CA, PRE_ROOT_CA, SUCCESS
Constructor and Description |
---|
SizePanel() |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Cleans up this panel so that isPanelDone() will return false.
|
void |
createECCKeyPair(java.lang.String token,
java.lang.String curveName,
IConfigStore config,
java.lang.String ct) |
void |
createRSAKeyPair(java.lang.String token,
int keysize,
IConfigStore config,
java.lang.String ct) |
void |
display(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
Display the panel.
|
void |
displayError(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
If validiate() returns false, this method will be called.
|
PropertySet |
getUsage() |
void |
init(WizardServlet servlet,
javax.servlet.ServletConfig config,
int panelno,
java.lang.String id)
Initializes this panel.
|
void |
initParams(javax.servlet.http.HttpServletRequest request,
org.apache.velocity.context.Context context) |
boolean |
isPanelDone()
Is this panel done
|
void |
setSigningAlgorithm(java.lang.String ct,
java.lang.String keyAlgo,
IConfigStore config) |
void |
update(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
Commit parameter changes
|
void |
validate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
Checks if the given parameters are valid.
|
authenticate, deleteCert, deleteEntries, deleteEntry, getCertChainUsingSecureAdminPort, getCertChainUsingSecureEEPort, getDomainXML, getHttpResponse, getHttpResponse, getId, getLocale, getMasterUrlListFromSecurityDomain, getName, getNickname, getPanelNo, getPort, getSecurityDomainAdminPort, getSecurityDomainPort, getSubsystemCert, getSubsystemCount, getTokenInfo, getUrlListFromSecurityDomain, hasSubPanel, importCertChain, init, isLoopbackPanel, isSDHostDomainMaster, isSubPanel, pingCS, reloginSecurityDomain, setId, setName, setPanelNo, shouldSkip, showApplyButton, toLowerCaseSubsystemType, updateCertChain, updateCertChain, updateCertChainUsingSecureEEPort, updateConfigEntries, updateConnectorInfo, updateDomainXML, updateNumberRange, updateOCSPConfig
public void init(WizardServlet servlet, javax.servlet.ServletConfig config, int panelno, java.lang.String id) throws javax.servlet.ServletException
init
in interface IWizardPanel
init
in class WizardPanelBase
javax.servlet.ServletException
public PropertySet getUsage()
getUsage
in interface IWizardPanel
getUsage
in class WizardPanelBase
public void cleanUp() throws java.io.IOException
WizardPanelBase
cleanUp
in interface IWizardPanel
cleanUp
in class WizardPanelBase
java.io.IOException
public boolean isPanelDone()
WizardPanelBase
isPanelDone
in interface IWizardPanel
isPanelDone
in class WizardPanelBase
public void display(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context context)
display
in interface IWizardPanel
display
in class WizardPanelBase
public void validate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context context) throws java.io.IOException
validate
in interface IWizardPanel
validate
in class WizardPanelBase
java.io.IOException
public void update(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context context) throws java.io.IOException, java.lang.NumberFormatException
update
in interface IWizardPanel
update
in class WizardPanelBase
java.io.IOException
java.lang.NumberFormatException
public void createECCKeyPair(java.lang.String token, java.lang.String curveName, IConfigStore config, java.lang.String ct) throws java.security.NoSuchAlgorithmException, org.mozilla.jss.NoSuchTokenException, org.mozilla.jss.crypto.TokenException, org.mozilla.jss.CryptoManager.NotInitializedException
java.security.NoSuchAlgorithmException
org.mozilla.jss.NoSuchTokenException
org.mozilla.jss.crypto.TokenException
org.mozilla.jss.CryptoManager.NotInitializedException
public void createRSAKeyPair(java.lang.String token, int keysize, IConfigStore config, java.lang.String ct) throws java.security.NoSuchAlgorithmException, org.mozilla.jss.NoSuchTokenException, org.mozilla.jss.crypto.TokenException, org.mozilla.jss.CryptoManager.NotInitializedException
java.security.NoSuchAlgorithmException
org.mozilla.jss.NoSuchTokenException
org.mozilla.jss.crypto.TokenException
org.mozilla.jss.CryptoManager.NotInitializedException
public void setSigningAlgorithm(java.lang.String ct, java.lang.String keyAlgo, IConfigStore config)
public void initParams(javax.servlet.http.HttpServletRequest request, org.apache.velocity.context.Context context) throws java.io.IOException
java.io.IOException
public void displayError(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context context)
displayError
in interface IWizardPanel
displayError
in class WizardPanelBase