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 |
|---|---|
void |
cleanUp()
Cleans up this panel so that isPanelDone() will return false.
|
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 |
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, getId, getLocale, getName, getPanelNo, hasSubPanel, isLoopbackPanel, isSubPanel, pingCS, reloginSecurityDomain, setId, setName, setPanelNo, shouldSkip, showApplyButtonpublic void init(javax.servlet.ServletConfig config,
int panelno)
throws javax.servlet.ServletException
init in interface IWizardPanelinit in class WizardPanelBasejavax.servlet.ServletExceptionpublic void init(WizardServlet servlet, javax.servlet.ServletConfig config, int panelno, java.lang.String id) throws javax.servlet.ServletException
init in interface IWizardPanelinit in class WizardPanelBasejavax.servlet.ServletExceptionpublic PropertySet getUsage()
getUsage in interface IWizardPanelgetUsage in class WizardPanelBasepublic void cleanUp()
throws java.io.IOException
WizardPanelBasecleanUp in interface IWizardPanelcleanUp in class WizardPanelBasejava.io.IOExceptionpublic boolean isPanelDone()
WizardPanelBaseisPanelDone in interface IWizardPanelisPanelDone in class WizardPanelBasepublic void display(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
display in interface IWizardPaneldisplay in class WizardPanelBasepublic 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 IWizardPanelvalidate in class WizardPanelBasejava.io.IOExceptionpublic 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.IOExceptionpublic 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 IWizardPanelupdate in class WizardPanelBasejava.io.IOExceptionpublic void initParams(javax.servlet.http.HttpServletRequest request,
org.apache.velocity.context.Context context)
throws java.io.IOException
java.io.IOExceptionpublic void displayError(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
displayError in interface IWizardPaneldisplayError in class WizardPanelBase