Package io.helidon.security.abac.role
Class RoleValidatorService
java.lang.Object
io.helidon.security.abac.role.RoleValidatorService
- All Implemented Interfaces:
AbacValidatorService
Java service for
RoleValidator ABAC security provider.-
Constructor Summary
Constructors -
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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.security.providers.abac.spi.AbacValidatorService
instantiate
-
Constructor Details
-
RoleValidatorService
public RoleValidatorService()
-
-
Method Details
-
configKey
Description copied from interface:AbacValidatorServiceKey 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: ....- Specified by:
configKeyin interfaceAbacValidatorService- Returns:
- name of the configuration key
-
instantiate
Description copied from interface:AbacValidatorServiceCreate 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
- Specified by:
instantiatein interfaceAbacValidatorService- Parameters:
config- Config with provider configuration- Returns:
- validator instance created from the
Configprovided
-