Interface AbacValidatorService
- All Known Implementing Classes:
PolicyValidatorService,RoleValidatorService,ScopeValidatorService,TimeValidatorService
public interface AbacValidatorService
Service to use with ServiceLoader to map configuration to
AbacValidator.-
Method Summary
Modifier and TypeMethodDescriptionKey of the "root" of configuration of this validator.default AbacValidator<? extends AbacValidatorConfig> instantiate(Config config) Deprecated, for removal: This API element is subject to removal in a future version.default AbacValidator<? extends AbacValidatorConfig> instantiate(Config config) Create a new instance of the validator based on the configuration provided.
-
Method Details
-
configKey
String configKey()Key of the "root" of configuration of this validator.Example - scope validator, the configuration in yaml may then be:
security.providers: - abac: fail-on-unvalidated: true scope: ....- Returns:
- name of the configuration key
-
instantiate
@Deprecated(since="4.4.0", forRemoval=true) default AbacValidator<? extends AbacValidatorConfig> instantiate(Config config) Deprecated, for removal: This API element is subject to removal in a future version.useinstantiate(io.helidon.config.Config)insteadCreate a new instance of the validator based on the configuration provided. The config is located at the config key of this provider.- Parameters:
config- Config with provider configuration- Returns:
- validator instance created from the
Configprovided
-
instantiate
Create a new instance of the validator based on the configuration provided. The config is located at the config key of this provider.API Note: the default method implementation is provided for backward compatibility and will be removed in the next major version
- Parameters:
config- Config with provider configuration- Returns:
- validator instance created from the
Configprovided - Since:
- 4.4.0
-
instantiate(io.helidon.config.Config)instead