Package io.helidon.security.abac.scope
Class ScopeValidator.ScopesConfig
java.lang.Object
io.helidon.security.abac.scope.ScopeValidator.ScopesConfig
- All Implemented Interfaces:
AbacValidatorConfig
- Enclosing class:
ScopeValidator
Configuration custom class for scope validator.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScopeValidator.ScopesConfigDeprecated, for removal: This API element is subject to removal in a future version.static ScopeValidator.ScopesConfigCreate an instance from configuration (of endpoint).static ScopeValidator.ScopesConfigCreate an instance from an array of scopes.static ScopeValidator.ScopesConfigcreate(List<ScopeValidator.Scope> scopes) Create an instance from a list of annotations.Which scopes are required.
-
Method Details
-
create
Create an instance from an array of scopes.- Parameters:
scopes- scopes required- Returns:
- configuration based on this list of scopes
-
create
Create an instance from a list of annotations.- Parameters:
scopes- scope annotations- Returns:
- configuration based on the list
-
create
@Deprecated(since="4.4.0", forRemoval=true) public static ScopeValidator.ScopesConfig create(Config config) Deprecated, for removal: This API element is subject to removal in a future version.usecreate(io.helidon.config.Config)insteadCreate an instance from configuration (of endpoint).- Parameters:
config- config located on the key of this validator- Returns:
- configuration based on the config
-
create
Create an instance from configuration (of endpoint).- Parameters:
config- config located on the key of this validator- Returns:
- configuration based on the config
-
requiredScopes
Which scopes are required.- Returns:
- list of scopes in order of definition
-
create(io.helidon.config.Config)instead