Package cloud.piranha.webapp.api
Enum SecurityManager.AuthenticateSource
- java.lang.Object
-
- java.lang.Enum<SecurityManager.AuthenticateSource>
-
- cloud.piranha.webapp.api.SecurityManager.AuthenticateSource
-
- All Implemented Interfaces:
Serializable
,Comparable<SecurityManager.AuthenticateSource>
- Enclosing interface:
- SecurityManager
public static enum SecurityManager.AuthenticateSource extends Enum<SecurityManager.AuthenticateSource>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MID_REQUEST_USER
The user (code) has programmatically called authenticatePRE_REQUEST_CONTAINER
The container / runtime calls authenticate before a request
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SecurityManager.AuthenticateSource
valueOf(String name)
Returns the enum constant of this type with the specified name.static SecurityManager.AuthenticateSource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRE_REQUEST_CONTAINER
public static final SecurityManager.AuthenticateSource PRE_REQUEST_CONTAINER
The container / runtime calls authenticate before a request
-
MID_REQUEST_USER
public static final SecurityManager.AuthenticateSource MID_REQUEST_USER
The user (code) has programmatically called authenticate
-
-
Method Detail
-
values
public static SecurityManager.AuthenticateSource[] 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 (SecurityManager.AuthenticateSource c : SecurityManager.AuthenticateSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SecurityManager.AuthenticateSource 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
-
-