public interface AuthorizationProvider
Configures the policies. Instantiates the SecurityPolicies
with the security policies
that need to be enforced. It will add the default policy already configured as well as the engine policies
used to enforce permission checks.
Modifier and Type | Method and Description |
---|---|
List<Policy> |
getPolicies()
The list of configured policies.
|
void |
useDefaultPolicy(boolean whetherToUseDefaultPolicy)
Whether to use the default policy or not in addition to the Policies configured for the AuthorizationProvider.
|
List<Policy> getPolicies()
The list of configured policies.
void useDefaultPolicy(boolean whetherToUseDefaultPolicy)
Whether to use the default policy or not in addition to the Policies configured for the AuthorizationProvider.
whetherToUseDefaultPolicy
- Boolean false: does not use the default policy, true: does.Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.