Package org.wildfly.security.http.oidc
Enum OidcClientConfiguration.RelativeUrlsUsed
- java.lang.Object
-
- java.lang.Enum<OidcClientConfiguration.RelativeUrlsUsed>
-
- org.wildfly.security.http.oidc.OidcClientConfiguration.RelativeUrlsUsed
-
- All Implemented Interfaces:
Serializable
,Comparable<OidcClientConfiguration.RelativeUrlsUsed>
- Enclosing class:
- OidcClientConfiguration
public static enum OidcClientConfiguration.RelativeUrlsUsed extends Enum<OidcClientConfiguration.RelativeUrlsUsed>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
RelativeUrlsUsed()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OidcClientConfiguration.RelativeUrlsUsed
valueOf(String name)
Returns the enum constant of this type with the specified name.static OidcClientConfiguration.RelativeUrlsUsed[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final OidcClientConfiguration.RelativeUrlsUsed ALWAYS
Always use relative URI and resolve them later based on browser HTTP request
-
NEVER
public static final OidcClientConfiguration.RelativeUrlsUsed NEVER
Relative URI not used. Configuration contains absolute URI.
-
-
Method Detail
-
values
public static OidcClientConfiguration.RelativeUrlsUsed[] 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 (OidcClientConfiguration.RelativeUrlsUsed c : OidcClientConfiguration.RelativeUrlsUsed.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OidcClientConfiguration.RelativeUrlsUsed 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
-
-