Package | Description |
---|---|
org.keycloak.authorization.admin.util | |
org.keycloak.authorization.jpa.entities | |
org.keycloak.authorization.jpa.store | |
org.keycloak.authorization.model |
Provides the domain model and any other type related with it
|
org.keycloak.authorization.mongo.adapter | |
org.keycloak.authorization.mongo.store | |
org.keycloak.authorization.permission | |
org.keycloak.authorization.store |
Provides classes and a SPI to plug different metadata storage implementations.
|
org.keycloak.authorization.util | |
org.keycloak.models.authorization.infinispan | |
org.keycloak.models.authorization.infinispan.entities |
Modifier and Type | Method and Description |
---|---|
static Resource |
Models.toModel(ResourceRepresentation resource,
ResourceServer resourceServer,
AuthorizationProvider authorization) |
Modifier and Type | Method and Description |
---|---|
static ResourceRepresentation |
Models.toRepresentation(Resource model,
ResourceServer resourceServer,
AuthorizationProvider authorization) |
Modifier and Type | Class and Description |
---|---|
class |
ResourceEntity |
Modifier and Type | Method and Description |
---|---|
void |
PolicyEntity.addResource(Resource resource) |
void |
PolicyEntity.removeResource(Resource resource) |
Modifier and Type | Method and Description |
---|---|
Resource |
JPAResourceStore.create(String name,
ResourceServer resourceServer,
String owner) |
Resource |
JPAResourceStore.findById(String id) |
Resource |
JPAResourceStore.findByName(String name,
String resourceServerId) |
Modifier and Type | Method and Description |
---|---|
List<Resource> |
JPAResourceStore.findByOwner(String ownerId) |
List<Resource> |
JPAResourceStore.findByScope(String... id) |
List<Resource> |
JPAResourceStore.findByType(String type) |
Modifier and Type | Method and Description |
---|---|
<R extends Resource> |
Policy.getResources()
Returns the
Resource instances where this policy applies. |
Modifier and Type | Method and Description |
---|---|
void |
Policy.addResource(Resource resource) |
void |
Policy.removeResource(Resource resource) |
Modifier and Type | Class and Description |
---|---|
class |
ResourceAdapter |
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
PolicyAdapter.getResources() |
Modifier and Type | Method and Description |
---|---|
void |
PolicyAdapter.addResource(Resource resource) |
void |
PolicyAdapter.removeResource(Resource resource) |
Modifier and Type | Method and Description |
---|---|
Resource |
MongoResourceStore.create(String name,
ResourceServer resourceServer,
String owner) |
Resource |
MongoResourceStore.findById(String id) |
Resource |
MongoResourceStore.findByName(String name,
String resourceServerId) |
Modifier and Type | Method and Description |
---|---|
List<Resource> |
MongoResourceStore.findByOwner(String ownerId) |
List<Resource> |
MongoResourceStore.findByScope(String... id) |
List<Resource> |
MongoResourceStore.findByType(String type) |
Modifier and Type | Method and Description |
---|---|
Resource |
ResourcePermission.getResource()
Returns the resource to which this permission applies.
|
Constructor and Description |
---|
ResourcePermission(Resource resource,
List<Scope> scopes,
ResourceServer resourceServer) |
Modifier and Type | Method and Description |
---|---|
Resource |
ResourceStore.create(String name,
ResourceServer resourceServer,
String owner)
Creates a
Resource instance backed by this persistent storage implementation. |
Resource |
ResourceStore.findById(String id)
Returns a
Resource instance based on its identifier. |
Resource |
ResourceStore.findByName(String name,
String resourceServerId)
Find a
Resource by its name. |
Modifier and Type | Method and Description |
---|---|
List<Resource> |
ResourceStore.findByOwner(String ownerId)
Finds all
Resource instances with the given ownerId . |
List<Resource> |
ResourceStore.findByResourceServer(String resourceServerId)
Finds all
Resource instances associated with a given resource server. |
List<Resource> |
ResourceStore.findByScope(String... id)
Finds all
Resource associated with a given scope. |
List<Resource> |
ResourceStore.findByType(String type)
Finds all
Resource with the given type. |
Modifier and Type | Method and Description |
---|---|
static List<ResourcePermission> |
Permissions.createResourcePermissions(Resource resource,
Set<String> requestedScopes,
AuthorizationProvider authorization) |
Modifier and Type | Method and Description |
---|---|
Resource |
CachedResourceStore.create(String name,
ResourceServer resourceServer,
String owner) |
Resource |
CachedResourceStore.findById(String id) |
Resource |
CachedResourceStore.findByName(String name,
String resourceServerId) |
Modifier and Type | Method and Description |
---|---|
List<Resource> |
CachedResourceStore.findByOwner(String ownerId) |
List<Resource> |
CachedResourceStore.findByResourceServer(String resourceServerId) |
List<Resource> |
CachedResourceStore.findByScope(String... id) |
List<Resource> |
CachedResourceStore.findByType(String type) |
Modifier and Type | Class and Description |
---|---|
class |
CachedResource |
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
CachedPolicy.getResources() |
Modifier and Type | Method and Description |
---|---|
void |
CachedPolicy.addResource(Resource resource) |
void |
CachedPolicy.removeResource(Resource resource) |
Constructor and Description |
---|
CachedResource(Resource resource) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.