Package org.hawaiiframework.logging.oidc
Enum OidcKibanaLogFieldNames
- java.lang.Object
-
- java.lang.Enum<OidcKibanaLogFieldNames>
-
- org.hawaiiframework.logging.oidc.OidcKibanaLogFieldNames
-
- All Implemented Interfaces:
Serializable
,Comparable<OidcKibanaLogFieldNames>
,KibanaLogField
public enum OidcKibanaLogFieldNames extends Enum<OidcKibanaLogFieldNames> implements KibanaLogField
Kibana Log Field Names for OIDC fields.- Since:
- 3.0.0.M21
- Author:
- Rutger Lubbers
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUDIENCE
AUTHORIZED_PARTY
SUBJECT
USER_ID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OidcKibanaLogFieldNames
fromKey(String key)
Lookup method that does not throw an exception if the specified key is not found.String
getLogName()
Get the name with which this field will appear in the log.static OidcKibanaLogFieldNames
valueOf(String name)
Returns the enum constant of this type with the specified name.static OidcKibanaLogFieldNames[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.hawaiiframework.logging.model.KibanaLogField
matches
-
-
-
-
Enum Constant Detail
-
SUBJECT
public static final OidcKibanaLogFieldNames SUBJECT
-
AUDIENCE
public static final OidcKibanaLogFieldNames AUDIENCE
-
AUTHORIZED_PARTY
public static final OidcKibanaLogFieldNames AUTHORIZED_PARTY
-
USER_ID
public static final OidcKibanaLogFieldNames USER_ID
-
-
Method Detail
-
values
public static OidcKibanaLogFieldNames[] 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 (OidcKibanaLogFieldNames c : OidcKibanaLogFieldNames.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OidcKibanaLogFieldNames 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
-
getLogName
public String getLogName()
Description copied from interface:KibanaLogField
Get the name with which this field will appear in the log.- Specified by:
getLogName
in interfaceKibanaLogField
- Returns:
- the kibana log's field name.
-
fromKey
public static OidcKibanaLogFieldNames fromKey(String key)
Lookup method that does not throw an exception if the specified key is not found.- Parameters:
key
- the key to look for- Returns:
- the KibanaLogField with the given name, or null
-
-