Enum AuthenticationBackend.UserCachingPolicy
- java.lang.Object
-
- java.lang.Enum<AuthenticationBackend.UserCachingPolicy>
-
- com.floragunn.searchguard.auth.api.AuthenticationBackend.UserCachingPolicy
-
- All Implemented Interfaces:
Serializable,Comparable<AuthenticationBackend.UserCachingPolicy>
- Enclosing interface:
- AuthenticationBackend
public static enum AuthenticationBackend.UserCachingPolicy extends Enum<AuthenticationBackend.UserCachingPolicy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYSNEVERONLY_IF_AUTHZ_SEPARATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationBackend.UserCachingPolicyvalueOf(String name)Returns the enum constant of this type with the specified name.static AuthenticationBackend.UserCachingPolicy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final AuthenticationBackend.UserCachingPolicy ALWAYS
-
ONLY_IF_AUTHZ_SEPARATE
public static final AuthenticationBackend.UserCachingPolicy ONLY_IF_AUTHZ_SEPARATE
-
NEVER
public static final AuthenticationBackend.UserCachingPolicy NEVER
-
-
Method Detail
-
values
public static AuthenticationBackend.UserCachingPolicy[] 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 (AuthenticationBackend.UserCachingPolicy c : AuthenticationBackend.UserCachingPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticationBackend.UserCachingPolicy 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
-
-