Package com.sas.lsaf.security.audit
Enum Class AuditEntry.Mode
- All Implemented Interfaces:
Serializable,Comparable<AuditEntry.Mode>,Constable
- Enclosing class:
AuditEntry
The execution mode in which the audit entry was recorded.
- Since:
- 2.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic AuditEntry.ModeReturns the enum constant of this class with the specified name.static AuditEntry.Mode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USER
The entry was recorded during a typical user session mode. No elevated privileges or access rights were in place when the entry was recorded. This is the typical mode in which most records are recorded. -
SYSTEM
The entry was recorded by a system action. System actions are actions that the system executes on behave of a user or the system. -
ADMIN
The entry was recorded while the end user was in administrative mode. This is a privileged mode that enables the end user to make changes that they might not necessarily have the access rights to make in user mode.
-
-
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
-