Uses of Interface
org.keycloak.authorization.model.Resource
-
Packages that use Resource Package Description org.keycloak.authorization.model Provides the domain model and any other type related with itorg.keycloak.authorization.permission org.keycloak.authorization.store Provides classes and a SPI to plug different metadata storage implementations.org.keycloak.models.utils -
-
Uses of Resource in org.keycloak.authorization.model
Fields in org.keycloak.authorization.model with type parameters of type Resource Modifier and Type Field Description static SearchableModelField<Resource>Resource.SearchableFields. IDstatic SearchableModelField<Resource>Resource.SearchableFields. NAMEstatic SearchableModelField<Resource>Resource.SearchableFields. OWNERstatic SearchableModelField<Resource>Resource.SearchableFields. OWNER_MANAGED_ACCESSstatic SearchableModelField<Resource>Resource.SearchableFields. REALM_IDstatic SearchableModelField<Resource>Resource.SearchableFields. RESOURCE_SERVER_IDstatic SearchableModelField<Resource>Resource.SearchableFields. SCOPE_IDstatic SearchableModelField<Resource>Resource.SearchableFields. TYPEstatic SearchableModelField<Resource>Resource.SearchableFields. URIMethods in org.keycloak.authorization.model that return Resource Modifier and Type Method Description ResourcePermissionTicket. getResource()Returns theResourceassociated with this instanceMethods in org.keycloak.authorization.model that return types with arguments of type Resource Modifier and Type Method Description Set<Resource>Policy. getResources()Returns theResourceinstances where this policy applies.SearchableModelField<Resource>Resource.FilterOption. getSearchableModelField()Methods in org.keycloak.authorization.model with parameters of type Resource Modifier and Type Method Description voidPolicy. addResource(Resource resource)voidPolicy. removeResource(Resource resource) -
Uses of Resource in org.keycloak.authorization.permission
Methods in org.keycloak.authorization.permission that return Resource Modifier and Type Method Description ResourceResourcePermission. getResource()Returns the resource to which this permission applies.Methods in org.keycloak.authorization.permission with parameters of type Resource Modifier and Type Method Description static ResourcePermissionPermissions. createResourcePermissions(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization, AuthorizationRequest request)static ResourcePermissionPermissions. permission(ResourceServer server, Resource resource, Scope scope)static Set<Scope>Permissions. resolveScopes(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization)Constructors in org.keycloak.authorization.permission with parameters of type Resource Constructor Description ResourcePermission(Resource resource, Collection<Scope> scopes, ResourceServer resourceServer)ResourcePermission(Resource resource, Collection<Scope> scopes, ResourceServer resourceServer, Map<String,? extends Collection<String>> claims)ResourcePermission(Resource resource, ResourceServer resourceServer, Map<String,? extends Collection<String>> claims) -
Uses of Resource in org.keycloak.authorization.store
Methods in org.keycloak.authorization.store that return Resource Modifier and Type Method Description default ResourceResourceStore. create(ResourceServer resourceServer, String name, String owner)Creates aResourceinstance backed by this persistent storage implementation.ResourceResourceStore. create(ResourceServer resourceServer, String id, String name, String owner)Creates aResourceinstance backed by this persistent storage implementation.ResourceResourceStore. findById(RealmModel realm, ResourceServer resourceServer, String id)Returns aResourceinstance based on its identifier.default ResourceResourceStore. findByName(ResourceServer resourceServer, String name)Find aResourceby its name where the owner is the resource server itself.ResourceResourceStore. findByName(ResourceServer resourceServer, String name, String ownerId)Find aResourceby its name where the owner is the givenownerId.Methods in org.keycloak.authorization.store that return types with arguments of type Resource Modifier and Type Method Description List<Resource>ResourceStore. find(RealmModel realm, ResourceServer resourceServer, Map<Resource.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)Finds allResourceinstances associated with a given resource server.default List<Resource>ResourceStore. findByOwner(RealmModel realm, ResourceServer resourceServer, String ownerId)Finds allResourceinstances with the givenownerId.List<Resource>ResourceStore. findByResourceServer(ResourceServer resourceServer)Finds allResourceinstances associated with a given resource server.default List<Resource>ResourceStore. findByScopes(ResourceServer resourceServer, Set<Scope> scopes)Finds allResourceassociated with a given scope.default List<Resource>ResourceStore. findByType(ResourceServer resourceServer, String type)Finds allResourcefromResourceServerwith the given type.List<Resource>PermissionTicketStore. findGrantedOwnerResources(RealmModel realm, String owner, Integer firstResult, Integer maxResults)Returns a list ofResourcegranted by the owner to other usersList<Resource>PermissionTicketStore. findGrantedResources(RealmModel realm, String requester, String name, Integer firstResult, Integer maxResults)Returns a list ofResourcegranted to the givenrequesterMethods in org.keycloak.authorization.store with parameters of type Resource Modifier and Type Method Description PermissionTicketPermissionTicketStore. create(ResourceServer resourceServer, Resource resource, Scope scope, String requester)Creates a newPermissionTicketinstance.List<PermissionTicket>PermissionTicketStore. findByResource(ResourceServer resourceServer, Resource resource)Returns a list ofPermissionTicketassociated with theresource.default List<Policy>PolicyStore. findByResource(ResourceServer resourceServer, Resource resource)voidPolicyStore. findByResource(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer)Searches for all policies associated with theResourceand passes the result to theconsumerdefault List<Policy>PolicyStore. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes)voidPolicyStore. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer)Effectively the same method asPolicyStore.findByScopes(ResourceServer, Resource, List), however in the end theconsumeris fed with the result.Method parameters in org.keycloak.authorization.store with type arguments of type Resource Modifier and Type Method Description voidResourceStore. findByOwner(RealmModel realm, ResourceServer resourceServer, String ownerId, Consumer<Resource> consumer)voidResourceStore. findByScopes(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer)voidResourceStore. findByType(ResourceServer resourceServer, String type, String owner, Consumer<Resource> consumer)Finds allResourcewith the given type.voidResourceStore. findByType(ResourceServer resourceServer, String type, Consumer<Resource> consumer)Finds allResourcefromResourceServerwith the given type.voidResourceStore. findByTypeInstance(ResourceServer resourceServer, String type, Consumer<Resource> consumer)Finds allResourceby type where client represented by theresourceServeris not the owner -
Uses of Resource in org.keycloak.models.utils
Methods in org.keycloak.models.utils that return Resource Modifier and Type Method Description static ResourceRepresentationToModel. toModel(ResourceRepresentation resource, ResourceServer resourceServer, AuthorizationProvider authorization)Methods in org.keycloak.models.utils with parameters of type Resource Modifier and Type Method Description static ResourceRepresentationModelToRepresentation. toRepresentation(Resource model, ResourceServer resourceServer, AuthorizationProvider authorization)static ResourceRepresentationModelToRepresentation. toRepresentation(Resource model, ResourceServer resourceServer, AuthorizationProvider authorization, Boolean deep)
-