Package org.keycloak.validation
Class ValidationUtil
java.lang.Object
org.keycloak.validation.ValidationUtil
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
validateClient
(KeycloakSession session, ClientModel client, boolean create, ValidationUtil.ErrorHandler errorHandler) static void
validateClient
(KeycloakSession session, ClientModel client, OIDCClientRepresentation oidcClient, boolean create, ValidationUtil.ErrorHandler errorHandler)
-
Constructor Details
-
ValidationUtil
public ValidationUtil()
-
-
Method Details
-
validateClient
public static void validateClient(KeycloakSession session, ClientModel client, boolean create, ValidationUtil.ErrorHandler errorHandler) throws jakarta.ws.rs.BadRequestException - Throws:
jakarta.ws.rs.BadRequestException
-
validateClient
public static void validateClient(KeycloakSession session, ClientModel client, OIDCClientRepresentation oidcClient, boolean create, ValidationUtil.ErrorHandler errorHandler) throws jakarta.ws.rs.BadRequestException - Throws:
jakarta.ws.rs.BadRequestException
-