| Package | Description |
|---|---|
| org.keycloak.authorization.model |
Provides the domain model and any other type related with it
|
| org.keycloak.authorization.policy.evaluation |
Provides classes related with the evaluation of policies.
|
| org.keycloak.authorization.policy.provider |
Provides classes and a SPI to plug different policy providers.
|
| org.keycloak.authorization.store |
Provides classes and a SPI to plug different metadata storage implementations.
|
| Modifier and Type | Method and Description |
|---|---|
<P extends Policy> |
Policy.getAssociatedPolicies()
Returns the
Policy instances associated with this policy and used to evaluate authorization decisions when
this policy applies. |
| Modifier and Type | Method and Description |
|---|---|
void |
Policy.addAssociatedPolicy(Policy associatedPolicy) |
void |
Policy.removeAssociatedPolicy(Policy associatedPolicy) |
| Modifier and Type | Method and Description |
|---|---|
Policy |
DefaultEvaluation.getParentPolicy() |
Policy |
Result.PolicyResult.getPolicy() |
Policy |
DefaultEvaluation.getPolicy() |
| Modifier and Type | Method and Description |
|---|---|
Result.PolicyResult |
Result.policy(Policy policy) |
Result.PolicyResult |
Result.PolicyResult.policy(Policy policy) |
| Constructor and Description |
|---|
DefaultEvaluation(ResourcePermission permission,
EvaluationContext executionContext,
Policy parentPolicy,
Policy policy,
Decision decision) |
PolicyResult(Policy policy) |
| Modifier and Type | Method and Description |
|---|---|
PolicyProvider |
PolicyProviderFactory.create(Policy policy,
AuthorizationProvider authorization) |
void |
PolicyProviderAdminService.onCreate(Policy policy) |
void |
PolicyProviderAdminService.onRemove(Policy policy) |
void |
PolicyProviderAdminService.onUpdate(Policy policy) |
| Modifier and Type | Method and Description |
|---|---|
Policy |
PolicyStore.create(String name,
String type,
ResourceServer resourceServer)
Creates a new
Policy instance. |
Policy |
PolicyStore.findById(String id)
Returns a
Policy with the given id |
Policy |
PolicyStore.findByName(String name,
String resourceServerId)
Returns a
Policy with the given name |
| Modifier and Type | Method and Description |
|---|---|
List<Policy> |
PolicyStore.findByResource(String resourceId)
Returns a list of
Policy associated with a authorization.core.model.Resource with the given resourceId. |
List<Policy> |
PolicyStore.findByResourceServer(String resourceServerId)
|
List<Policy> |
PolicyStore.findByResourceType(String resourceType,
String resourceServerId)
|
List<Policy> |
PolicyStore.findByScopeIds(List<String> scopeIds,
String resourceServerId)
|
List<Policy> |
PolicyStore.findByType(String type)
Returns a list of
Policy with the given type. |
List<Policy> |
PolicyStore.findDependentPolicies(String id)
Returns a list of
Policy that depends on another policy with the given id. |
Copyright © 2016 JBoss by Red Hat. All rights reserved.