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.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
Create 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
-