Modifier and Type | Method and Description |
---|---|
static Policy |
Models.toModel(PolicyRepresentation policy,
ResourceServer resourceServer,
AuthorizationProvider authorizationManager) |
Modifier and Type | Method and Description |
---|---|
static PolicyRepresentation |
Models.toRepresentation(Policy model,
AuthorizationProvider authorization) |
Modifier and Type | Class and Description |
---|---|
class |
PolicyEntity |
Modifier and Type | Method and Description |
---|---|
<P extends Policy> |
PolicyEntity.getAssociatedPolicies() |
Modifier and Type | Method and Description |
---|---|
List<? extends Policy> |
ScopeEntity.getPolicies() |
Modifier and Type | Method and Description |
---|---|
void |
PolicyEntity.addAssociatedPolicy(Policy associatedPolicy) |
void |
PolicyEntity.removeAssociatedPolicy(Policy associatedPolicy) |
Modifier and Type | Method and Description |
---|---|
Policy |
JPAPolicyStore.create(String name,
String type,
ResourceServer resourceServer) |
Policy |
JPAPolicyStore.findById(String id) |
Policy |
JPAPolicyStore.findByName(String name,
String resourceServerId) |
Modifier and Type | Method and Description |
---|---|
List<Policy> |
JPAPolicyStore.findByResource(String resourceId) |
List<Policy> |
JPAPolicyStore.findByResourceServer(String resourceServerId) |
List<Policy> |
JPAPolicyStore.findByResourceType(String resourceType,
String resourceServerId) |
List<Policy> |
JPAPolicyStore.findByScopeIds(List<String> scopeIds,
String resourceServerId) |
List<Policy> |
JPAPolicyStore.findByType(String type) |
List<Policy> |
JPAPolicyStore.findDependentPolicies(String policyId) |
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 | Class and Description |
---|---|
class |
PolicyAdapter |
Modifier and Type | Method and Description |
---|---|
Set<Policy> |
PolicyAdapter.getAssociatedPolicies() |
Modifier and Type | Method and Description |
---|---|
void |
PolicyAdapter.addAssociatedPolicy(Policy associatedPolicy) |
void |
PolicyAdapter.removeAssociatedPolicy(Policy associatedPolicy) |
Modifier and Type | Method and Description |
---|---|
Policy |
MongoPolicyStore.create(String name,
String type,
ResourceServer resourceServer) |
Policy |
MongoPolicyStore.findById(String id) |
Policy |
MongoPolicyStore.findByName(String name,
String resourceServerId) |
Modifier and Type | Method and Description |
---|---|
List<Policy> |
MongoPolicyStore.findByResource(String resourceId) |
List<Policy> |
MongoPolicyStore.findByResourceServer(String resourceServerId) |
List<Policy> |
MongoPolicyStore.findByResourceType(String resourceType,
String resourceServerId) |
List<Policy> |
MongoPolicyStore.findByScopeIds(List<String> scopeIds,
String resourceServerId) |
List<Policy> |
MongoPolicyStore.findByType(String type) |
List<Policy> |
MongoPolicyStore.findDependentPolicies(String policyId) |
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 |
---|---|
PolicyProvider |
AggregatePolicyProviderFactory.create(Policy policy,
AuthorizationProvider authorization) |
void |
AggregatePolicyAdminResource.onCreate(Policy policy) |
void |
AggregatePolicyAdminResource.onRemove(Policy policy) |
void |
AggregatePolicyAdminResource.onUpdate(Policy policy) |
Constructor and Description |
---|
AggregatePolicyProvider(Policy policy,
AuthorizationProvider authorization) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
DroolsPolicyProviderFactory.create(Policy policy,
AuthorizationProvider authorization) |
void |
DroolsPolicyAdminResource.onCreate(Policy policy) |
void |
DroolsPolicyAdminResource.onRemove(Policy policy) |
void |
DroolsPolicyAdminResource.onUpdate(Policy policy) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
JSPolicyProviderFactory.create(Policy policy,
AuthorizationProvider authorization) |
Constructor and Description |
---|
JSPolicyProvider(Policy policy) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
ResourcePolicyProviderFactory.create(Policy policy,
AuthorizationProvider authorization) |
Constructor and Description |
---|
ResourcePolicyProvider(Policy policy) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
RolePolicyProviderFactory.create(Policy policy,
AuthorizationProvider authorization) |
Constructor and Description |
---|
RolePolicyProvider(Policy policy,
AuthorizationProvider authorization) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
ScopePolicyProviderFactory.create(Policy policy,
AuthorizationProvider authorization) |
Constructor and Description |
---|
ScopePolicyProvider(Policy policy) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
TimePolicyProviderFactory.create(Policy policy,
AuthorizationProvider authorization) |
void |
TimePolicyAdminResource.onCreate(Policy policy) |
void |
TimePolicyAdminResource.onRemove(Policy policy) |
void |
TimePolicyAdminResource.onUpdate(Policy policy) |
Constructor and Description |
---|
TimePolicyProvider(Policy policy) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
UserPolicyProviderFactory.create(Policy policy,
AuthorizationProvider authorization) |
Constructor and Description |
---|
UserPolicyProvider(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 org.keycloak.authorization.core.model.Resource with the given resourceId . |
List<Policy> |
PolicyStore.findByResourceServer(String resourceServerId)
|
List<Policy> |
PolicyStore.findByResourceType(String resourceType,
String resourceServerId)
Returns a list of
Policy associated with a org.keycloak.authorization.core.model.Resource with the given type . |
List<Policy> |
PolicyStore.findByScopeIds(List<String> scopeIds,
String resourceServerId)
Returns a list of
Policy associated with a org.keycloak.authorization.core.model.Scope with the given scopeIds . |
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 . |
Modifier and Type | Method and Description |
---|---|
Policy |
CachedPolicyStore.create(String name,
String type,
ResourceServer resourceServer) |
Policy |
CachedPolicyStore.findById(String id) |
Policy |
CachedPolicyStore.findByName(String name,
String resourceServerId) |
Modifier and Type | Method and Description |
---|---|
List<Policy> |
CachedPolicyStore.findByResource(String resourceId) |
List<Policy> |
CachedPolicyStore.findByResourceServer(String resourceServerId) |
List<Policy> |
CachedPolicyStore.findByResourceType(String resourceType,
String resourceServerId) |
List<Policy> |
CachedPolicyStore.findByScopeIds(List<String> scopeIds,
String resourceServerId) |
List<Policy> |
CachedPolicyStore.findByType(String type) |
List<Policy> |
CachedPolicyStore.findDependentPolicies(String id) |
Modifier and Type | Class and Description |
---|---|
class |
CachedPolicy |
Modifier and Type | Method and Description |
---|---|
Set<Policy> |
CachedPolicy.getAssociatedPolicies() |
Modifier and Type | Method and Description |
---|---|
void |
CachedPolicy.addAssociatedPolicy(Policy associatedPolicy) |
void |
CachedPolicy.removeAssociatedPolicy(Policy associatedPolicy) |
Constructor and Description |
---|
CachedPolicy(Policy policy) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.