Enum Pac4jBaseClientProperties.CallbackUrlTypes
- java.lang.Object
-
- java.lang.Enum<Pac4jBaseClientProperties.CallbackUrlTypes>
-
- org.apereo.cas.configuration.model.support.pac4j.Pac4jBaseClientProperties.CallbackUrlTypes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Pac4jBaseClientProperties.CallbackUrlTypes>
- Enclosing class:
- Pac4jBaseClientProperties
public static enum Pac4jBaseClientProperties.CallbackUrlTypes extends java.lang.Enum<Pac4jBaseClientProperties.CallbackUrlTypes>
The callback url types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
No callback url.PATH_PARAMETER
Path parameter callback url.QUERY_PARAMETER
Query parameter callback url.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Pac4jBaseClientProperties.CallbackUrlTypes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Pac4jBaseClientProperties.CallbackUrlTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PATH_PARAMETER
public static final Pac4jBaseClientProperties.CallbackUrlTypes PATH_PARAMETER
Path parameter callback url. The client name is added to the path of the callback URL.
-
QUERY_PARAMETER
public static final Pac4jBaseClientProperties.CallbackUrlTypes QUERY_PARAMETER
Query parameter callback url. The client name is added to the path of a query parameter.
-
NONE
public static final Pac4jBaseClientProperties.CallbackUrlTypes NONE
No callback url. No name is added to the callback URL to be able to distinguish the client.
-
-
Method Detail
-
values
public static Pac4jBaseClientProperties.CallbackUrlTypes[] 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 (Pac4jBaseClientProperties.CallbackUrlTypes c : Pac4jBaseClientProperties.CallbackUrlTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Pac4jBaseClientProperties.CallbackUrlTypes 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
-
-