Package de.xima.fc.mdl.enums
Enum EAuthClientType
- java.lang.Object
-
- java.lang.Enum<EAuthClientType>
-
- de.xima.fc.mdl.enums.EAuthClientType
-
- All Implemented Interfaces:
INamedUiElement
,Serializable
,Comparable<EAuthClientType>
public enum EAuthClientType extends Enum<EAuthClientType> implements INamedUiElement
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMIN
ANONYMOUS
AZURE_AD
Now known as Microsoft Entra ID.FACEBOOK
FORM
GENERIC_OAUTH2
GENERIC_OPENIDCONNECT
GENERIC_SAML2
GOOGLE
KERBEROS
KERBEROS_EXTENSION
LDAP
NTLM
Deprecated.PASSWORD
PLUGIN
-
Field Summary
-
Fields inherited from interface de.xima.fc.interfaces.INamedUiElement
ATTR_DISPLAY_NAME
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EAuthClientType
getByName(String name)
Returns the authenticator type with the given name.EAuthRenderType
getDefaultRenderType()
Returns the default render type for this authenticator type.String
getDisplayName(Locale locale)
Returns the display name of this authenticator type in the given locale.String
getIconStyleClass()
Returns the default style class of the icon for authenticators of this type.String
getName()
Returns the name of this authenticator type.boolean
isCanProvideDistinctUsers()
Returns whether authenticators of this type can provide distinct user, as in users that can be distinguished from one another (via an ID).boolean
isDirectAuthenticator()
Returns whether this authenticator is capable of producing adirect authenticator
.boolean
isNeedsAuthenticatorEntity()
Returns whether this authenticator type requires anauthenticator entity
to be created in order to be used.boolean
isSystemAuthenticator()
Deprecated.UseisNeedsAuthenticatorEntity()
instead to determine if the authenticator needs an authenticator entity.static EAuthClientType
valueOf(String name)
Returns the enum constant of this type with the specified name.static EAuthClientType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AZURE_AD
public static final EAuthClientType AZURE_AD
Now known as Microsoft Entra ID.- Since:
- 7.1.0
-
GENERIC_OPENIDCONNECT
public static final EAuthClientType GENERIC_OPENIDCONNECT
-
GENERIC_OAUTH2
public static final EAuthClientType GENERIC_OAUTH2
- Since:
- 7.0.0
-
GENERIC_SAML2
public static final EAuthClientType GENERIC_SAML2
-
FACEBOOK
public static final EAuthClientType FACEBOOK
-
GOOGLE
public static final EAuthClientType GOOGLE
-
PLUGIN
public static final EAuthClientType PLUGIN
-
LDAP
public static final EAuthClientType LDAP
- Since:
- 8.0.0
-
ANONYMOUS
public static final EAuthClientType ANONYMOUS
-
KERBEROS
public static final EAuthClientType KERBEROS
-
KERBEROS_EXTENSION
public static final EAuthClientType KERBEROS_EXTENSION
- Since:
- 8.0.0
-
ADMIN
public static final EAuthClientType ADMIN
- Since:
- 8.0.0
-
FORM
public static final EAuthClientType FORM
-
PASSWORD
public static final EAuthClientType PASSWORD
-
NTLM
@Deprecated public static final EAuthClientType NTLM
Deprecated.Since version 8.0.0 not configurable via UI anymore.
-
-
Method Detail
-
values
public static EAuthClientType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EAuthClientType c : EAuthClientType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EAuthClientType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getByName
public static EAuthClientType getByName(String name)
Returns the authenticator type with the given name.- Parameters:
name
- The name of the authenticator type to get.- Returns:
- The authenticator type with the given name or
null
if no such authenticator type exists.
-
getDefaultRenderType
public EAuthRenderType getDefaultRenderType()
Returns the default render type for this authenticator type. The default render type determines how an authenticator of this type should be rendered.- Returns:
- The default render type for this authenticator type.
- Since:
- 8.2.0
-
isSystemAuthenticator
@Deprecated public boolean isSystemAuthenticator()
Deprecated.UseisNeedsAuthenticatorEntity()
instead to determine if the authenticator needs an authenticator entity.Returns whether this authenticator type is a "system authenticator". System authenticators are authenticators that are provided by the "system" and don't need anauthenticator entity
. This method is deprecated because of its ambiguous name.system authenticators
in formcycle are a type of authenticator entity on the system level. UseisNeedsAuthenticatorEntity()
instead.- Returns:
true
if this authenticator type is a "system authenticator" andfalse
otherwise.
-
isDirectAuthenticator
public boolean isDirectAuthenticator()
Returns whether this authenticator is capable of producing adirect authenticator
.- Returns:
true
if this authenticator is capable of producing a direct authenticator andfalse
otherwise.
-
isNeedsAuthenticatorEntity
public boolean isNeedsAuthenticatorEntity()
Returns whether this authenticator type requires anauthenticator entity
to be created in order to be used.- Returns:
true
if an authenticator entity is required andfalse
otherwise.
-
isCanProvideDistinctUsers
public boolean isCanProvideDistinctUsers()
Returns whether authenticators of this type can provide distinct user, as in users that can be distinguished from one another (via an ID).- Returns:
true
if authenticators of this type can provide distinct users andfalse
otherwise.
-
getIconStyleClass
public String getIconStyleClass()
Returns the default style class of the icon for authenticators of this type. May be used when rendering the authenticator.- Returns:
- The default style class of the icon
-
getName
public String getName()
Returns the name of this authenticator type. The name of authenticator types that don'tneed an authenticator entity
is used as theclient name
.- Returns:
- The name of this authenticator type.
-
getDisplayName
public String getDisplayName(Locale locale)
Returns the display name of this authenticator type in the given locale.- Specified by:
getDisplayName
in interfaceINamedUiElement
- Parameters:
locale
- The locale to get the display name for.- Returns:
- The display name of this authenticator type in the given locale.
-
-