|
|||||||||
| 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.ExternalLoginResult
public final class ExternalLoginResult
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. |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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 null
public 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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||