Package org.opencms.db
Enum CmsDriverManager.LoginUserMode
- java.lang.Object
-
- java.lang.Enum<CmsDriverManager.LoginUserMode>
-
- org.opencms.db.CmsDriverManager.LoginUserMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsDriverManager.LoginUserMode>
- Enclosing class:
- CmsDriverManager
public static enum CmsDriverManager.LoginUserMode extends java.lang.Enum<CmsDriverManager.LoginUserMode>
Enum for distinguishing between login modes.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsDriverManager.LoginUserMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsDriverManager.LoginUserMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
checkOnly
public static final CmsDriverManager.LoginUserMode checkOnly
Check mode, where the user is not logged in, but the password check and other checks are still done (however not the second factor check for 2FA).
-
standard
public static final CmsDriverManager.LoginUserMode standard
Normal login process.
-
-
Method Detail
-
values
public static CmsDriverManager.LoginUserMode[] 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 (CmsDriverManager.LoginUserMode c : CmsDriverManager.LoginUserMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsDriverManager.LoginUserMode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-