|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.stardust.engine.core.spi.security.LoginResult
public final class LoginResult
Data value object wrapping the result of an authentication request.
| Method Summary | |
|---|---|
org.eclipse.stardust.common.error.LoginFailedException |
getLoginFailedReason()
Queries for the reason the authentification failed. |
static LoginResult |
testifyFailure(org.eclipse.stardust.common.error.LoginFailedException reason)
Testifies a failed authentification. |
static LoginResult |
testifySuccess()
Testifies a successful authentication. |
boolean |
wasSuccessful()
Queries for success. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final LoginResult testifySuccess()
public static final LoginResult testifyFailure(org.eclipse.stardust.common.error.LoginFailedException reason)
reason - The reason the authentication went fail.
public boolean wasSuccessful()
public org.eclipse.stardust.common.error.LoginFailedException getLoginFailedReason()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||