public final class ExternalLoginResult extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.stardust.common.error.LoginFailedException |
getLoginFailedReason()
Queries for the reason the authentification failed.
|
Map |
getProperties()
Queries for the overiding properties.
|
String |
getUserId()
Gets the userId which will be used for user identification / synchronization in subsequent method calls - can be null
|
boolean |
isOverridingProperties()
Queries for the existence of overiding properties.
|
static ExternalLoginResult |
testifyFailure(org.eclipse.stardust.common.error.LoginFailedException reason)
Testifies a failed authentification.
|
static ExternalLoginResult |
testifyFailure(String userId,
org.eclipse.stardust.common.error.LoginFailedException reason)
Testifies a failed authentification.
|
static ExternalLoginResult |
testifySuccess()
Testifies a successful authentication.
|
static ExternalLoginResult |
testifySuccess(Map properties)
Testifies a successful authentication.
|
static ExternalLoginResult |
testifySuccess(String userId)
Testifies a successful authentication.
|
static ExternalLoginResult |
testifySuccess(String userId,
Map properties)
Testifies a successful authentication.
|
boolean |
wasSuccessful()
Queries for success.
|
public static final ExternalLoginResult testifySuccess()
public static final ExternalLoginResult testifySuccess(String userId)
userId - - the userId which will be used for user identification / synchronization in subsequent method calls - can be nullpublic static final ExternalLoginResult testifySuccess(Map properties)
properties - The modified properties map. null results in
an empty map.public static final ExternalLoginResult testifySuccess(String userId, Map properties)
userId - - the userId which will be used for user identification / synchronization in subsequent method calls - can be nullproperties - The modified properties map. null results in
an empty map.public static final ExternalLoginResult testifyFailure(org.eclipse.stardust.common.error.LoginFailedException reason)
reason - The reason the authentication went fail.public static final ExternalLoginResult testifyFailure(String userId, org.eclipse.stardust.common.error.LoginFailedException reason)
userId - - the userId which will be used for user identification / synchronization in subsequent method calls - can be nullreason - The reason the authentication went fail.public boolean wasSuccessful()
public org.eclipse.stardust.common.error.LoginFailedException getLoginFailedReason()
public boolean isOverridingProperties()
getProperties().public Map getProperties()
public String getUserId()
Copyright © 2016 Eclipse Stardust. All Rights Reserved.