public class WizardPanelBase extends java.lang.Object implements IWizardPanel
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AUTH_FAILURE |
static java.lang.String |
CONF_CA_CERT
Definition for static variables in CS.cfg
|
static java.lang.String |
CONF_CA_CERTNICKNAME |
static java.lang.String |
CONF_CA_CERTREQ |
static java.lang.String |
FAILURE |
static java.lang.String |
PCERT_PREFIX |
static java.lang.String |
PRE_CA_TYPE |
static java.lang.String |
PRE_CONF_ADMIN_NAME |
static java.lang.String |
PRE_CONF_AGENT_GROUP |
static java.lang.String |
PRE_CONF_CA_TOKEN
Definition for "preop" static variables in CS.cfg
-- "preop" config parameters should not assumed to exist after configuation
|
static java.lang.String |
PRE_OTHER_CA |
static java.lang.String |
PRE_ROOT_CA |
static java.lang.String |
SUCCESS |
| Constructor and Description |
|---|
WizardPanelBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(java.lang.String hostname,
int port,
boolean https,
java.lang.String servlet,
java.lang.String uri) |
void |
cleanUp()
Cleans up this panel so that isPanelDone() will return false.
|
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 |
getId() |
java.util.Locale |
getLocale(javax.servlet.http.HttpServletRequest req)
Retrieves locale based on the request.
|
java.lang.String |
getName() |
int |
getPanelNo() |
PropertySet |
getUsage() |
boolean |
hasSubPanel()
has subPanels?
|
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) |
boolean |
isLoopbackPanel() |
boolean |
isPanelDone()
Is this panel done
|
boolean |
isSubPanel()
Is this a subPanel?
|
java.lang.String |
pingCS(java.lang.String hostname,
int port,
boolean https,
org.mozilla.jss.ssl.SSLCertificateApprovalCallback certApprovalCallback) |
void |
reloginSecurityDomain(javax.servlet.http.HttpServletResponse response) |
void |
setId(java.lang.String id) |
void |
setName(java.lang.String name) |
void |
setPanelNo(int num) |
boolean |
shouldSkip()
Should we skip this panel?
|
boolean |
showApplyButton()
Show "Apply" button on frame?
|
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.
|
public static java.lang.String PCERT_PREFIX
public static java.lang.String SUCCESS
public static java.lang.String FAILURE
public static java.lang.String AUTH_FAILURE
public static final java.lang.String CONF_CA_CERT
public static final java.lang.String CONF_CA_CERTREQ
public static final java.lang.String CONF_CA_CERTNICKNAME
public static final java.lang.String PRE_CONF_ADMIN_NAME
public static final java.lang.String PRE_CONF_AGENT_GROUP
public static final java.lang.String PRE_CONF_CA_TOKEN
public static final java.lang.String PRE_CA_TYPE
public static final java.lang.String PRE_OTHER_CA
public static final java.lang.String PRE_ROOT_CA
public void init(javax.servlet.ServletConfig config,
int panelno)
throws javax.servlet.ServletException
init in interface IWizardPaneljavax.servlet.ServletExceptionpublic void init(WizardServlet servlet, javax.servlet.ServletConfig config, int panelno, java.lang.String id) throws javax.servlet.ServletException
init in interface IWizardPaneljavax.servlet.ServletExceptionpublic void cleanUp()
throws java.io.IOException
cleanUp in interface IWizardPaneljava.io.IOExceptionpublic java.lang.String getName()
getName in interface IWizardPanelpublic int getPanelNo()
getPanelNo in interface IWizardPanelpublic void setPanelNo(int num)
public void setName(java.lang.String name)
public void setId(java.lang.String id)
setId in interface IWizardPanelpublic java.lang.String getId()
getId in interface IWizardPanelpublic PropertySet getUsage()
getUsage in interface IWizardPanelpublic boolean shouldSkip()
shouldSkip in interface IWizardPanelpublic boolean isPanelDone()
isPanelDone in interface IWizardPanelpublic boolean showApplyButton()
showApplyButton in interface IWizardPanelpublic boolean isSubPanel()
isSubPanel in interface IWizardPanelpublic boolean isLoopbackPanel()
isLoopbackPanel in interface IWizardPanelpublic boolean hasSubPanel()
hasSubPanel in interface IWizardPanelpublic void display(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
display in interface IWizardPanelpublic 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 IWizardPaneljava.io.IOExceptionpublic 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 IWizardPaneljava.io.IOExceptionpublic void displayError(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context context)
displayError in interface IWizardPanelpublic java.util.Locale getLocale(javax.servlet.http.HttpServletRequest req)
public boolean authenticate(java.lang.String hostname,
int port,
boolean https,
java.lang.String servlet,
java.lang.String uri)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String pingCS(java.lang.String hostname,
int port,
boolean https,
org.mozilla.jss.ssl.SSLCertificateApprovalCallback certApprovalCallback)
throws java.io.IOException
java.io.IOExceptionpublic void reloginSecurityDomain(javax.servlet.http.HttpServletResponse response)