Package com.sun.identity.password.ui
Class PWResetViewBeanBase
- java.lang.Object
-
- com.iplanet.jato.view.ViewBase
-
- com.iplanet.jato.view.ContainerViewBase
-
- com.iplanet.jato.view.RequestHandlingViewBase
-
- com.iplanet.jato.view.ViewBeanBase
-
- org.forgerock.openam.console.base.ConsoleViewBeanBase
-
- com.sun.identity.password.ui.PWResetViewBeanBase
-
- All Implemented Interfaces:
com.iplanet.jato.RequestCompletionListener,com.iplanet.jato.RequestHandler,com.iplanet.jato.RequestParticipant,com.iplanet.jato.view.ContainerView,com.iplanet.jato.view.View,com.iplanet.jato.view.ViewBean,com.iplanet.jato.view.WebActionHandler,com.iplanet.jato.view.WebActions,Constants
- Direct Known Subclasses:
PWResetInvalidURLViewBean,PWResetQuestionViewBean,PWResetSuccessViewBean,PWResetUncaughtExceptionViewBean,PWResetUserValidationViewBean
public abstract class PWResetViewBeanBase extends ConsoleViewBeanBase implements Constants
PWResetViewBeanBaseis the base class for password reset.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOPYRIGHT_TEXTName of the copyright textstatic StringERROR_MSGName of the error messagestatic StringERROR_TITLEName of the error titlestatic StringINFO_MSGName of the information messagestatic StringINITIAL_ORG_DNName of organization DN that is entered in the URL or the one where to look for initial template.static StringLBL_JAVA_LOGOName for Java Logo label.static StringLBL_PRODUCTName for product label.static StringLBL_SUN_LOGOName for Sun Logo label.protected PWResetModelmodelName of the model used in the view beanstatic StringORG_DNName of organization DNstatic StringORG_DN_FLAGName of organization DN Flagstatic StringSTRING_TRUEString constant for truestatic StringTITLE_HTML_PAGEName of HTML titleprotected static StringURL_LOCALEstatic StringUSER_ATTR_VALUEName of User valuestatic StringUSER_DNName of user DN-
Fields inherited from class com.iplanet.jato.view.ViewBeanBase
DEFAULT_COMMAND_CHILD_NVP_NAME, DISPLAY_EVENT_COMPLETED_REQUEST_ATTRIBUTE_NAME, OPTION_USE_PAGE_SESSION_FOR_DEFAULT_COMMAND_CHILD
-
Fields inherited from class com.iplanet.jato.view.RequestHandlingViewBase
HANDLE_REQUEST_METHOD_PREFIX, HANDLE_REQUEST_METHOD_SUFFIX
-
Fields inherited from class com.iplanet.jato.view.ContainerViewBase
BEGIN_DISPLAY_EVENT_METHOD_PREFIX, BEGIN_DISPLAY_EVENT_METHOD_SUFFIX, END_DISPLAY_EVENT_METHOD_PREFIX, END_DISPLAY_EVENT_METHOD_SUFFIX, eventMethodRegistry, OPTION_ENABLE_QUALIFIELD_CHILD_NAME_LOOKUPS, OPTION_USE_LEGACY_DISPLAY_EVENT_SIGNATURES
-
Fields inherited from interface com.sun.identity.shared.Constants
ADVICES_TAG_NAME, AGENT_SESSION_IDLE_TIME, ALLOW_PERSIST_AM_COOKIE, AM_ADMIN_CLI_CERTDB_DIR, AM_AUTH_COOKIE_NAME, AM_BUILD_DATE, AM_BUILD_REVISION, AM_BUILD_VERSION, AM_CONSOLE_DEPLOYMENT_DESCRIPTOR, AM_CONSOLE_HOST, AM_CONSOLE_PORT, AM_CONSOLE_PROTOCOL, AM_CONSOLE_REMOTE, AM_COOKIE_CHECK, AM_COOKIE_ENCODE, AM_COOKIE_HTTPONLY, AM_COOKIE_NAME, AM_COOKIE_SAMESITE, AM_COOKIE_SECURE, AM_COOKIE_TIME_TO_LIVE, AM_CTX_ID, AM_DIRECTORY_HOST, AM_DIRECTORY_PORT, AM_DIRECTORY_SSL_ENABLED, AM_DIST_AUTH_COOKIE_NAME, AM_DISTAUTH_DEPLOYMENT_DESCRIPTOR, AM_DISTAUTH_LB_COOKIE_NAME, AM_DISTAUTH_LB_COOKIE_VALUE, AM_DISTAUTH_SITES, AM_FQDN_MAP, AM_INSTALL_DIR, AM_LB_COOKIE_NAME, AM_LB_COOKIE_VALUE, AM_LOCALE, AM_LOGSTATUS, AM_NAMING_URL, AM_NEW_CONFIGFILE_PATH, AM_PCOOKIE_NAME, AM_PROTECTED_PROPERTY_PREFIX, AM_REDIRECT, AM_SERVER_HOST, AM_SERVER_PORT, AM_SERVER_PROTOCOL, AM_SERVICES_DEPLOYMENT_DESCRIPTOR, AM_SERVICES_SECRET, AM_SESSION_CONSTRAINT_HANDLER, AM_SESSION_CONSTRAINT_MAX_WAIT_TIME, AM_SESSION_DENY_LOGIN_IF_DB_IS_DOWN, AM_SESSION_ENABLE_SESSION_CONSTRAINT, AM_SESSION_FAILOVER_CLUSTER_STATE_CHECK_PERIOD, AM_SESSION_FAILOVER_CLUSTER_STATE_CHECK_TIMEOUT, AM_SESSION_HTTP_SESSION_TRACKING_COOKIE_NAME, AM_SESSION_MAX_CACHE_SIZE, AM_SESSION_MAX_CACHE_TIME, AM_SESSION_MAX_SESSION_LIST_SIZE, AM_SESSION_SESSION_LIST_RETRIEVAL_TIMEOUT, AM_SMTP_HOST, AM_STATS_INTERVAL, AM_VERSION, AM_VERSION_HEADER_ENABLED, AMP, APPEND_SESS_COOKIE_IN_URL, APPLICATION_SESSION_MAX_CACHING_TIME, ASTERISK, AT, ATTR_COOKIE_DOMAINS, ATTR_LOGIN_URL, ATTR_NAME_AGENT_TYPE, AUDIT_AM_ACCESS_ATTEMPT_ENABLED, AUTH_LEVEL_CONDITION_ADVICE, AUTH_LEVEL_EXCLUDE_REQUIRED_REQUISITE, AUTH_RATE_MONITORING_INTERVAL, AUTH_SCHEME_CONDITION_ADVICE, AUTH_UNIQUE_COOKIE_DOMAIN, AUTH_UNIQUE_COOKIE_NAME, AUTHENTICATION_SPECIAL_USERS, AUTHENTICATION_SUPER_USER, AUTOCOMPLETE_ENABLED, C66_ENCODE_AM_COOKIE, CACHE_POLLING_TIME_PROPERTY, CASE_INSENSITIVE_DN, CASE_SENSITIVE_UUID, CDCSERVLET_LOGIN_URL, CDM_CONTENT_TYPE_PROPERTY_NAME, CLIENT_CERTIFICATE_ALIAS, CLIENT_IP_ADDR_HEADER, CLIENT_NOTIFICATION_URL, CLUSTER_SERVER_LIST, COLON, COMMA, COMPOSITE_ADVICE, CONFIG_STORE_DOWN_REDIRECT_URL, CONFIG_VAR_DISTAUTH_BOOTSTRAP_BASE_DIR, CONFIG_VAR_DISTAUTH_BOOTSTRAP_FILENAME, CONFIGURATION_NAME, CONSOLE_UI_DEFAULT_CHARSET, CORE_TOKEN_RESOURCE_ENABLED, CRL_CACHE_DIR_HOST, CRL_CACHE_DIR_PASSWD, CRL_CACHE_DIR_PORT, CRL_CACHE_DIR_SEARCH_ATTR, CRL_CACHE_DIR_SEARCH_LOC, CRL_CACHE_DIR_SSL_ENABLED, CRL_CACHE_DIR_USER, DEFAULT_CACHE_POLLING_TIME, DEFAULT_KRB5_LOGINMODULE, DEFAULT_LDAP_TIME_LIMIT, DEFAULT_OAUTH2_HA_ROOT_SUFFIX, DEFAULT_ROOT_NAMING_ATTRIBUTE, DEFAULT_ROOT_SUFFIX, DEFAULT_SAML2_HA_ROOT_SUFFIX, DEFAULT_SESSION_HA_ROOT_SUFFIX, DEFAULT_SESSION_HA_STORE_TYPE, DEFAULT_SESSION_UPGRADER_IMPL, DEFAULT_TOKEN_ROOT_SUFFIX, DELIMITER_PREF_LEFT, DESERIALISATION_CLASSES_WHITELIST, DESTROY_SESSION_AFTER_UPGRADE, DISTAUTH_BOOTSTRAP_FILE, DISTAUTH_CLUSTER, DISTAUTH_SERVER_HOST, DISTAUTH_SERVER_PORT, DISTAUTH_SERVER_PROTOCOL, DS_ADMIN_PORT, EMBED_REPL_PORT, EMBED_SYNC_SERVERS, EMPTY, ENABLE_HOST_LOOKUP, ENABLE_TRACE_IN_MESSAGE_MODE, ENC_PWD_PROPERTY, ENFORCE_JAAS_THREAD, EQUALS, EVENT_LISTENER_DISABLE_LIST, EVENT_LISTENER_REMOTE_CLIENT_BACKLOG_CACHE, FEDERATION_FED_COOKIE_NAME, FILE_SEPARATOR, FORBIDDEN_TO_COPY_HEADERS, FORBIDDEN_TO_COPY_REQUEST_HEADERS, FORWARD_PARAM, FORWARD_YES_VALUE, GENERIC_SOAP_REST_AUTHENTICATION_EXCEPTION, IDENTITY_WEB_CONTAINER, IGNORE_GOTO_DURING_LOGOUT, INVALID_GOTO_STRINGS, IS_ENABLE_UNIQUE_COOKIE, JSS_HANDLER, JSSE_HANDLER, KRB5_CREDENTIAL_TYPE, KRB5_LOGINMODULE, LDAP_CONN_IDLE_TIME_IN_SECS, LDAP_FALLBACK_SLEEP_TIME_IN_MINS, LDAP_HEARTBEAT, LDAP_HEARTBEAT_TIMEOUT, LDAP_SERVER_TLS_VERSION, LOCAL, LOGIN_URL, MAX_FILE_UPLOAD_SIZE, MONITORING_INTERVAL, MONITORING_TIMEOUT, MULTIPLE_TABS_USED, NAMING_AM_LB_COOKIE, NOTIFICATION_PROPERTY_LIST, NOTIFICATION_THREADPOOL_SIZE, NOTIFICATION_THREADPOOL_THRESHOLD, NOTIFICATIONS_AGENTS_ENABLED, OBJECTCLASS, ORGANIZATION, ORGANIZATION_NAME, ORGANIZATION_NAMING_ATTRIBUTE, PERSIST_AM_COOKIE, PLATFORM_LIST, POLLING_THREADPOOL_SIZE, POLLING_THREADPOOL_THRESHOLD, PROPERTY_CHANGE_NOTIFICATION, PROPERTY_NAME_LB_COOKIE_VALUE, PROTECTED_PROPERTIES_LIST, PROTOCOL_HANDLER, REMOTEAUTH_INCLUDE_REQRES, RESOURCE_LOOKUP_CACHE_ENABLED, REST_APIS_SERVICE_NAME, REST_APIS_SERVICE_VERSION, RETAINED_HTTP_HEADERS_LIST, RETAINED_HTTP_REQUEST_HEADERS_LIST, REWRITE_AS_PATH, RUNTIME_SHUTDOWN_HOOK_ENABLED, SAML_XMLSIG_CERT_ALIAS, SAML_XMLSIG_KEYPASS, SAML_XMLSIG_KEYSTORE, SAML_XMLSIG_STORE_PASS, SDK_GLOBAL_CACHE_PROPERTY, SECURITY_ENCRYPTOR, SECURITY_PROVIDER_PKG, SEMI_COLON, SERVER_MODE, SERVERID_LBCOOKIEVALUE_LIST, SERVICES_CDSSO_COOKIE_DOMAIN, SERVICES_COMM_SERVER_PLLREQUEST_MAX_CONTENT_LENGTH, SERVICES_DEBUG_DIRECTORY, SERVICES_DEBUG_LEVEL, SERVICES_DEBUG_MERGEALL, SERVICES_STATS_DIRECTORY, SERVICES_STATS_STATE, SESSION_REPOSITORY_ATTRIBUTE_NAME_COMPRESSION, SESSION_REPOSITORY_COMPRESSION, SESSION_REPOSITORY_ENCRYPTION, SESSION_RETURN_APP_SESSION, SESSION_UPGRADER_IMPL, SET_COOKIE_TO_ALL_DOMAINS, SITE_ID_LIST, SITE_LIST, SITE_NAMES_LIST, SITE_STATUS_CHECK_CLASS, SITEMONITOR_DISABLED, SM_SMTP_PORT, SM_THREADPOOL_SIZE, SMS_CACHE_PROPERTY, SMS_CACHE_TTL, SMS_CACHE_TTL_ENABLE, SMS_ENABLE_DB_NOTIFICATION, SSO_TOKEN, SUN_SECURITY_PROVIDER_PKG, SVC_NAME_AUTH_CONFIG, SVC_NAME_NAMING, SVC_NAME_PLATFORM, SVC_NAME_SAML, SVC_NAME_USER, SYS_PROPERTY_INSTALL_TIME, SYSTEM_PROXY_ENABLED, SYSTEM_TIMERPOOL_SIZE, TAG_SERVER_HOST, TAG_SERVER_PORT, TAG_SERVER_PROTO, TAG_SERVER_URI, TIMEOUT_HANDLER_LIST, TOP, TRUSTED_SOURCE_LIST, UNIVERSAL_IDENTIFIER, URL_CONNECTION_USE_CACHE, URLCHECKER_DOREQUEST, URLCHECKER_INVALIDATE_INTERVAL, URLCHECKER_RETRY_INTERVAL, URLCHECKER_RETRY_LIMIT, URLCHECKER_SLEEP_INTERVAL, URLCHECKER_TARGET_URL, USE_OLD_LOG_FORMAT, USER_LOCALE_ATTR, VALID_LOGIN_URIS, VERSION_DATE_FORMAT, WEBCONTAINER, WSFED_ACTIVE_LOGIN, XML_DOCUMENT_BUILDER_CACHE_SIZE, XML_SAXPARSER_CACHE_SIZE, XML_TRANSFORMER_FACTORY_CACHE_SIZE, XML_VALIDATING, XPATHFACTORY_CACHE_SIZE, XUI_USER_SESSION_VALIDATION_ENABLED, ZERO_PAGE_LOGIN_ALLOW_MISSING_REFERER, ZERO_PAGE_LOGIN_ENABLED, ZERO_PAGE_LOGIN_WHITELIST
-
Fields inherited from interface com.iplanet.jato.view.ViewBean
PAGE_SESSION_ATTRIBUTE_NVP_NAME, VIEW_BEAN_NAME_SUFFIX
-
-
Constructor Summary
Constructors Constructor Description PWResetViewBeanBase(String pageName)Constructs a password reset base view bean
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginDisplay(com.iplanet.jato.view.event.DisplayEvent event)Set the required information to display the page.booleanbeginErrorBlockDisplay(com.iplanet.jato.view.event.ChildDisplayEvent event)Begins error message contentbooleanbeginInfoBlockDisplay(com.iplanet.jato.view.event.ChildDisplayEvent event)Begins info message contentbooleanbeginResetPageDisplay(com.iplanet.jato.view.event.ChildDisplayEvent event)Begins password reset user validation contentprotected com.iplanet.jato.view.ViewcreateChild(String name)Creates child componentprotected PWResetModelgetModel()Gets model for this view beanprotected booleanisPWResetEnabled()Determines if the password reset service is enabled or notprotected voidregisterChildren()Registers child components/viewsprotected voidsetErrorMessage(String title, String message)-
Methods inherited from class org.forgerock.openam.console.base.ConsoleViewBeanBase
deserializePageAttributes
-
Methods inherited from class com.iplanet.jato.view.ViewBeanBase
clearPageSessionAttributes, forward, forwardTo, forwardTo, getDefaultCommandDescriptor, getDefaultDisplayURL, getDisplayURL, getLogicalName, getModuleURL, getPageSessionAttribute, getPageSessionAttributes, getPageSessionAttributeString, getPageSessionAttributeString, getRequestInvocationName, getRequestInvocationName, handleDeserializePageAttributesException, include, include, include, invokeRequestHandler, invokeRequestHandlerInternal, mapRequestParameters, removePageSessionAttribute, securityCheck, setDefaultCommandDescriptor, setDefaultDisplayURL, setPageSessionAttribute, setPageSessionAttributes, setRequestContext
-
Methods inherited from class com.iplanet.jato.view.RequestHandlingViewBase
acceptRequest, afterAllModelsExecute, afterAllWebActionModelsExecute, afterHandleRequestCommandExecution, afterModelExecutes, afterWebActionModelExecutes, appMessage, beforeHandleRequestCommandExecution, beforeModelExecutes, beforeWebActionModelExecutes, createDefaultExecutionContext, executeAutoDeletingModel, executeAutoDeletingModels, executeAutoExecutingModel, executeAutoExecutingModels, executeAutoInsertingModel, executeAutoInsertingModels, executeAutoRetrievingModel, executeAutoRetrievingModels, executeAutoRetrievingModels, executeAutoUpdatingModel, executeAutoUpdatingModels, getAutoDeletingModels, getAutoExecutingModels, getAutoInsertingModels, getAutoRetrieveExecutionContext, getAutoRetrievingModels, getAutoUpdatingModels, getFirstActionExecutionContext, getLastActionExecutionContext, getModel, getNextActionExecutionContext, getPreviousActionExecutionContext, getRefreshActionExecutionContext, getRequestCompletionListenerChildNames, getRequestContext, getRequestParticipantChildNames, getSession, getViewBean, getWebActionModelOffset, getWebActionModels, getWebActionRowOffsetSessionKey, handleRequest, handleWebAction, isAutoRetrieveEnabled, onHandleRequestCommandExecutionError, onModelError, onNoModelDataAvailable, onWebActionExecutionError, requestComplete, setAutoDeletingModels, setAutoExecutingModels, setAutoInsertingModels, setAutoRetrieveEnabled, setAutoRetrieveExecutionContext, setAutoRetrievingModels, setAutoUpdatingModels, setWebActionModelOffset
-
Methods inherited from class com.iplanet.jato.view.ContainerViewBase
beginChildDisplay, beginChildDisplay, beginComponentDisplay, beginDisplay, childExists, createChildReserved, endChildDisplay, endChildDisplay, endComponentDisplay, endDisplay, endDisplay, ensureChild, getChild, getChildNames, getChildNames, getChildType, getCommandChildNames, getDefaultModel, getDisplayField, getDisplayFieldBooleanValue, getDisplayFieldDoubleValue, getDisplayFieldIntValue, getDisplayFieldStringValue, getDisplayFieldValue, getNumChildren, getQualifiedCommandChildNames, mapRequestParameter, onValidationException, registerChild, registerDisplayEventHandlers, removeAllChildren, removeChild, removeQualifiedNameIndices, resetChildren, setDefaultModel, setDisplayFieldValue, setDisplayFieldValue, setDisplayFieldValue, setDisplayFieldValue, unregisterChild
-
Methods inherited from class com.iplanet.jato.view.ViewBase
getName, getParent, getParentViewBean, getQualifiedName, getQualifiedViewNameSeparator, getRootView, getRootView, getSimpleQualifiedName, isVisible, setName, setParent, setQualifiedViewNameSeparator, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.iplanet.jato.view.ContainerView
beginChildDisplay, endChildDisplay, endDisplay, getChild, getChildNames, getChildType, getDefaultModel, getDisplayField, getDisplayFieldValue, getNumChildren, resetChildren, setDisplayFieldValue
-
Methods inherited from interface com.iplanet.jato.RequestHandler
acceptRequest, getRequestContext, handleRequest
-
-
-
-
Field Detail
-
TITLE_HTML_PAGE
public static final String TITLE_HTML_PAGE
Name of HTML title- See Also:
- Constant Field Values
-
COPYRIGHT_TEXT
public static final String COPYRIGHT_TEXT
Name of the copyright text- See Also:
- Constant Field Values
-
ERROR_TITLE
public static final String ERROR_TITLE
Name of the error title- See Also:
- Constant Field Values
-
ERROR_MSG
public static final String ERROR_MSG
Name of the error message- See Also:
- Constant Field Values
-
INFO_MSG
public static final String INFO_MSG
Name of the information message- See Also:
- Constant Field Values
-
ORG_DN
public static final String ORG_DN
Name of organization DN- See Also:
- Constant Field Values
-
ORG_DN_FLAG
public static final String ORG_DN_FLAG
Name of organization DN Flag- See Also:
- Constant Field Values
-
STRING_TRUE
public static final String STRING_TRUE
String constant for true- See Also:
- Constant Field Values
-
USER_DN
public static final String USER_DN
Name of user DN- See Also:
- Constant Field Values
-
USER_ATTR_VALUE
public static final String USER_ATTR_VALUE
Name of User value- See Also:
- Constant Field Values
-
INITIAL_ORG_DN
public static final String INITIAL_ORG_DN
Name of organization DN that is entered in the URL or the one where to look for initial template.- See Also:
- Constant Field Values
-
model
protected PWResetModel model
Name of the model used in the view bean
-
LBL_SUN_LOGO
public static final String LBL_SUN_LOGO
Name for Sun Logo label.- See Also:
- Constant Field Values
-
LBL_PRODUCT
public static final String LBL_PRODUCT
Name for product label.- See Also:
- Constant Field Values
-
LBL_JAVA_LOGO
public static final String LBL_JAVA_LOGO
Name for Java Logo label.- See Also:
- Constant Field Values
-
URL_LOCALE
protected static final String URL_LOCALE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PWResetViewBeanBase
public PWResetViewBeanBase(String pageName)
Constructs a password reset base view bean- Parameters:
pageName- name of page
-
-
Method Detail
-
registerChildren
protected void registerChildren()
Registers child components/views
-
createChild
protected com.iplanet.jato.view.View createChild(String name)
Creates child component- Overrides:
createChildin classcom.iplanet.jato.view.ContainerViewBase- Parameters:
name- of child component- Returns:
- child component
-
beginDisplay
public void beginDisplay(com.iplanet.jato.view.event.DisplayEvent event) throws com.iplanet.jato.model.ModelControlExceptionSet the required information to display the page.- Specified by:
beginDisplayin interfacecom.iplanet.jato.view.ContainerView- Overrides:
beginDisplayin classcom.iplanet.jato.view.RequestHandlingViewBase- Parameters:
event- display event.- Throws:
com.iplanet.jato.model.ModelControlException- if problem access value of component.
-
getModel
protected PWResetModel getModel()
Gets model for this view bean- Returns:
- model for this view bean
-
beginErrorBlockDisplay
public boolean beginErrorBlockDisplay(com.iplanet.jato.view.event.ChildDisplayEvent event)
Begins error message content- Parameters:
event- child display event- Returns:
- true if the error message needs to be displayed, false otherwise
-
beginInfoBlockDisplay
public boolean beginInfoBlockDisplay(com.iplanet.jato.view.event.ChildDisplayEvent event)
Begins info message content- Parameters:
event- child display event- Returns:
- true if the info message needs to be displayed, false otherwise
-
beginResetPageDisplay
public boolean beginResetPageDisplay(com.iplanet.jato.view.event.ChildDisplayEvent event)
Begins password reset user validation content- Parameters:
event- child display event- Returns:
- true if password reset user validation content is to displayed, false otherwise
-
isPWResetEnabled
protected boolean isPWResetEnabled()
Determines if the password reset service is enabled or not- Returns:
- true if the password reset service is enabled, false otherwise
-
-