|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalpages.common.passwordvalidation.PasswordValidationHelper
public class PasswordValidationHelper
This class defines constants and helper methods used in the CreateAccountView and PasswordView classes. Some if not all of the constants are used to generate JS constants that will be used for the client-side password validation on the Create Account and Change Account Password pages.
Field Summary | |
---|---|
static java.lang.String |
CANNOT_CONTAIN_USER_ID_I18N
|
static java.lang.String |
ENTER_OLD_PASSWORD_I18N
|
static java.lang.String |
ENTER_USERNAME_I18N
|
static java.lang.String |
MUST_CONTAIN_NUMBER_I18N
|
static java.lang.String |
MUST_CONTAIN_PUNCTUATION_I18N
|
static java.lang.String |
MUST_CONTAIN_UPPER_LOWER_CASE_I18N
|
static java.lang.String |
NO_BLANK_SPACES_I18N
|
static java.lang.String |
PASSWORD_TOO_LONG_I18N
|
static java.lang.String |
PASSWORD_TOO_SHORT_I18N
|
static java.lang.String |
PASSWORD_VALID_I18N
|
static java.lang.String |
PASSWORDS_MIN_LENGTH_I18N
|
static java.lang.String |
PASSWORDS_MUST_BE_SAME_I18N
i18n strings used for Create Account and Change Password Pages |
static java.lang.String |
STR_CREATE_ACCOUNT_FORM_ID
|
static java.lang.String |
STR_CURRENT_USERNAME
Current username of the user logged in. |
static java.lang.String |
STR_INPUT_CONFIRM_PASSWORD_ID
|
static java.lang.String |
STR_INPUT_DOCREATE_ID
|
static java.lang.String |
STR_INPUT_NEW_PASSWSORD_ID
|
static java.lang.String |
STR_INPUT_OLD_PASSWORD_ID
|
static java.lang.String |
STR_INPUT_OLD_PASSWORD_VALIDATION_STATUS_ID
|
static java.lang.String |
STR_INPUT_PASSWORD_VALIDATION_STATUS_ID
|
static java.lang.String |
STR_INPUT_USERNAME_ID
|
static java.lang.String |
STR_INPUT_USERNAME_VALIDATION_STATUS_ID
|
static java.lang.String |
STR_INVALID_ICON_FILENAME
|
static java.lang.String |
STR_INVALID_ICON_URL
|
static java.lang.String |
STR_JS_CHECK_PASSWORD
Javscript function: checkPassword, validation function used in PasswordAS/PasswordView |
static java.lang.String |
STR_JS_CREATE_ACCOUNT
Javascript function: doCreateAccountS, function used in CreateAccountView |
static java.lang.String |
STR_JS_HANDLE_BACKSPACE_INPUT
Javscript function: handleBackspaceInput, function used in CreateAccountView and PasswordView |
static java.lang.String |
STR_JS_HANDLE_USER_INPUT
Javscript function: handleUserInput, function used in CreateAccountView and PasswordView |
static java.lang.String |
STR_LOWER_UPPER_CASE_STATUS_ID
|
static java.lang.String |
STR_LOWER_UPPER_CASE_STATUS_NAME
|
static java.lang.String |
STR_MIN_MAX_LENGTH_STATUS_ID
UI Elements that appear on the Create Account and Change Password Views |
static java.lang.String |
STR_MIN_MAX_LENGTH_STATUS_NAME
|
static java.lang.String |
STR_NUMBER_STATUS_ID
|
static java.lang.String |
STR_NUMBER_STATUS_NAME
|
static java.lang.String |
STR_OLD_PASSWORD_VALIDATION_STATUS_NAME
|
static java.lang.String |
STR_PASSWORD_INCLUDE_CASING
|
static java.lang.String |
STR_PASSWORD_INCLUDE_NUMBERS
|
static java.lang.String |
STR_PASSWORD_INCLUDE_PUNCTUATION
|
static java.lang.String |
STR_PASSWORD_MAX_LENGTH
|
static java.lang.String |
STR_PASSWORD_MIN_LENGTH
Password Management Rules Settings |
static java.lang.String |
STR_PASSWORD_NO_USER_IDS
|
static java.lang.String |
STR_PASSWORD_VALIDATION_JS_NAMESPACE
The following Javscript Constants will be used to generate JS on the server-side which will be consumed by client-side validation on the Create Account and Change Account Password pages. |
static java.lang.String |
STR_PASSWORD_VALIDATION_STATUS_NAME
|
static java.lang.String |
STR_PUNCTUATION_STATUS_ID
|
static java.lang.String |
STR_PUNCTUATION_STATUS_NAME
|
static java.lang.String |
STR_PW_VALIDATION_JS
Javascript file that will be included on server side for client-side validation. |
static java.lang.String |
STR_USERNAME_STATUS_ID
|
static java.lang.String |
STR_USERNAME_STATUS_NAME
|
static java.lang.String |
STR_USERNAME_VALIDATION_STATUS_NAME
|
static java.lang.String |
STR_VALID_ICON_FILENAME
|
static java.lang.String |
STR_VALID_ICON_URL
|
static java.lang.String |
STR_WARNING_ICON_FILENAME
|
Constructor Summary | |
---|---|
PasswordValidationHelper()
|
Method Summary | |
---|---|
static java.lang.String |
GetPasswordValidationJSURL(AActivitySpace owner)
Gets the URL of the javascript used for client-side validation. |
static java.lang.String |
GetPortalImageServerFolderURL(AActivitySpace owner)
Gets the URL of the portal imageserver folder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STR_JS_CREATE_ACCOUNT
public static final java.lang.String STR_JS_HANDLE_USER_INPUT
public static final java.lang.String STR_JS_HANDLE_BACKSPACE_INPUT
public static final java.lang.String STR_JS_CHECK_PASSWORD
public static final java.lang.String STR_PW_VALIDATION_JS
public static final java.lang.String STR_PASSWORD_VALIDATION_JS_NAMESPACE
public static final java.lang.String STR_CURRENT_USERNAME
public static final java.lang.String STR_PASSWORD_MIN_LENGTH
public static final java.lang.String STR_PASSWORD_MAX_LENGTH
public static final java.lang.String STR_PASSWORD_INCLUDE_NUMBERS
public static final java.lang.String STR_PASSWORD_INCLUDE_CASING
public static final java.lang.String STR_PASSWORD_INCLUDE_PUNCTUATION
public static final java.lang.String STR_PASSWORD_NO_USER_IDS
public static final java.lang.String PASSWORDS_MUST_BE_SAME_I18N
public static final java.lang.String PASSWORDS_MIN_LENGTH_I18N
public static final java.lang.String ENTER_USERNAME_I18N
public static final java.lang.String ENTER_OLD_PASSWORD_I18N
public static final java.lang.String PASSWORD_TOO_SHORT_I18N
public static final java.lang.String PASSWORD_TOO_LONG_I18N
public static final java.lang.String NO_BLANK_SPACES_I18N
public static final java.lang.String MUST_CONTAIN_UPPER_LOWER_CASE_I18N
public static final java.lang.String MUST_CONTAIN_NUMBER_I18N
public static final java.lang.String MUST_CONTAIN_PUNCTUATION_I18N
public static final java.lang.String CANNOT_CONTAIN_USER_ID_I18N
public static final java.lang.String PASSWORD_VALID_I18N
public static final java.lang.String STR_MIN_MAX_LENGTH_STATUS_ID
public static final java.lang.String STR_MIN_MAX_LENGTH_STATUS_NAME
public static final java.lang.String STR_NUMBER_STATUS_ID
public static final java.lang.String STR_NUMBER_STATUS_NAME
public static final java.lang.String STR_LOWER_UPPER_CASE_STATUS_ID
public static final java.lang.String STR_LOWER_UPPER_CASE_STATUS_NAME
public static final java.lang.String STR_PUNCTUATION_STATUS_ID
public static final java.lang.String STR_PUNCTUATION_STATUS_NAME
public static final java.lang.String STR_USERNAME_STATUS_ID
public static final java.lang.String STR_USERNAME_STATUS_NAME
public static final java.lang.String STR_INPUT_USERNAME_ID
public static final java.lang.String STR_INPUT_OLD_PASSWORD_ID
public static final java.lang.String STR_INPUT_NEW_PASSWSORD_ID
public static final java.lang.String STR_INPUT_CONFIRM_PASSWORD_ID
public static final java.lang.String STR_INPUT_USERNAME_VALIDATION_STATUS_ID
public static final java.lang.String STR_USERNAME_VALIDATION_STATUS_NAME
public static final java.lang.String STR_INPUT_PASSWORD_VALIDATION_STATUS_ID
public static final java.lang.String STR_PASSWORD_VALIDATION_STATUS_NAME
public static final java.lang.String STR_INPUT_OLD_PASSWORD_VALIDATION_STATUS_ID
public static final java.lang.String STR_OLD_PASSWORD_VALIDATION_STATUS_NAME
public static final java.lang.String STR_CREATE_ACCOUNT_FORM_ID
public static final java.lang.String STR_INPUT_DOCREATE_ID
public static final java.lang.String STR_VALID_ICON_URL
public static final java.lang.String STR_VALID_ICON_FILENAME
public static final java.lang.String STR_INVALID_ICON_URL
public static final java.lang.String STR_INVALID_ICON_FILENAME
public static final java.lang.String STR_WARNING_ICON_FILENAME
Constructor Detail |
---|
public PasswordValidationHelper()
Method Detail |
---|
public static java.lang.String GetPasswordValidationJSURL(AActivitySpace owner)
owner
- AActivitySpace
public static java.lang.String GetPortalImageServerFolderURL(AActivitySpace owner)
owner
- @param owner AActivitySpace
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |