Package org.keycloak.validation
Enum Class ClientUriField
- All Implemented Interfaces:
Serializable,Comparable<ClientUriField>,Constable
Catalog of URI fields stored in a client model or representation.
Values are returned as configured, without resolving references or applying validation rules.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic interfaceClientUriField.Validator<E extends Exception>Validate raw configured values with the caller's rules.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<ClientUriField>getName()getNames()getValidationMessages(String protocol) getValues(ClientModel client) getValues(ClientRepresentation client) static <E extends Exception>
voidvalidate(ClientModel client, ClientUriField.Validator<E> validator) static <E extends Exception>
voidvalidate(ClientRepresentation client, List<ClientUriField> fields, ClientUriField.Validator<E> validator) static <E extends Exception>
voidvalidate(ClientRepresentation client, ClientUriField.Validator<E> validator) static ClientUriFieldReturns the enum constant of this class with the specified name.static ClientUriField[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ROOT_URL
-
ADMIN_URL
-
BASE_URL
-
REDIRECT_URIS
-
WEB_ORIGINS
-
JWKS_URL
-
REQUEST_URIS
-
BACKCHANNEL_LOGOUT_URL
-
FRONTCHANNEL_LOGOUT_URL
-
POST_LOGOUT_REDIRECT_URIS
-
CIBA_NOTIFICATION_ENDPOINT
-
LOGO_URI
-
POLICY_URI
-
TOS_URI
-
SECTOR_IDENTIFIER_URI
-
SAML_ASSERTION_CONSUMER_URL_POST_URI
-
SAML_ASSERTION_CONSUMER_URL_REDIRECT_URI
-
SAML_ASSERTION_CONSUMER_URL_ARTIFACT_URI
-
SAML_SINGLE_LOGOUT_SERVICE_URL_POST_URI
-
SAML_SINGLE_LOGOUT_SERVICE_URL_ARTIFACT_URI
-
SAML_SINGLE_LOGOUT_SERVICE_URL_REDIRECT_URI
-
SAML_SINGLE_LOGOUT_SERVICE_URL_SOAP_URI
-
SAML_ARTIFACT_RESOLUTION_SERVICE_URL_URI
-
SAML_METADATA_DESCRIPTOR_URL
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getName
-
getNames
-
fromName
-
getValidationMessages
-
validate
public static <E extends Exception> void validate(ClientRepresentation client, ClientUriField.Validator<E> validator) throws E - Throws:
E extends Exception
-
validate
public static <E extends Exception> void validate(ClientRepresentation client, List<ClientUriField> fields, ClientUriField.Validator<E> validator) throws E - Throws:
E extends Exception
-
validate
public static <E extends Exception> void validate(ClientModel client, ClientUriField.Validator<E> validator) throws E - Throws:
E extends Exception
-
getValues
-
getValues
-