Uses of Interface
org.keycloak.authorization.model.PermissionTicket
Package
Description
Fine-grained Authorization SPI.
Provides the domain model and any other type related with it
Provides classes and a SPI to plug different metadata storage implementations.
-
Uses of PermissionTicket in org.keycloak.authorization
Modifier and TypeMethodDescriptionstatic void
UserManagedPermissionUtil.removePolicy
(PermissionTicket ticket, StoreFactory storeFactory) static void
UserManagedPermissionUtil.updatePolicy
(PermissionTicket ticket, StoreFactory storeFactory) -
Uses of PermissionTicket in org.keycloak.authorization.jpa.store
Modifier and TypeMethodDescriptionJPAPermissionTicketStore.create
(ResourceServer resourceServer, Resource resource, Scope scope, String requester) JPAPermissionTicketStore.findById
(RealmModel realm, ResourceServer resourceServer, String id) Modifier and TypeMethodDescriptionJPAPermissionTicketStore.find
(RealmModel realm, ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes, Integer firstResult, Integer maxResult) JPAPermissionTicketStore.findByResource
(ResourceServer resourceServer, Resource resource) JPAPermissionTicketStore.findByScope
(ResourceServer resourceServer, Scope scope) JPAPermissionTicketStore.findGranted
(ResourceServer resourceServer, String userId) JPAPermissionTicketStore.findGranted
(ResourceServer resourceServer, String resourceName, String userId) Modifier and TypeMethodDescriptionstatic PermissionTicketEntity
PermissionTicketAdapter.toEntity
(jakarta.persistence.EntityManager em, PermissionTicket permission) -
Uses of PermissionTicket in org.keycloak.authorization.model
Modifier and TypeFieldDescriptionstatic final SearchableModelField<PermissionTicket>
PermissionTicket.SearchableFields.GRANTED_TIMESTAMP
static final SearchableModelField<PermissionTicket>
PermissionTicket.SearchableFields.ID
static final SearchableModelField<PermissionTicket>
PermissionTicket.SearchableFields.OWNER
static final SearchableModelField<PermissionTicket>
PermissionTicket.SearchableFields.POLICY_ID
static final SearchableModelField<PermissionTicket>
PermissionTicket.SearchableFields.REALM_ID
static final SearchableModelField<PermissionTicket>
PermissionTicket.SearchableFields.REQUESTER
static final SearchableModelField<PermissionTicket>
PermissionTicket.SearchableFields.RESOURCE_ID
static final SearchableModelField<PermissionTicket>
PermissionTicket.SearchableFields.RESOURCE_SERVER_ID
static final SearchableModelField<PermissionTicket>
PermissionTicket.SearchableFields.SCOPE_ID
-
Uses of PermissionTicket in org.keycloak.authorization.store
Modifier and TypeMethodDescriptionPermissionTicketStore.create
(ResourceServer resourceServer, Resource resource, Scope scope, String requester) Creates a newPermissionTicket
instance.PermissionTicketStore.findById
(RealmModel realm, ResourceServer resourceServer, String id) Returns aPermissionTicket
with the givenid
Modifier and TypeMethodDescriptionPermissionTicketStore.find
(RealmModel realm, ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes, Integer firstResult, Integer maxResults) Returns a list ofPermissionTicket
, filtered by the given attributes.PermissionTicketStore.findByResource
(ResourceServer resourceServer, Resource resource) Returns a list ofPermissionTicket
associated with theresource
.PermissionTicketStore.findByScope
(ResourceServer resourceServer, Scope scope) Returns a list ofPermissionTicket
associated with thescope
.PermissionTicketStore.findGranted
(ResourceServer resourceServer, String userId) Returns a list ofPermissionTicket
granted to the givenuserId
.PermissionTicketStore.findGranted
(ResourceServer resourceServer, String resourceName, String userId) -
Uses of PermissionTicket in org.keycloak.models.cache.infinispan.authorization
Modifier and TypeMethodDescriptionStoreFactoryCacheSession.PermissionTicketCache.create
(ResourceServer resourceServer, Resource resource, Scope scope, String requester) StoreFactoryCacheSession.PermissionTicketCache.findById
(RealmModel realm, ResourceServer resourceServer, String id) PermissionTicketAdapter.getDelegateForUpdate()
Modifier and TypeMethodDescriptionStoreFactoryCacheSession.PermissionTicketCache.find
(RealmModel realm, ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes, Integer firstResult, Integer maxResult) StoreFactoryCacheSession.PermissionTicketCache.findByResource
(ResourceServer resourceServer, Resource resource) StoreFactoryCacheSession.PermissionTicketCache.findByScope
(ResourceServer resourceServer, Scope scope) StoreFactoryCacheSession.PermissionTicketCache.findGranted
(ResourceServer resourceServer, String userId) StoreFactoryCacheSession.PermissionTicketCache.findGranted
(ResourceServer resourceServer, String resourceName, String userId) -
Uses of PermissionTicket in org.keycloak.models.cache.infinispan.authorization.entities
ModifierConstructorDescriptionCachedPermissionTicket
(Long revision, PermissionTicket permissionTicket) -
Uses of PermissionTicket in org.keycloak.models.map.authorization
Modifier and TypeMethodDescriptionMapPermissionTicketStore.create
(ResourceServer resourceServer, Resource resource, Scope scope, String requester) MapPermissionTicketStore.findById
(RealmModel realm, ResourceServer resourceServer, String id) Modifier and TypeMethodDescriptionMapPermissionTicketStore.find
(RealmModel realm, ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes, Integer firstResult, Integer maxResult) MapPermissionTicketStore.findByResource
(ResourceServer resourceServer, Resource resource) MapPermissionTicketStore.findByScope
(ResourceServer resourceServer, Scope scope) MapPermissionTicketStore.findGranted
(ResourceServer resourceServer, String userId) MapPermissionTicketStore.findGranted
(ResourceServer resourceServer, String resourceName, String userId) ModifierConstructorDescriptionMapAuthorizationStore
(MapStorage<MapPermissionTicketEntity, PermissionTicket> permissionTicketStore, MapStorage<MapPolicyEntity, Policy> policyStore, MapStorage<MapResourceServerEntity, ResourceServer> resourceServerStore, MapStorage<MapResourceEntity, Resource> resourceStore, MapStorage<MapScopeEntity, Scope> scopeStore, AuthorizationProvider provider) MapPermissionTicketStore
(MapStorage<MapPermissionTicketEntity, PermissionTicket> permissionTicketStore, AuthorizationProvider provider) -
Uses of PermissionTicket in org.keycloak.models.map.authorization.adapter
Modifier and TypeClassDescriptionclass
AbstractPermissionTicketModel<E extends AbstractEntity>
class
-
Uses of PermissionTicket in org.keycloak.models.map.storage.chm
Modifier and TypeFieldDescriptionstatic final Map<SearchableModelField<PermissionTicket>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapPermissionTicketEntity, PermissionTicket>> MapFieldPredicates.AUTHZ_PERMISSION_TICKET_PREDICATES
static final Map<SearchableModelField<PermissionTicket>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapPermissionTicketEntity, PermissionTicket>> MapFieldPredicates.AUTHZ_PERMISSION_TICKET_PREDICATES
-
Uses of PermissionTicket in org.keycloak.models.map.storage.jpa.authorization.permission
Modifier and TypeMethodDescriptionJpaPermissionModelCriteriaBuilder.compare
(SearchableModelField<? super PermissionTicket> modelField, ModelCriteriaBuilder.Operator op, Object... value) -
Uses of PermissionTicket in org.keycloak.models.utils
Modifier and TypeMethodDescriptionstatic PermissionTicket
RepresentationToModel.toModel
(PermissionTicketRepresentation representation, ResourceServer resourceServer, AuthorizationProvider authorization) Modifier and TypeMethodDescriptionModelToRepresentation.toRepresentation
(PermissionTicket ticket, AuthorizationProvider authorization) ModelToRepresentation.toRepresentation
(PermissionTicket ticket, AuthorizationProvider authorization, boolean returnNames)