Package org.keycloak.provider
Class ConfigurationValidationHelper
java.lang.Object
org.keycloak.provider.ConfigurationValidationHelper
- Author:
- Stian Thorgersen
-
Method Summary
Modifier and TypeMethodDescriptioncheck
(ComponentModel model) checkBoolean
(String key, String label, boolean required) checkBoolean
(ProviderConfigProperty property, boolean required) checkInt
(ProviderConfigProperty property, boolean required) checkList
(ProviderConfigProperty property, boolean required) checkLong
(ProviderConfigProperty property, boolean required) checkRequired
(String key, String label) checkRequired
(ProviderConfigProperty property) checkSingle
(String key, String label, boolean required) checkSingle
(ProviderConfigProperty property, boolean required)
-
Method Details
-
check
-
checkInt
public ConfigurationValidationHelper checkInt(ProviderConfigProperty property, boolean required) throws ComponentValidationException - Throws:
ComponentValidationException
-
checkList
public ConfigurationValidationHelper checkList(ProviderConfigProperty property, boolean required) throws ComponentValidationException - Throws:
ComponentValidationException
-
checkInt
public ConfigurationValidationHelper checkInt(String key, String label, boolean required) throws ComponentValidationException - Throws:
ComponentValidationException
-
checkLong
public ConfigurationValidationHelper checkLong(ProviderConfigProperty property, boolean required) throws ComponentValidationException - Throws:
ComponentValidationException
-
checkLong
public ConfigurationValidationHelper checkLong(String key, String label, boolean required) throws ComponentValidationException - Throws:
ComponentValidationException
-
checkSingle
public ConfigurationValidationHelper checkSingle(ProviderConfigProperty property, boolean required) throws ComponentValidationException - Throws:
ComponentValidationException
-
checkSingle
public ConfigurationValidationHelper checkSingle(String key, String label, boolean required) throws ComponentValidationException - Throws:
ComponentValidationException
-
checkRequired
public ConfigurationValidationHelper checkRequired(ProviderConfigProperty property) throws ComponentValidationException - Throws:
ComponentValidationException
-
checkRequired
public ConfigurationValidationHelper checkRequired(String key, String label) throws ComponentValidationException - Throws:
ComponentValidationException
-
checkBoolean
public ConfigurationValidationHelper checkBoolean(ProviderConfigProperty property, boolean required) throws ComponentValidationException - Throws:
ComponentValidationException
-
checkBoolean
-