| Package | Description |
|---|---|
| org.keycloak.authorization.model |
Provides the domain model and any other type related with it
|
| org.keycloak.authorization.permission | |
| org.keycloak.authorization.store |
Provides classes and a SPI to plug different metadata storage implementations.
|
| 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 | 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. |
Copyright © 2016 JBoss by Red Hat. All rights reserved.