public interface PWResetModel
PWResetModelImpl
defines the basic and commonly used
methods used by view beans.Modifier and Type | Field and Description |
---|---|
static String |
ACTIVE
Name of user active status.
|
static String |
DEFAULT_RB
Default resource bundle name
|
static String |
PW_RESET_SERVICE
Name of password reset service
|
static String |
USER_SERVICE
OpenAM's user service name
|
Modifier and Type | Method and Description |
---|---|
void |
debugError(String message)
Prints a message to the console debug file.
|
void |
debugError(String message,
Exception e)
Prints a message to the console debug file.
|
void |
debugMessage(String message)
Prints a message to the console debug file.
|
void |
debugMessage(String message,
Exception e)
Prints a message to the console debug file.
|
void |
debugWarning(String message)
Prints a message to the console debug file.
|
void |
debugWarning(String message,
Exception e)
Prints a message to the console debug file.
|
String |
getCopyRightText()
Returns copyright text
|
String |
getErrorMessage()
Returns error message
|
String |
getErrorString(Exception ex)
Return a localized error message from an exception.
|
String |
getErrorTitle()
Returns title for error message.
|
String |
getHTMLPageTitle()
Returns HTML page title.
|
String |
getInformationMessage()
Returns information message.
|
String |
getJavaLogoLabel()
Returns label for Java logo.
|
String |
getLocalizedString(String key)
Returns localized string.
|
String |
getMailAttribute(String realm)
Returns the name of the mail attribute.
|
String |
getPasswordResetMessage()
Returns password reset success message.
|
String |
getProductLabel()
Returns label for product logo.
|
String |
getRootSuffix()
Returns root suffix.
|
String |
getSunLogoLabel()
Returns label for SUN logo.
|
String |
getUserId()
Returns the user distinguished name.
|
boolean |
isError()
Returns
true if there is an error while processing request |
boolean |
isPasswordResetEnabled()
Returns
true if the password service is enabled. |
boolean |
isUserLockout(String userDN,
String orgDN)
Returns
true if the user is locked out from resetting
password. |
boolean |
messageEnabled()
Returns
true if message debugging is enabled. |
void |
readPWResetProfile(String orgDN)
Sets the password reset enabled flag depending what is set in the
password service for a given organization distinguished name.
|
void |
setUserDN(String value)
Sets the user distinguished name.
|
void |
setUserLocale(String localeString)
Sets the user locale.
|
boolean |
warningEnabled()
Returns
true if warning message is enabled. |
static final String DEFAULT_RB
static final String PW_RESET_SERVICE
static final String USER_SERVICE
static final String ACTIVE
void debugError(String message)
message
- to be sent to the debug file.void debugError(String message, Exception e)
message
- to be printed. If message is null it is ignored.e
- printStackTrace
will be invoked to print
the stack trace.String getHTMLPageTitle()
boolean isPasswordResetEnabled()
true
if the password service is enabled.true
if the password service is available.void setUserDN(String value)
value
- user distinguished name.String getUserId()
String getErrorTitle()
String getErrorMessage()
boolean isError()
true
if there is an error while processing requesttrue
if error, false otherwiseString getCopyRightText()
String getPasswordResetMessage()
String getRootSuffix()
boolean warningEnabled()
true
if warning message is enabled.true
if warning message is enabled.void debugWarning(String message)
message
- to be printed. If message is null it is ignored.void debugWarning(String message, Exception e)
message
- to be printed. If message is null it is ignored.e
- printStackTrace
will be invoked to print
the stack trace.boolean messageEnabled()
true
if message debugging is enabled.true
if message debugging is enabled
false
if message debugging is disabledcom.iplanet.am.util.Debug#messageEnabled
void debugMessage(String message)
message
- to be printed. If message is null it is ignored.void debugMessage(String message, Exception e)
message
- to be printed. If message is null it is ignored.e
- printStackTrace
will be invoked to print
the stack trace.String getInformationMessage()
String getLocalizedString(String key)
key
- Resource string key.String getErrorString(Exception ex)
AMException
the error code and any possible
arguments will be extracted from the exception and the message will be
generated from the code and arguments. All other exception types will
return the message from Exception.getMessage
.ex
- The exception.boolean isUserLockout(String userDN, String orgDN)
true
if the user is locked out from resetting
password.userDN
- user distinguished name.orgDN
- organization distinguished name.true
if the user is locked outvoid readPWResetProfile(String orgDN)
orgDN
- Organization distinguished nameString getSunLogoLabel()
String getProductLabel()
String getJavaLogoLabel()
void setUserLocale(String localeString)
localeString
- localeString.String getMailAttribute(String realm) throws SSOException
realm
- The realm the user belongs to.SSOException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.