public interface PWResetQuestionModel extends PWResetModel
PWResetQuestionModelImpl
defines a set of methods that
are required by password reset question viewbean.ACTIVE, DEFAULT_RB, PW_RESET_SERVICE, USER_SERVICE
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedStrForQuestion(String question)
Gets the localized string for the question
|
int |
getMaxNumQuestions(String realmName)
Returns the maximum number of question that can be display in
the reset password page.
|
String |
getMissingAnswerMessage()
Gets missing answer message
|
String |
getOKBtnLabel()
Gets ok button label
|
String |
getPreviousBtnLabel()
Gets previous button label
|
String |
getPWQuestionTitleString(String attrValue)
Gets password reset question title
|
Map |
getSecretQuestions(String userDN,
String orgDN)
Gets map of secret questions
|
boolean |
isQuestionAvailable(String userDN,
String orgDN)
Returns true if the secret questions are available for a user
|
void |
resetPassword(String userDN,
String orgDN,
Map map)
Resets the user password.
|
void |
setNoQuestionsInfoMsg()
Sets no questions configured message
|
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
void resetPassword(String userDN, String orgDN, Map map) throws PWResetException
userDN
- user DNorgDN
- organization DNmap
- map of user question and answerPWResetException
- if unable to reset the passwordMap getSecretQuestions(String userDN, String orgDN)
userDN
- DN of the user to get the questionorgDN
- DN of the organizationString getPWQuestionTitleString(String attrValue)
attrValue
- user attribute valueString getOKBtnLabel()
String getPreviousBtnLabel()
void setNoQuestionsInfoMsg()
String getMissingAnswerMessage()
boolean isQuestionAvailable(String userDN, String orgDN)
userDN
- user DNorgDN
- organization DNString getLocalizedStrForQuestion(String question)
question
- i8n key for the questionint getMaxNumQuestions(String realmName)
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.