public final class LoginResult extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
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.
|
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()
Copyright © 2016 Eclipse Stardust. All Rights Reserved.