Enum OidcClientRegistrationProperties.DynamicClientRegistrationModes
- java.lang.Object
-
- java.lang.Enum<OidcClientRegistrationProperties.DynamicClientRegistrationModes>
-
- org.apereo.cas.configuration.model.support.oidc.OidcClientRegistrationProperties.DynamicClientRegistrationModes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OidcClientRegistrationProperties.DynamicClientRegistrationModes>
- Enclosing class:
- OidcClientRegistrationProperties
public static enum OidcClientRegistrationProperties.DynamicClientRegistrationModes extends java.lang.Enum<OidcClientRegistrationProperties.DynamicClientRegistrationModes>
Dynamic client registration mode.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isProtected()
Is protected?static OidcClientRegistrationProperties.DynamicClientRegistrationModes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OidcClientRegistrationProperties.DynamicClientRegistrationModes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPEN
public static final OidcClientRegistrationProperties.DynamicClientRegistrationModes OPEN
Registration is open to all. In a situation where CAS is supporting open Client registration, it will check to see if thelogo_uri
andpolicy_uri
have the same host as the hosts defined in the array ofredirect_uris
.
-
PROTECTED
public static final OidcClientRegistrationProperties.DynamicClientRegistrationModes PROTECTED
registration is protected for all.
-
-
Method Detail
-
values
public static OidcClientRegistrationProperties.DynamicClientRegistrationModes[] 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 (OidcClientRegistrationProperties.DynamicClientRegistrationModes c : OidcClientRegistrationProperties.DynamicClientRegistrationModes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OidcClientRegistrationProperties.DynamicClientRegistrationModes 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
-
isProtected
public boolean isProtected()
Is protected?- Returns:
- the boolean
-
-