Enum Class IdentityEffectMode
- All Implemented Interfaces:
Serializable
,Comparable<IdentityEffectMode>
,Constable
Defines how a mapped
IdentityParam
should be handled.- Author:
- K. Benedyczak
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIdentity will be created if doesn't exists.If an identity is found the remote principal will be mapped to this identity.The remote principal must exist in the local database, and will be mapped to it.Identity will be created if it doesn't exist and if the user was matched by any other of identity mapping rules. -
Method Summary
Modifier and TypeMethodDescriptionboolean
static IdentityEffectMode
Returns the enum constant of this class with the specified name.static IdentityEffectMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATE_OR_MATCH
Identity will be created if doesn't exists. If exists the remote principal will be mapped to the existing entity. -
MATCH
If an identity is found the remote principal will be mapped to this identity. -
REQUIRE_MATCH
The remote principal must exist in the local database, and will be mapped to it. -
UPDATE_OR_MATCH
Identity will be created if it doesn't exist and if the user was matched by any other of identity mapping rules. If identity exists the remote principal will be mapped to the existing entity.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
mayModifyIdentity
public boolean mayModifyIdentity()
-