Package org.forgerock.audit.events
Enum AuthenticationAuditEventBuilder.Status
- java.lang.Object
-
- java.lang.Enum<AuthenticationAuditEventBuilder.Status>
-
- org.forgerock.audit.events.AuthenticationAuditEventBuilder.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<AuthenticationAuditEventBuilder.Status>
- Enclosing class:
- AuthenticationAuditEventBuilder<T extends AuthenticationAuditEventBuilder<T>>
public static enum AuthenticationAuditEventBuilder.Status extends Enum<AuthenticationAuditEventBuilder.Status>
Defines a fixed set of authentication statuses that can be logged.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTINUE
Authentication operation has not yet completed.FAILED
Authentication operation has completed unsuccessfully.SUCCESSFUL
Authentication operation has completed successfully.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationAuditEventBuilder.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static AuthenticationAuditEventBuilder.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTINUE
public static final AuthenticationAuditEventBuilder.Status CONTINUE
Authentication operation has not yet completed.
-
SUCCESSFUL
public static final AuthenticationAuditEventBuilder.Status SUCCESSFUL
Authentication operation has completed successfully.
-
FAILED
public static final AuthenticationAuditEventBuilder.Status FAILED
Authentication operation has completed unsuccessfully.
-
-
Method Detail
-
values
public static AuthenticationAuditEventBuilder.Status[] 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 (AuthenticationAuditEventBuilder.Status c : AuthenticationAuditEventBuilder.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticationAuditEventBuilder.Status 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
-
-