|
|||||||||||
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 | +--org.apache.james.AuthenticationException
Thrown when a user fails to authenticate either because their identity is not recognised or because their credentials are wrong.
Constructor Summary | |
AuthenticationException(java.lang.String message,
boolean unknownUser,
boolean credentialsFailed)
Construct a new AuthenticationException instance. |
Method Summary | |
boolean |
isBadCredentials()
|
boolean |
isUserNotKnown()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AuthenticationException(java.lang.String message, boolean unknownUser, boolean credentialsFailed)
AuthenticationException
instance.
message
- The detail message for this exception (mandatory).Method Detail |
public boolean isUserNotKnown()
public boolean isBadCredentials()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |