Package org.keycloak.validation
Class DefaultClientValidationProvider
java.lang.Object
org.keycloak.validation.DefaultClientValidationProvider
- All Implemented Interfaces:
Provider
,ClientValidationProvider
,Validator<ClientModel>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Check if url has curly brackets in correct position ('{' before '}')validate
(ValidationContext<ClientModel> context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.validation.ClientValidationProvider
close
-
Constructor Details
-
DefaultClientValidationProvider
public DefaultClientValidationProvider()
-
-
Method Details
-
validate
- Specified by:
validate
in interfaceValidator<ClientModel>
-
validate
- Specified by:
validate
in interfaceClientValidationProvider
-
checkCurlyBracketsBalanced
Check if url has curly brackets in correct position ('{' before '}')- Parameters:
url
- to check- Returns:
- true if curly brackets are balanced, else false
-