Package de.xima.fc.mdl.enums
Enum EAuthRedirectTarget
- java.lang.Object
-
- java.lang.Enum<EAuthRedirectTarget>
-
- de.xima.fc.mdl.enums.EAuthRedirectTarget
-
- All Implemented Interfaces:
INamedUiElement,Serializable,Comparable<EAuthRedirectTarget>
public enum EAuthRedirectTarget extends Enum<EAuthRedirectTarget> implements INamedUiElement
Enum representing the possible targets for redirects to an external IDP during authentication.- Author:
- XIMA Media GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description _BLANKRedirect is performed in a new browser tab or pop-up window_SELFRedirect is performed in the same browser tabIFRAMEDeprecated.This option is deprecated and should not be used, as pretty much all IDPs do not support being embedded in an iframe for security reasons.
-
Field Summary
-
Fields inherited from interface de.xima.fc.interfaces.INamedUiElement
ATTR_DISPLAY_NAME
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName(Locale l)The display name of this element in the given locale.static EAuthRedirectTargetvalueOf(String name)Returns the enum constant of this type with the specified name.static EAuthRedirectTarget[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_SELF
public static final EAuthRedirectTarget _SELF
Redirect is performed in the same browser tab
-
_BLANK
public static final EAuthRedirectTarget _BLANK
Redirect is performed in a new browser tab or pop-up window
-
IFRAME
@Deprecated(since="8.5.4") public static final EAuthRedirectTarget IFRAME
Deprecated.This option is deprecated and should not be used, as pretty much all IDPs do not support being embedded in an iframe for security reasons.Redirect is performed in an iframe, embedded in the current page.
-
-
Method Detail
-
values
public static EAuthRedirectTarget[] 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 (EAuthRedirectTarget c : EAuthRedirectTarget.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EAuthRedirectTarget 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
-
getDisplayName
public String getDisplayName(Locale l)
Description copied from interface:INamedUiElementThe display name of this element in the given locale.- Specified by:
getDisplayNamein interfaceINamedUiElement- Parameters:
l- The locale to get the display name for.- Returns:
- The display name of this element in the given locale.
-
-