Package de.alpharogroup.user.auth.enums
Enum ApplicationHeaderKeyNames
- java.lang.Object
-
- java.lang.Enum<ApplicationHeaderKeyNames>
-
- de.alpharogroup.user.auth.enums.ApplicationHeaderKeyNames
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ApplicationHeaderKeyNames>
public enum ApplicationHeaderKeyNames extends java.lang.Enum<ApplicationHeaderKeyNames>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_TOKEN_AUDIENCE_VALUEDEFAULT_TOKEN_ISSUER_VALUEHEADER_KEY_ROLES_VALUE
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_TOKEN_AUDIENCEstatic java.lang.StringDEFAULT_TOKEN_ISSUERstatic java.lang.StringHEADER_KEY_ROLES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Gets the specific namestatic ApplicationHeaderKeyNamesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ApplicationHeaderKeyNames[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT_TOKEN_ISSUER_VALUE
public static final ApplicationHeaderKeyNames DEFAULT_TOKEN_ISSUER_VALUE
-
HEADER_KEY_ROLES_VALUE
public static final ApplicationHeaderKeyNames HEADER_KEY_ROLES_VALUE
-
DEFAULT_TOKEN_AUDIENCE_VALUE
public static final ApplicationHeaderKeyNames DEFAULT_TOKEN_AUDIENCE_VALUE
-
-
Field Detail
-
DEFAULT_TOKEN_ISSUER
public static final java.lang.String DEFAULT_TOKEN_ISSUER
- See Also:
- Constant Field Values
-
DEFAULT_TOKEN_AUDIENCE
public static final java.lang.String DEFAULT_TOKEN_AUDIENCE
- See Also:
- Constant Field Values
-
HEADER_KEY_ROLES
public static final java.lang.String HEADER_KEY_ROLES
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ApplicationHeaderKeyNames[] 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 (ApplicationHeaderKeyNames c : ApplicationHeaderKeyNames.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApplicationHeaderKeyNames valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getName
public java.lang.String getName()
Gets the specific name- Returns:
- the specific name
-
-