public interface PWResetUserValidationModel extends PWResetModel
PWResetUserValidationModel
defines a set of methods that
are required by password reset user validation viewbean.ACTIVE, DEFAULT_RB, PW_RESET_SERVICE, USER_SERVICE
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedStrForAttr(String userAttr)
Returns the localized string for attribute name in the user
service.
|
String |
getMissingUserAttrMessage(String userAttrName)
Returns missing user attribute message.
|
String |
getNextBtnLabel()
Returns next button label.
|
String |
getRealm(String realm)
Returns realm name.
|
String |
getUserAttr(String orgDN)
Returns user attribute configures in password reset service.
|
String |
getUserRealm()
Returns the realm for the user reseting password.
|
String |
getUserValidateTitleString()
Returns user validation title.
|
boolean |
isUserActive(String orgDN)
Returns
true if the user is active and account is not
expired. |
boolean |
isUserAttrValueValid(String orgDN,
String userAttrValue)
Returns
true if the entered user attr value
is comprised of safe characters. |
boolean |
isUserExists(String userAttrValue,
String userAttrName,
String orgDN)
Returns
true if the user exists. |
boolean |
isValidRealm()
Returns
true if realm name is valid. |
void |
setRealmFlag(boolean value)
Sets the realm flag.
|
void |
setValidRealm(String orgDN)
Sets the valid realm flag.
|
debugError, debugError, debugMessage, debugMessage, debugWarning, debugWarning, getCopyRightText, getErrorMessage, getErrorString, getErrorTitle, getHTMLPageTitle, getInformationMessage, getJavaLogoLabel, getLocalizedString, getMailAttribute, getPasswordResetMessage, getProductLabel, getRootSuffix, getSunLogoLabel, getUserId, isError, isPasswordResetEnabled, isUserLockout, messageEnabled, readPWResetProfile, setUserDN, setUserLocale, warningEnabled
String getUserAttr(String orgDN)
orgDN
- location distinguished name to search.boolean isUserExists(String userAttrValue, String userAttrName, String orgDN)
true
if the user exists. If more than one users is
found then it will return false and view bean will display an error
message.userAttrValue
- User enter data for user validation.userAttrName
- User attribute name to search for.orgDN
- location distingushed name.true
if user exists.String getUserValidateTitleString()
String getNextBtnLabel()
void setRealmFlag(boolean value)
value
- realm flag.boolean isValidRealm()
true
if realm name is valid.true
if the realm name is valid.String getLocalizedStrForAttr(String userAttr)
userAttr
- attribute nameString getMissingUserAttrMessage(String userAttrName)
userAttrName
- user attribute name.boolean isUserActive(String orgDN)
true
if the user is active and account is not
expired. This method will use the user distinguished name stored in the
model to determine if the user's account is active or has expired.orgDN
- organization DN.true
if user is active and account is not expired.String getRealm(String realm) throws PWResetException
realm
- Realm name.PWResetException
- if unable to get realm or realm does not existsvoid setValidRealm(String orgDN)
orgDN
- Realm name.String getUserRealm()
boolean isUserAttrValueValid(String orgDN, String userAttrValue)
true
if the entered user attr value
is comprised of safe characters. It will return false
and view bean will display an error message if it
contains invalid charactersorgDN
- organization DNuserAttrValue
- User enter data for user validation.true
if entered data is valid.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.