Package com.sun.identity.config.wizard
Class Step3
- java.lang.Object
-
- org.openidentityplatform.openam.click.Page
-
- com.sun.identity.config.util.AjaxPage
-
- com.sun.identity.config.util.ProtectedPage
-
- com.sun.identity.config.wizard.LDAPStoreWizardPage
-
- com.sun.identity.config.wizard.Step3
-
- All Implemented Interfaces:
Serializable
public class Step3 extends LDAPStoreWizardPage
Step 3 is for selecting the embedded or external configuration store- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.sun.identity.config.wizard.LDAPStoreWizardPage
clearLink, store
-
Fields inherited from class com.sun.identity.config.util.AjaxPage
checkPasswordsLink, configLocale, debug, OLD_RESPONSE_TEMPLATE, rb, RB_NAME, resetSessionAttributesLink, RESPONSE_TEMPLATE, responseString, validateInputLink
-
-
Constructor Summary
Constructors Constructor Description Step3()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonInit()The on Initialization event handler.booleansetConfigType()booleansetReplication()booleanvalidateConfigStoreHost()booleanvalidateEncKey()Returnsfalsealways.booleanvalidateHostName()booleanvalidateLocalAdminPort()booleanvalidateLocalJmxPort()booleanvalidateLocalPort()booleanvalidateRootSuffix()booleanvalidateSMHost()Validate an Existing SM Host for Configuration Backend.-
Methods inherited from class com.sun.identity.config.wizard.LDAPStoreWizardPage
clearStore, ensureConfig, getConfig, getPageNum, getStoreSessionName, getType, getTypeTitle, save, setPageNum, setStoreSessionName, setType, setTypeTitle
-
Methods inherited from class com.sun.identity.config.util.ProtectedPage
onSecurityCheck
-
Methods inherited from class com.sun.identity.config.util.AjaxPage
checkPasswords, getAttribute, getAvailablePort, getBaseDir, getConnection, getCookieDomain, getHostName, getHostName, getLocalizedString, getQuoteEscapedLocalizedString, getServerPort, initializeResourceBundle, isRendering, resetSessionAttributes, toBoolean, toInt, toString, validateInput, writeErrorToResponse, writeInvalid, writeJsonResponse, writeJsonResponse, writeToResponse, writeValid, writeValid
-
Methods inherited from class org.openidentityplatform.openam.click.Page
addControl, addModel, getContentType, getContext, getControls, getFormat, getForward, getHeadElements, getHeaders, getHtmlImports, getMessage, getMessage, getMessages, getModel, getPageImports, getPath, getRedirect, getTemplate, hasControls, hasHeaders, isIncludeControlHeadElements, isStateful, onDestroy, onGet, onPost, onRender, removeControl, setFormat, setForward, setForward, setForward, setHeader, setHeaders, setIncludeControlHeadElements, setPageImports, setPath, setRedirect, setRedirect, setRedirect, setRedirect, setStateful, setTemplate
-
-
-
-
Field Detail
-
LDAP_STORE_SESSION_KEY
public static final String LDAP_STORE_SESSION_KEY
- See Also:
- Constant Field Values
-
validateSMHostLink
public ActionLink validateSMHostLink
-
validateRootSuffixLink
public ActionLink validateRootSuffixLink
-
setReplicationLink
public ActionLink setReplicationLink
-
validateHostNameLink
public ActionLink validateHostNameLink
-
validateConfigStoreHost
public ActionLink validateConfigStoreHost
-
setConfigType
public ActionLink setConfigType
-
validateLocalPortLink
public ActionLink validateLocalPortLink
-
validateLocalAdminPortLink
public ActionLink validateLocalAdminPortLink
-
validateLocalJmxPortLink
public ActionLink validateLocalJmxPortLink
-
validateEncKey
public ActionLink validateEncKey
-
-
Method Detail
-
onInit
public void onInit()
Description copied from class:org.openidentityplatform.openam.click.PageThe on Initialization event handler. This event handler is invoked after thePage.onInit()method has been called. Subclasses should place any initialization code which has dependencies on the context or other properties in this method. Generally light weight initialization code should be placed in the Pages constructor. Time consuming operations such as fetching the results of a database query should not be placed in this method. These operations should be performed in thePage.onRender(),Page.onGet()orPage.onPost()methods so that other event handlers may take alternative execution paths without performing these expensive operations. Please Note however the qualifier for the previous statement is that all form and field controls must be fully initialized before they are processed, which is after the onInit() method has completed. After this point their onProcess() methods will be invoked by the ClickServlet. Select controls in particular must have their option list values populated before the form is processed otherwise field validations cannot be performed. For initializing page controls the best practice is to place all the control creation code in the pages constructor, and only place any initialization code in the onInit() method which has an external dependency to the context or some other object. By following this practice it is easy to see what code is "design time" initialization code and what is "runtime initialization code". When subclassing pages which also use the onInit() method is is critical you call the super.onInit() method first, for example:public void onInit() { super.onInit(); // Initialization code .. }
- Overrides:
onInitin classLDAPStoreWizardPage
-
setConfigType
public boolean setConfigType()
-
setReplication
public boolean setReplication()
-
validateRootSuffix
public boolean validateRootSuffix()
-
validateLocalPort
public boolean validateLocalPort()
-
validateLocalAdminPort
public boolean validateLocalAdminPort()
-
validateLocalJmxPort
public boolean validateLocalJmxPort()
-
validateEncKey
public boolean validateEncKey()
Returnsfalsealways. Length of encryption key must be at least 10 chars.
-
validateConfigStoreHost
public boolean validateConfigStoreHost()
-
validateHostName
public boolean validateHostName()
-
validateSMHost
public boolean validateSMHost()
Validate an Existing SM Host for Configuration Backend.- Returns:
-
-