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 ADMINANONYMOUSAZURE_ADNow known as Microsoft Entra ID.FACEBOOKFORMGENERIC_OAUTH2GENERIC_OPENIDCONNECTGENERIC_SAML2GOOGLEKERBEROSKERBEROS_EXTENSIONLDAPNTLMDeprecated.PASSWORDPLUGIN
-
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 EAuthClientTypegetByName(String name)Returns the authenticator type with the given name.EAuthRenderTypegetDefaultRenderType()Returns the default render type for this authenticator type.StringgetDisplayName(Locale locale)Returns the display name of this authenticator type in the given locale.StringgetIconStyleClass()Returns the default style class of the icon for authenticators of this type.StringgetName()Returns the name of this authenticator type.booleanisCanProvideDistinctUsers()Returns whether authenticators of this type can provide distinct user, as in users that can be distinguished from one another (via an ID).booleanisDirectAuthenticator()Returns whether this authenticator is capable of producing adirect authenticator.booleanisNeedsAuthenticatorEntity()Returns whether this authenticator type requires anauthenticator entityto be created in order to be used.booleanisSystemAuthenticator()Deprecated.UseisNeedsAuthenticatorEntity()instead to determine if the authenticator needs an authenticator entity.static EAuthClientTypevalueOf(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
nullif 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 authenticatorsin formcycle are a type of authenticator entity on the system level. UseisNeedsAuthenticatorEntity()instead.- Returns:
trueif this authenticator type is a "system authenticator" andfalseotherwise.
-
isDirectAuthenticator
public boolean isDirectAuthenticator()
Returns whether this authenticator is capable of producing adirect authenticator.- Returns:
trueif this authenticator is capable of producing a direct authenticator andfalseotherwise.
-
isNeedsAuthenticatorEntity
public boolean isNeedsAuthenticatorEntity()
Returns whether this authenticator type requires anauthenticator entityto be created in order to be used.- Returns:
trueif an authenticator entity is required andfalseotherwise.
-
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:
trueif authenticators of this type can provide distinct users andfalseotherwise.
-
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 entityis 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:
getDisplayNamein interfaceINamedUiElement- Parameters:
locale- The locale to get the display name for.- Returns:
- The display name of this authenticator type in the given locale.
-
-