Uses of Interface
org.keycloak.authorization.model.Policy
-
-
Uses of Policy in org.keycloak.authorization.admin
Methods in org.keycloak.authorization.admin that return Policy Modifier and Type Method Description Policy
PolicyService. create(AbstractPolicyRepresentation representation)
protected Policy
PolicyResourceService. getPolicy()
Constructors in org.keycloak.authorization.admin with parameters of type Policy Constructor Description PolicyResourceService(Policy policy, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
PolicyTypeResourceService(Policy policy, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
-
Uses of Policy in org.keycloak.authorization.jpa.store
Classes in org.keycloak.authorization.jpa.store that implement Policy Modifier and Type Class Description class
PolicyAdapter
Methods in org.keycloak.authorization.jpa.store that return Policy Modifier and Type Method Description Policy
JPAPolicyStore. create(ResourceServer resourceServer, AbstractPolicyRepresentation representation)
Policy
JPAPolicyStore. findById(RealmModel realm, ResourceServer resourceServer, String id)
Policy
JPAPolicyStore. findByName(ResourceServer resourceServer, String name)
Policy
PermissionTicketAdapter. getPolicy()
Methods in org.keycloak.authorization.jpa.store that return types with arguments of type Policy Modifier and Type Method Description List<Policy>
JPAPolicyStore. find(RealmModel realm, ResourceServer resourceServer, Map<Policy.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
List<Policy>
JPAPolicyStore. findByResourceServer(ResourceServer resourceServer)
List<Policy>
JPAPolicyStore. findByScopes(ResourceServer resourceServer, List<Scope> scopes)
List<Policy>
JPAPolicyStore. findByType(ResourceServer resourceServer, String type)
List<Policy>
JPAPolicyStore. findDependentPolicies(ResourceServer resourceServer, String policyId)
Set<Policy>
PolicyAdapter. getAssociatedPolicies()
Methods in org.keycloak.authorization.jpa.store with parameters of type Policy Modifier and Type Method Description void
PolicyAdapter. addAssociatedPolicy(Policy associatedPolicy)
void
PolicyAdapter. removeAssociatedPolicy(Policy associatedPolicy)
void
PermissionTicketAdapter. setPolicy(Policy policy)
static PolicyEntity
PolicyAdapter. toEntity(javax.persistence.EntityManager em, Policy policy)
Method parameters in org.keycloak.authorization.jpa.store with type arguments of type Policy Modifier and Type Method Description void
JPAPolicyStore. findByResource(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer)
void
JPAPolicyStore. findByResourceType(ResourceServer resourceServer, String resourceType, Consumer<Policy> consumer)
void
JPAPolicyStore. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer)
-
Uses of Policy in org.keycloak.authorization.model
Fields in org.keycloak.authorization.model with type parameters of type Policy Modifier and Type Field Description static SearchableModelField<Policy>
Policy.SearchableFields. ASSOCIATED_POLICY_ID
static SearchableModelField<Policy>
Policy.SearchableFields. CONFIG
static SearchableModelField<Policy>
Policy.SearchableFields. ID
static SearchableModelField<Policy>
Policy.SearchableFields. NAME
static SearchableModelField<Policy>
Policy.SearchableFields. OWNER
static SearchableModelField<Policy>
Policy.SearchableFields. REALM_ID
static SearchableModelField<Policy>
Policy.SearchableFields. RESOURCE_ID
static SearchableModelField<Policy>
Policy.SearchableFields. RESOURCE_SERVER_ID
static SearchableModelField<Policy>
Policy.SearchableFields. SCOPE_ID
static SearchableModelField<Policy>
Policy.SearchableFields. TYPE
Methods in org.keycloak.authorization.model that return Policy Modifier and Type Method Description Policy
PermissionTicket. getPolicy()
Methods in org.keycloak.authorization.model that return types with arguments of type Policy Modifier and Type Method Description Set<Policy>
Policy. getAssociatedPolicies()
Returns thePolicy
instances associated with this policy and used to evaluate authorization decisions when this policy applies.SearchableModelField<Policy>
Policy.FilterOption. getSearchableModelField()
Methods in org.keycloak.authorization.model with parameters of type Policy Modifier and Type Method Description void
Policy. addAssociatedPolicy(Policy associatedPolicy)
void
Policy. removeAssociatedPolicy(Policy associatedPolicy)
void
PermissionTicket. setPolicy(Policy policy)
-
Uses of Policy in org.keycloak.authorization.policy.evaluation
Methods in org.keycloak.authorization.policy.evaluation that return Policy Modifier and Type Method Description Policy
DefaultEvaluation. getParentPolicy()
Policy
DefaultEvaluation. getPolicy()
Policy
Evaluation. getPolicy()
Returns thePolicy
.Policy
Result.PolicyResult. getPolicy()
Methods in org.keycloak.authorization.policy.evaluation that return types with arguments of type Policy Modifier and Type Method Description Map<Policy,Map<Object,Decision.Effect>>
DefaultEvaluation. getDecisionCache()
Methods in org.keycloak.authorization.policy.evaluation with parameters of type Policy Modifier and Type Method Description Result.PolicyResult
Result. getPolicy(Policy policy)
Result.PolicyResult
Result. policy(Policy policy)
Result.PolicyResult
Result.PolicyResult. policy(Policy policy, Decision.Effect effect)
void
DefaultEvaluation. setPolicy(Policy policy)
Method parameters in org.keycloak.authorization.policy.evaluation with type arguments of type Policy Modifier and Type Method Description void
DefaultPolicyEvaluator. evaluate(ResourcePermission permission, AuthorizationProvider authorizationProvider, EvaluationContext executionContext, Decision decision, Map<Policy,Map<Object,Decision.Effect>> decisionCache)
void
PolicyEvaluator. evaluate(ResourcePermission permission, AuthorizationProvider authorizationProvider, EvaluationContext executionContext, Decision decision, Map<Policy,Map<Object,Decision.Effect>> decisionCache)
Starts the evaluation of the configured authorization policies.Constructors in org.keycloak.authorization.policy.evaluation with parameters of type Policy Constructor Description DefaultEvaluation(ResourcePermission permission, EvaluationContext executionContext, Policy parentPolicy, Decision decision, AuthorizationProvider authorizationProvider, Map<Policy,Map<Object,Decision.Effect>> decisionCache)
DefaultEvaluation(ResourcePermission permission, EvaluationContext executionContext, Policy parentPolicy, Policy policy, Decision decision, AuthorizationProvider authorizationProvider, Map<Policy,Map<Object,Decision.Effect>> decisionCache)
PolicyResult(Policy policy)
PolicyResult(Policy policy, Decision.Effect status)
Constructor parameters in org.keycloak.authorization.policy.evaluation with type arguments of type Policy Constructor Description DefaultEvaluation(ResourcePermission permission, EvaluationContext executionContext, Policy parentPolicy, Decision decision, AuthorizationProvider authorizationProvider, Map<Policy,Map<Object,Decision.Effect>> decisionCache)
DefaultEvaluation(ResourcePermission permission, EvaluationContext executionContext, Policy parentPolicy, Policy policy, Decision decision, AuthorizationProvider authorizationProvider, Map<Policy,Map<Object,Decision.Effect>> decisionCache)
-
Uses of Policy in org.keycloak.authorization.policy.provider
Methods in org.keycloak.authorization.policy.provider with parameters of type Policy Modifier and Type Method Description default void
PolicyProviderFactory. onCreate(Policy policy, R representation, AuthorizationProvider authorization)
default void
PolicyProviderFactory. onExport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorizationProvider)
default void
PolicyProviderFactory. onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)
default void
PolicyProviderFactory. onRemove(Policy policy, AuthorizationProvider authorization)
default void
PolicyProviderFactory. onUpdate(Policy policy, R representation, AuthorizationProvider authorization)
R
PolicyProviderFactory. toRepresentation(Policy policy, AuthorizationProvider authorization)
-
Uses of Policy in org.keycloak.authorization.policy.provider.aggregated
Methods in org.keycloak.authorization.policy.provider.aggregated with parameters of type Policy Modifier and Type Method Description void
AggregatePolicyProviderFactory. onCreate(Policy policy, AggregatePolicyRepresentation representation, AuthorizationProvider authorization)
void
AggregatePolicyProviderFactory. onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)
void
AggregatePolicyProviderFactory. onRemove(Policy policy, AuthorizationProvider authorization)
void
AggregatePolicyProviderFactory. onUpdate(Policy policy, AggregatePolicyRepresentation representation, AuthorizationProvider authorization)
AggregatePolicyRepresentation
AggregatePolicyProviderFactory. toRepresentation(Policy policy, AuthorizationProvider authorization)
-
Uses of Policy in org.keycloak.authorization.policy.provider.client
Methods in org.keycloak.authorization.policy.provider.client with parameters of type Policy Modifier and Type Method Description void
ClientPolicyProviderFactory. onCreate(Policy policy, ClientPolicyRepresentation representation, AuthorizationProvider authorization)
void
ClientPolicyProviderFactory. onExport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)
void
ClientPolicyProviderFactory. onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)
void
ClientPolicyProviderFactory. onUpdate(Policy policy, ClientPolicyRepresentation representation, AuthorizationProvider authorization)
ClientPolicyRepresentation
ClientPolicyProviderFactory. toRepresentation(Policy policy, AuthorizationProvider authorization)
Constructor parameters in org.keycloak.authorization.policy.provider.client with type arguments of type Policy Constructor Description ClientPolicyProvider(BiFunction<Policy,AuthorizationProvider,ClientPolicyRepresentation> representationFunction)
-
Uses of Policy in org.keycloak.authorization.policy.provider.clientscope
Methods in org.keycloak.authorization.policy.provider.clientscope with parameters of type Policy Modifier and Type Method Description void
ClientScopePolicyProviderFactory. onCreate(Policy policy, ClientScopePolicyRepresentation representation, AuthorizationProvider authorization)
void
ClientScopePolicyProviderFactory. onExport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorizationProvider)
void
ClientScopePolicyProviderFactory. onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)
void
ClientScopePolicyProviderFactory. onUpdate(Policy policy, ClientScopePolicyRepresentation representation, AuthorizationProvider authorization)
ClientScopePolicyRepresentation
ClientScopePolicyProviderFactory. toRepresentation(Policy policy, AuthorizationProvider authorization)
Constructor parameters in org.keycloak.authorization.policy.provider.clientscope with type arguments of type Policy Constructor Description ClientScopePolicyProvider(BiFunction<Policy,AuthorizationProvider,ClientScopePolicyRepresentation> representationFunction)
-
Uses of Policy in org.keycloak.authorization.policy.provider.group
Methods in org.keycloak.authorization.policy.provider.group with parameters of type Policy Modifier and Type Method Description void
GroupPolicyProviderFactory. onCreate(Policy policy, GroupPolicyRepresentation representation, AuthorizationProvider authorization)
void
GroupPolicyProviderFactory. onExport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)
void
GroupPolicyProviderFactory. onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)
void
GroupPolicyProviderFactory. onUpdate(Policy policy, GroupPolicyRepresentation representation, AuthorizationProvider authorization)
GroupPolicyRepresentation
GroupPolicyProviderFactory. toRepresentation(Policy policy, AuthorizationProvider authorization)
Constructor parameters in org.keycloak.authorization.policy.provider.group with type arguments of type Policy Constructor Description GroupPolicyProvider(BiFunction<Policy,AuthorizationProvider,GroupPolicyRepresentation> representationFunction)
-
Uses of Policy in org.keycloak.authorization.policy.provider.js
Methods in org.keycloak.authorization.policy.provider.js with parameters of type Policy Modifier and Type Method Description protected ScriptModel
DeployedScriptPolicyFactory. getScriptModel(Policy policy, RealmModel realm, ScriptingProvider scripting)
protected ScriptModel
JSPolicyProviderFactory. getScriptModel(Policy policy, RealmModel realm, ScriptingProvider scripting)
void
DeployedScriptPolicyFactory. onCreate(Policy policy, JSPolicyRepresentation representation, AuthorizationProvider authorization)
void
JSPolicyProviderFactory. onCreate(Policy policy, JSPolicyRepresentation representation, AuthorizationProvider authorization)
void
JSPolicyProviderFactory. onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)
void
JSPolicyProviderFactory. onRemove(Policy policy, AuthorizationProvider authorization)
void
JSPolicyProviderFactory. onUpdate(Policy policy, JSPolicyRepresentation representation, AuthorizationProvider authorization)
JSPolicyRepresentation
DeployedScriptPolicyFactory. toRepresentation(Policy policy, AuthorizationProvider authorization)
JSPolicyRepresentation
JSPolicyProviderFactory. toRepresentation(Policy policy, AuthorizationProvider authorization)
-
Uses of Policy in org.keycloak.authorization.policy.provider.permission
Methods in org.keycloak.authorization.policy.provider.permission with parameters of type Policy Modifier and Type Method Description void
ResourcePolicyProviderFactory. onCreate(Policy policy, ResourcePermissionRepresentation representation, AuthorizationProvider authorization)
void
ScopePolicyProviderFactory. onCreate(Policy policy, ScopePermissionRepresentation representation, AuthorizationProvider authorization)
void
UMAPolicyProviderFactory. onCreate(Policy policy, UmaPermissionRepresentation representation, AuthorizationProvider authorization)
void
UMAPolicyProviderFactory. onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)
void
ResourcePolicyProviderFactory. onRemove(Policy policy, AuthorizationProvider authorization)
void
UMAPolicyProviderFactory. onRemove(Policy policy, AuthorizationProvider authorization)
void
ResourcePolicyProviderFactory. onUpdate(Policy policy, ResourcePermissionRepresentation representation, AuthorizationProvider authorization)
void
ScopePolicyProviderFactory. onUpdate(Policy policy, ScopePermissionRepresentation representation, AuthorizationProvider authorization)
void
UMAPolicyProviderFactory. onUpdate(Policy policy, UmaPermissionRepresentation representation, AuthorizationProvider authorization)
ResourcePermissionRepresentation
ResourcePolicyProviderFactory. toRepresentation(Policy policy, AuthorizationProvider authorization)
ScopePermissionRepresentation
ScopePolicyProviderFactory. toRepresentation(Policy policy, AuthorizationProvider authorization)
UmaPermissionRepresentation
UMAPolicyProviderFactory. toRepresentation(Policy policy, AuthorizationProvider authorization)
-
Uses of Policy in org.keycloak.authorization.policy.provider.regex
Methods in org.keycloak.authorization.policy.provider.regex with parameters of type Policy Modifier and Type Method Description void
RegexPolicyProviderFactory. onCreate(Policy policy, RegexPolicyRepresentation representation, AuthorizationProvider authorization)
void
RegexPolicyProviderFactory. onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)
void
RegexPolicyProviderFactory. onUpdate(Policy policy, RegexPolicyRepresentation representation, AuthorizationProvider authorization)
RegexPolicyRepresentation
RegexPolicyProviderFactory. toRepresentation(Policy policy, AuthorizationProvider authorization)
Constructor parameters in org.keycloak.authorization.policy.provider.regex with type arguments of type Policy Constructor Description RegexPolicyProvider(BiFunction<Policy,AuthorizationProvider,RegexPolicyRepresentation> representationFunction)
-
Uses of Policy in org.keycloak.authorization.policy.provider.role
Methods in org.keycloak.authorization.policy.provider.role with parameters of type Policy Modifier and Type Method Description void
RolePolicyProviderFactory. onCreate(Policy policy, RolePolicyRepresentation representation, AuthorizationProvider authorization)
void
RolePolicyProviderFactory. onExport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorizationProvider)
void
RolePolicyProviderFactory. onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)
void
RolePolicyProviderFactory. onUpdate(Policy policy, RolePolicyRepresentation representation, AuthorizationProvider authorization)
RolePolicyRepresentation
RolePolicyProviderFactory. toRepresentation(Policy policy, AuthorizationProvider authorization)
Constructor parameters in org.keycloak.authorization.policy.provider.role with type arguments of type Policy Constructor Description RolePolicyProvider(BiFunction<Policy,AuthorizationProvider,RolePolicyRepresentation> representationFunction)
-
Uses of Policy in org.keycloak.authorization.policy.provider.time
Methods in org.keycloak.authorization.policy.provider.time with parameters of type Policy Modifier and Type Method Description void
TimePolicyProviderFactory. onCreate(Policy policy, TimePolicyRepresentation representation, AuthorizationProvider authorization)
void
TimePolicyProviderFactory. onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)
void
TimePolicyProviderFactory. onRemove(Policy policy, AuthorizationProvider authorization)
void
TimePolicyProviderFactory. onUpdate(Policy policy, TimePolicyRepresentation representation, AuthorizationProvider authorization)
TimePolicyRepresentation
TimePolicyProviderFactory. toRepresentation(Policy policy, AuthorizationProvider authorization)
-
Uses of Policy in org.keycloak.authorization.policy.provider.user
Methods in org.keycloak.authorization.policy.provider.user with parameters of type Policy Modifier and Type Method Description void
UserPolicyProviderFactory. onCreate(Policy policy, UserPolicyRepresentation representation, AuthorizationProvider authorization)
void
UserPolicyProviderFactory. onExport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorizationProvider)
void
UserPolicyProviderFactory. onImport(Policy policy, PolicyRepresentation representation, AuthorizationProvider authorization)
void
UserPolicyProviderFactory. onUpdate(Policy policy, UserPolicyRepresentation representation, AuthorizationProvider authorization)
UserPolicyRepresentation
UserPolicyProviderFactory. toRepresentation(Policy policy, AuthorizationProvider authorization)
Constructor parameters in org.keycloak.authorization.policy.provider.user with type arguments of type Policy Constructor Description UserPolicyProvider(BiFunction<Policy,AuthorizationProvider,UserPolicyRepresentation> representationFunction)
-
Uses of Policy in org.keycloak.authorization.store
Methods in org.keycloak.authorization.store that return Policy Modifier and Type Method Description Policy
PolicyStore. create(ResourceServer resourceServer, AbstractPolicyRepresentation representation)
Creates a newPolicy
instance.Policy
PolicyStore. findById(RealmModel realm, ResourceServer resourceServer, String id)
Returns aPolicy
with the givenid
Policy
PolicyStore. findByName(ResourceServer resourceServer, String name)
Returns aPolicy
with the givenname
Methods in org.keycloak.authorization.store that return types with arguments of type Policy Modifier and Type Method Description List<Policy>
PolicyStore. find(RealmModel realm, ResourceServer resourceServer, Map<Policy.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
default List<Policy>
PolicyStore. findByResource(ResourceServer resourceServer, Resource resource)
List<Policy>
PolicyStore. findByResourceServer(ResourceServer resourceServer)
Returns a list ofPolicy
associated with theResourceServer
default List<Policy>
PolicyStore. findByResourceType(ResourceServer resourceServer, String resourceType)
List<Policy>
PolicyStore. findByScopes(ResourceServer resourceServer, List<Scope> scopes)
default List<Policy>
PolicyStore. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes)
List<Policy>
PolicyStore. findByType(ResourceServer resourceServer, String type)
Returns a list ofPolicy
with the giventype
.List<Policy>
PolicyStore. findDependentPolicies(ResourceServer resourceServer, String id)
Returns a list ofPolicy
that depends on another policy with the givenid
.Method parameters in org.keycloak.authorization.store with type arguments of type Policy Modifier and Type Method Description void
PolicyStore. findByResource(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer)
Searches for all policies associated with theResource
and passes the result to theconsumer
void
PolicyStore. findByResourceType(ResourceServer resourceServer, String type, Consumer<Policy> policyConsumer)
Searches for policies associated with aResourceServer
and passes the result to the consumervoid
PolicyStore. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer)
Effectively the same method asPolicyStore.findByScopes(ResourceServer, Resource, List)
, however in the end theconsumer
is fed with the result. -
Uses of Policy in org.keycloak.forms.account.freemarker.model
Constructors in org.keycloak.forms.account.freemarker.model with parameters of type Policy Constructor Description ManagedPermissionBean(Policy policy)
-
Uses of Policy in org.keycloak.models.cache.infinispan.authorization
Classes in org.keycloak.models.cache.infinispan.authorization that implement Policy Modifier and Type Class Description class
PolicyAdapter
Fields in org.keycloak.models.cache.infinispan.authorization declared as Policy Modifier and Type Field Description protected Policy
PolicyAdapter. updated
Fields in org.keycloak.models.cache.infinispan.authorization with type parameters of type Policy Modifier and Type Field Description protected Set<Policy>
PolicyAdapter. associatedPolicies
Methods in org.keycloak.models.cache.infinispan.authorization that return Policy Modifier and Type Method Description Policy
StoreFactoryCacheSession.PolicyCache. create(ResourceServer resourceServer, AbstractPolicyRepresentation representation)
Policy
StoreFactoryCacheSession.PolicyCache. findById(RealmModel realm, ResourceServer resourceServer, String id)
Policy
StoreFactoryCacheSession.PolicyCache. findByName(ResourceServer resourceServer, String name)
Policy
PolicyAdapter. getDelegateForUpdate()
Policy
PermissionTicketAdapter. getPolicy()
Methods in org.keycloak.models.cache.infinispan.authorization that return types with arguments of type Policy Modifier and Type Method Description List<Policy>
StoreFactoryCacheSession.PolicyCache. find(RealmModel realm, ResourceServer resourceServer, Map<Policy.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
List<Policy>
StoreFactoryCacheSession.PolicyCache. findByResource(ResourceServer resourceServer, Resource resource)
List<Policy>
StoreFactoryCacheSession.PolicyCache. findByResourceServer(ResourceServer resourceServer)
List<Policy>
StoreFactoryCacheSession.PolicyCache. findByResourceType(ResourceServer resourceServer, String resourceType)
List<Policy>
StoreFactoryCacheSession.PolicyCache. findByScopes(ResourceServer resourceServer, List<Scope> scopes)
List<Policy>
StoreFactoryCacheSession.PolicyCache. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes)
List<Policy>
StoreFactoryCacheSession.PolicyCache. findByType(ResourceServer resourceServer, String type)
List<Policy>
StoreFactoryCacheSession.PolicyCache. findDependentPolicies(ResourceServer resourceServer, String id)
Set<Policy>
PolicyAdapter. getAssociatedPolicies()
Methods in org.keycloak.models.cache.infinispan.authorization with parameters of type Policy Modifier and Type Method Description void
PolicyAdapter. addAssociatedPolicy(Policy associatedPolicy)
void
PolicyAdapter. removeAssociatedPolicy(Policy associatedPolicy)
void
PermissionTicketAdapter. setPolicy(Policy policy)
Method parameters in org.keycloak.models.cache.infinispan.authorization with type arguments of type Policy Modifier and Type Method Description void
StoreFactoryCacheSession.PolicyCache. findByResource(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer)
void
StoreFactoryCacheSession.PolicyCache. findByResourceType(ResourceServer resourceServer, String resourceType, Consumer<Policy> consumer)
void
StoreFactoryCacheSession.PolicyCache. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer)
-
Uses of Policy in org.keycloak.models.cache.infinispan.authorization.entities
Method parameters in org.keycloak.models.cache.infinispan.authorization.entities with type arguments of type Policy Modifier and Type Method Description Set<String>
CachedPolicy. getAssociatedPoliciesIds(Supplier<Policy> policy)
Map<String,String>
CachedPolicy. getConfig(Supplier<Policy> policy)
Set<String>
CachedPolicy. getResourcesIds(Supplier<Policy> policy)
Set<String>
CachedPolicy. getScopesIds(Supplier<Policy> policy)
Constructors in org.keycloak.models.cache.infinispan.authorization.entities with parameters of type Policy Constructor Description CachedPolicy(Long revision, Policy policy)
-
Uses of Policy in org.keycloak.models.map.authorization
Methods in org.keycloak.models.map.authorization that return Policy Modifier and Type Method Description Policy
MapPolicyStore. create(ResourceServer resourceServer, AbstractPolicyRepresentation representation)
Policy
MapPolicyStore. findById(RealmModel realm, ResourceServer resourceServer, String id)
Policy
MapPolicyStore. findByName(ResourceServer resourceServer, String name)
Methods in org.keycloak.models.map.authorization that return types with arguments of type Policy Modifier and Type Method Description List<Policy>
MapPolicyStore. find(RealmModel realm, ResourceServer resourceServer, Map<Policy.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
List<Policy>
MapPolicyStore. findByResourceServer(ResourceServer resourceServer)
List<Policy>
MapPolicyStore. findByScopes(ResourceServer resourceServer, List<Scope> scopes)
List<Policy>
MapPolicyStore. findByType(ResourceServer resourceServer, String type)
List<Policy>
MapPolicyStore. findDependentPolicies(ResourceServer resourceServer, String id)
Method parameters in org.keycloak.models.map.authorization with type arguments of type Policy Modifier and Type Method Description void
MapPolicyStore. findByResource(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer)
void
MapPolicyStore. findByResourceType(ResourceServer resourceServer, String type, Consumer<Policy> policyConsumer)
void
MapPolicyStore. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer)
Constructor parameters in org.keycloak.models.map.authorization with type arguments of type Policy Constructor Description MapPolicyStore(KeycloakSession session, MapStorage<MapPolicyEntity,Policy> policyStore, AuthorizationProvider provider)
-
Uses of Policy in org.keycloak.models.map.authorization.adapter
Classes in org.keycloak.models.map.authorization.adapter that implement Policy Modifier and Type Class Description class
AbstractPolicyModel<E extends AbstractEntity>
class
MapPolicyAdapter
Methods in org.keycloak.models.map.authorization.adapter that return Policy Modifier and Type Method Description Policy
MapPermissionTicketAdapter. getPolicy()
Methods in org.keycloak.models.map.authorization.adapter that return types with arguments of type Policy Modifier and Type Method Description Set<Policy>
MapPolicyAdapter. getAssociatedPolicies()
Methods in org.keycloak.models.map.authorization.adapter with parameters of type Policy Modifier and Type Method Description void
MapPolicyAdapter. addAssociatedPolicy(Policy associatedPolicy)
void
MapPolicyAdapter. removeAssociatedPolicy(Policy associatedPolicy)
void
MapPermissionTicketAdapter. setPolicy(Policy policy)
-
Uses of Policy in org.keycloak.models.map.storage.chm
Fields in org.keycloak.models.map.storage.chm with type parameters of type Policy Modifier and Type Field Description static Map<SearchableModelField<Policy>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapPolicyEntity,Policy>>
MapFieldPredicates. AUTHZ_POLICY_PREDICATES
static Map<SearchableModelField<Policy>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapPolicyEntity,Policy>>
MapFieldPredicates. AUTHZ_POLICY_PREDICATES
-
Uses of Policy in org.keycloak.models.map.storage.jpa.authorization.policy
Method parameters in org.keycloak.models.map.storage.jpa.authorization.policy with type arguments of type Policy Modifier and Type Method Description JpaPolicyModelCriteriaBuilder
JpaPolicyModelCriteriaBuilder. compare(SearchableModelField<? super Policy> modelField, ModelCriteriaBuilder.Operator op, Object... value)
-
Uses of Policy in org.keycloak.models.utils
Methods in org.keycloak.models.utils that return Policy Modifier and Type Method Description static Policy
RepresentationToModel. toModel(AbstractPolicyRepresentation representation, AuthorizationProvider authorization, Policy model)
Methods in org.keycloak.models.utils with parameters of type Policy Modifier and Type Method Description static Policy
RepresentationToModel. toModel(AbstractPolicyRepresentation representation, AuthorizationProvider authorization, Policy model)
static <R extends AbstractPolicyRepresentation>
RModelToRepresentation. toRepresentation(Policy policy, AuthorizationProvider authorization)
static <R extends AbstractPolicyRepresentation>
RModelToRepresentation. toRepresentation(Policy policy, AuthorizationProvider authorization, boolean genericRepresentation, boolean export)
static <R extends AbstractPolicyRepresentation>
RModelToRepresentation. toRepresentation(Policy policy, AuthorizationProvider authorization, boolean genericRepresentation, boolean export, boolean allFields)
-
Uses of Policy in org.keycloak.services.resources.admin.permissions
Methods in org.keycloak.services.resources.admin.permissions that return Policy Modifier and Type Method Description Policy
UserPermissionManagement. adminImpersonatingPermission()
Policy
ClientPermissionManagement. configurePermission(ClientModel client)
Policy
ClientPermissionManagement. exchangeToPermission(ClientModel client)
Policy
IdentityProviderPermissionManagement. exchangeToPermission(IdentityProviderModel idp)
Policy
UserPermissionManagement. manageGroupMembershipPermission()
Policy
GroupPermissionManagement. manageMembershipPermission(GroupModel group)
Policy
GroupPermissionManagement. manageMembersPermission(GroupModel group)
Policy
ClientPermissionManagement. managePermission(ClientModel client)
Policy
GroupPermissionManagement. managePermission(GroupModel group)
Policy
UserPermissionManagement. managePermission()
Policy
RolePermissionManagement. manageUsersPolicy(ResourceServer server)
Policy
RolePermissionManagement. mapClientScopePermission(RoleModel role)
Policy
RolePermissionManagement. mapCompositePermission(RoleModel role)
Policy
RolePermissionManagement. mapRolePermission(RoleModel role)
Policy
ClientPermissionManagement. mapRolesClientScopePermission(ClientModel client)
Policy
ClientPermissionManagement. mapRolesCompositePermission(ClientModel client)
Policy
ClientPermissionManagement. mapRolesPermission(ClientModel client)
Policy
UserPermissionManagement. mapRolesPermission()
Policy
RolePermissionManagement. rolePolicy(ResourceServer server, RoleModel role)
Policy
UserPermissionManagement. userImpersonatedPermission()
Policy
GroupPermissionManagement. viewMembersPermission(GroupModel group)
Policy
ClientPermissionManagement. viewPermission(ClientModel client)
Policy
GroupPermissionManagement. viewPermission(GroupModel group)
Policy
UserPermissionManagement. viewPermission()
Policy
RolePermissionManagement. viewUsersPolicy(ResourceServer server)
-