Module cloud.piranha.webapp.api
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:
java.io.Serializable
,java.lang.Comparable<SecurityManager.AuthenticateSource>
,java.lang.constant.Constable
- Enclosing interface:
- SecurityManager
public static enum SecurityManager.AuthenticateSource extends java.lang.Enum<SecurityManager.AuthenticateSource>
-
Nested Class Summary
-
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
Modifier and Type Method Description static SecurityManager.AuthenticateSource
valueOf(java.lang.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 Details
-
PRE_REQUEST_CONTAINER
The container / runtime calls authenticate before a request -
MID_REQUEST_USER
The user (code) has programmatically called authenticate
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-