public class NamePanel 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 |
---|
NamePanel() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
capitalize(java.lang.String s) |
void |
cleanUp()
Cleans up this panel so that isPanelDone() will return false.
|
void |
configCert(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context,
Cert certObj)
create and sign a cert locally (handles both "selfsign" and "local")
|
void |
configCertWithTag(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context,
java.lang.String tag) |
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.
|
java.lang.String |
getURL(javax.servlet.http.HttpServletRequest request,
IConfigStore config) |
PropertySet |
getUsage()
Returns the usage.XXX usage needs to be made dynamic
|
void |
init(javax.servlet.ServletConfig config,
int panelno)
Initializes this panel.
|
void |
init(WizardServlet servlet,
javax.servlet.ServletConfig config,
int panelno,
java.lang.String id) |
void |
initParams(javax.servlet.http.HttpServletRequest request,
org.apache.velocity.context.Context context) |
boolean |
isPanelDone()
Is this panel done
|
void |
update(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
Commit parameter changes
|
void |
updateCloneConfig(IConfigStore config) |
void |
updateConfig(IConfigStore config,
java.lang.String certTag) |
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, isLoopbackPanel, isSDHostDomainMaster, isSubPanel, pingCS, reloginSecurityDomain, setId, setName, setPanelNo, shouldSkip, showApplyButton, toLowerCaseSubsystemType, updateCertChain, updateCertChain, updateCertChainUsingSecureEEPort, updateConfigEntries, updateConnectorInfo, updateDomainXML, updateNumberRange, updateOCSPConfig
public void init(javax.servlet.ServletConfig config, int panelno) throws javax.servlet.ServletException
init
in interface IWizardPanel
init
in class WizardPanelBase
javax.servlet.ServletException
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 java.lang.String capitalize(java.lang.String s)
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 updateCloneConfig(IConfigStore config) throws EBaseException, java.io.IOException
EBaseException
java.io.IOException
public void updateConfig(IConfigStore config, java.lang.String certTag) throws EBaseException, java.io.IOException
EBaseException
java.io.IOException
public void configCert(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context context, Cert certObj) throws java.io.IOException
java.io.IOException
public void configCertWithTag(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context context, java.lang.String tag) throws java.io.IOException
java.io.IOException
public java.lang.String getURL(javax.servlet.http.HttpServletRequest request, IConfigStore config)
public void update(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context context) throws java.io.IOException
update
in interface IWizardPanel
update
in class WizardPanelBase
java.io.IOException
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