|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.security.GeneralSecurityException | +--javax.security.auth.login.LoginException | +--javax.security.auth.login.FailedLoginException | +--com.ibm.itim.apps.ITIMFailedLoginException
This class identifies an authentication failure. The user has attempted to login to ITIM but failed to login with ITIM Account.
Field Summary | |
---|---|
static java.lang.String |
INVALID_ANSWERS
Key for invalid answers |
static java.lang.String |
INVALID_ANSWERS_ATTEMPTS
Key for invalid answers attempts. |
static java.lang.String |
INVALID_OLD_PASSWORD
Key for invalid old password |
static java.lang.String |
INVALID_OLD_PASSWORD_ATTEMPTS
Key for invalid old password attempts |
static java.lang.String |
INVALID_PASSWORD
Key for invalid password |
static java.lang.String |
INVALID_PASSWORD_ATTEMPTS
Key for invalid password attempts |
static java.lang.String |
NO_USER_ID
Key for no user ID |
Constructor Summary | |
---|---|
ITIMFailedLoginException(java.lang.String msg)
Constructs with an error code |
|
ITIMFailedLoginException(java.lang.String msg,
java.lang.Object[] tokenValues)
Constructs with an error code and message tokens |
Method Summary | |
---|---|
java.lang.String |
getLocalizedMessage()
Returns an error message localized for java.util.Locale.getDefault(). |
java.lang.String |
getMessage()
Returns an error message localized for java.util.Locale.US. |
java.lang.String |
getMessage(java.util.Locale locale)
Returns an error message localized for the given java.util.Locale. |
java.lang.String |
getMessageId()
This method returns the message identifier for this exeception. |
java.lang.Throwable |
getThrowable()
Deprecated. |
java.lang.Object[] |
getTokens()
This method gets the Object[] of tokens which are used in the localized message. |
java.lang.String |
toXML()
Returns a XML representation of this exception message and parameters that can be localized in the ITIM UI. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String INVALID_ANSWERS
public static final java.lang.String INVALID_ANSWERS_ATTEMPTS
public static final java.lang.String INVALID_OLD_PASSWORD_ATTEMPTS
public static final java.lang.String INVALID_OLD_PASSWORD
public static final java.lang.String INVALID_PASSWORD
public static final java.lang.String INVALID_PASSWORD_ATTEMPTS
public static final java.lang.String NO_USER_ID
Constructor Detail |
public ITIMFailedLoginException(java.lang.String msg)
msg
- string identifier of error message.public ITIMFailedLoginException(java.lang.String msg, java.lang.Object[] tokenValues)
msg
- string identifier of error message.tokenValues
- Object[] containing string values for replaceable tokens
in the message bundle string.Method Detail |
public java.lang.String getMessageId()
public java.lang.Object[] getTokens()
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getMessage(java.util.Locale locale)
locale
- a java.util.Locale for which to localize the message
returned.
public java.lang.Throwable getThrowable()
public java.lang.String toXML()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |