AbacValidatorServicepublic class ScopeValidatorService extends java.lang.Object implements AbacValidatorService
ScopeValidator to AbacProvider.| Constructor | Description |
|---|---|
ScopeValidatorService() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
configKey() |
Key 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.
|
public java.lang.String configKey()
AbacValidatorServiceExample - scope validator, the configuration in yaml may then be:
security.providers:
- abac:
fail-on-unvalidated: true
scope:
....
configKey in interface AbacValidatorServicepublic AbacValidator<? extends AbacValidatorConfig> instantiate(Config config)
AbacValidatorServiceinstantiate in interface AbacValidatorServiceconfig - Config with provider configurationConfig providedCopyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.