Enum AutoSecurityMode
- java.lang.Object
-
- java.lang.Enum<AutoSecurityMode>
-
- org.bremersee.security.authentication.AutoSecurityMode
-
- All Implemented Interfaces:
Serializable
,Comparable<AutoSecurityMode>
public enum AutoSecurityMode extends Enum<AutoSecurityMode>
The auto security mode.- Author:
- Christian Bremer
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AutoSecurityMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static AutoSecurityMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OTHER
public static final AutoSecurityMode OTHER
Other auto security.
-
AUTO
public static final AutoSecurityMode AUTO
Auto security.
-
NONE
public static final AutoSecurityMode NONE
None security.
-
-
Method Detail
-
values
public static AutoSecurityMode[] 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 (AutoSecurityMode c : AutoSecurityMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutoSecurityMode 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
-
-