Uses of Class
com.okta.commons.configcheck.ValidationResponse
-
Uses of ValidationResponse in com.okta.commons.configcheck
Methods in com.okta.commons.configcheck that return ValidationResponseModifier and TypeMethodDescriptionValidationResponse.setException(Exception exception) ValidationResponse.setMessage(String message) static ValidationResponseConfigurationValidator.validateApiToken(String token) Returns aValidationResponsechecking to make sure the API token is not null and contains does not contain the string{apiToken}.static ValidationResponseConfigurationValidator.validateClientId(String clientId) Returns aValidationResponsechecking theclientIdis not null and contains does not contain the string{apiToclientIdken}.static ValidationResponseConfigurationValidator.validateClientSecret(String clientSecret) Returns aValidationResponsechecking theclientSecretis not null and contains does not contain the string{clientSecret}.static ValidationResponseConfigurationValidator.validateIssuer(String url) Returns aValidationResponsechecking theurlis a well formed HTTPS URL and does not contain common typos.static ValidationResponseConfigurationValidator.validateOrgUrl(String url) Returns aValidationResponsechecking to make sure theurlis a well formed HTTPS URL and does not contain common typos.static ValidationResponseConfigurationValidator.validateOrgUrl(String url, boolean allowNonHttpsForTesting) Deprecated.Method parameters in com.okta.commons.configcheck with type arguments of type ValidationResponseModifier and TypeMethodDescriptionvoidValidationResponse.ifInvalid(Consumer<ValidationResponse> consumer)
ConfigurationValidator.validateOrgUrl(String)instead, disabling this check is NOT recommended, and should ONLY be done in testing scenarios