Enum ActuatorEndpointProperties.EndpointAccessLevel
- java.lang.Object
-
- java.lang.Enum<ActuatorEndpointProperties.EndpointAccessLevel>
-
- org.apereo.cas.configuration.model.core.monitor.ActuatorEndpointProperties.EndpointAccessLevel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ActuatorEndpointProperties.EndpointAccessLevel>
- Enclosing class:
- ActuatorEndpointProperties
public static enum ActuatorEndpointProperties.EndpointAccessLevel extends java.lang.Enum<ActuatorEndpointProperties.EndpointAccessLevel>
Define the security access level for the endpoint.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANONYMOUS
Allow anonymous access to the endpoint.AUTHENTICATED
Require authenticated access to the endpoint.AUTHORITY
Require authenticated access to the endpoint along with an authority requirement.DENY
Block access to the endpoint.IP_ADDRESS
Require authenticated access to the endpoint using a collection of IP addresses.PERMIT
Allow open access to the endpoint.ROLE
Require authenticated access to the endpoint along with a role requirement.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ActuatorEndpointProperties.EndpointAccessLevel
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ActuatorEndpointProperties.EndpointAccessLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERMIT
public static final ActuatorEndpointProperties.EndpointAccessLevel PERMIT
Allow open access to the endpoint.
-
ANONYMOUS
public static final ActuatorEndpointProperties.EndpointAccessLevel ANONYMOUS
Allow anonymous access to the endpoint.
-
DENY
public static final ActuatorEndpointProperties.EndpointAccessLevel DENY
Block access to the endpoint.
-
AUTHENTICATED
public static final ActuatorEndpointProperties.EndpointAccessLevel AUTHENTICATED
Require authenticated access to the endpoint.
-
ROLE
public static final ActuatorEndpointProperties.EndpointAccessLevel ROLE
Require authenticated access to the endpoint along with a role requirement.
-
AUTHORITY
public static final ActuatorEndpointProperties.EndpointAccessLevel AUTHORITY
Require authenticated access to the endpoint along with an authority requirement.
-
IP_ADDRESS
public static final ActuatorEndpointProperties.EndpointAccessLevel IP_ADDRESS
Require authenticated access to the endpoint using a collection of IP addresses.
-
-
Method Detail
-
values
public static ActuatorEndpointProperties.EndpointAccessLevel[] 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 (ActuatorEndpointProperties.EndpointAccessLevel c : ActuatorEndpointProperties.EndpointAccessLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActuatorEndpointProperties.EndpointAccessLevel 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
-
-