Package com.sdl.delivery.security
Enum Class EventType
- All Implemented Interfaces:
Serializable,Comparable<EventType>,Constable
Compatibility class for OWASP ESAPI.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA non-security type of log event that has failed.A non-security type of log event that has succeeded.A non-security type of log event that is unspecified.A security type of log event that is associated with an audit trail of some type, but the log event is not specifically something that has either succeeded or failed or that is irrelevant in the case of this logged message.A security type of log event that has failed.A security type of log event that has succeeded. -
Method Summary
-
Enum Constant Details
-
SECURITY_SUCCESS
A security type of log event that has succeeded. This is one of 6 predefined ESAPI logging events. New events can be added. -
SECURITY_FAILURE
A security type of log event that has failed. This is one of 6 predefined ESAPI logging events. New events can be added. -
SECURITY_AUDIT
A security type of log event that is associated with an audit trail of some type, but the log event is not specifically something that has either succeeded or failed or that is irrelevant in the case of this logged message. -
EVENT_SUCCESS
A non-security type of log event that has succeeded. This is one of 6 predefined ESAPI logging events. New events can be added. -
EVENT_FAILURE
A non-security type of log event that has failed. This is one of 6 predefined ESAPI logging events. New events can be added. -
EVENT_UNSPECIFIED
A non-security type of log event that is unspecified. This is one of 6 predefined ESAPI logging events. New events can be added.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-