| Package | Description |
|---|---|
| org.keycloak.authorization.model |
Provides the domain model and any other type related with it
|
| org.keycloak.authorization.permission | |
| org.keycloak.authorization.policy.provider |
Provides classes and a SPI to plug different policy providers.
|
| org.keycloak.authorization.store |
Provides classes and a SPI to plug different metadata storage implementations.
|
| Modifier and Type | Method and Description |
|---|---|
<R extends ResourceServer> |
Policy.getResourceServer()
Returns the
ResourceServer where this policy belongs to. |
<R extends ResourceServer> |
Resource.getResourceServer()
Returns the
ResourceServer to where this resource belongs to. |
| Modifier and Type | Method and Description |
|---|---|
ResourceServer |
Scope.getResourceServer()
Returns the
ResourceServer instance to where this scope belongs to. |
| Modifier and Type | Method and Description |
|---|---|
ResourceServer |
ResourcePermission.getResourceServer()
Returns the resource server associated with this permission.
|
| Constructor and Description |
|---|
ResourcePermission(Resource resource,
List<Scope> scopes,
ResourceServer resourceServer) |
| Modifier and Type | Method and Description |
|---|---|
PolicyProviderAdminService |
PolicyProviderFactory.getAdminResource(ResourceServer resourceServer) |
| Modifier and Type | Method and Description |
|---|---|
ResourceServer |
ResourceServerStore.create(String clientId)
Creates a
ResourceServer instance backed by this persistent storage implementation. |
ResourceServer |
ResourceServerStore.findByClient(String id)
Returns a
ResourceServer instance based on the identifier of a client application. |
ResourceServer |
ResourceServerStore.findById(String id)
Returns a
ResourceServer instance based on its identifier. |
| Modifier and Type | Method and Description |
|---|---|
Scope |
ScopeStore.create(String name,
ResourceServer resourceServer)
Creates a new
Scope instance. |
Resource |
ResourceStore.create(String name,
ResourceServer resourceServer,
String owner)
Creates a
Resource instance backed by this persistent storage implementation. |
Policy |
PolicyStore.create(String name,
String type,
ResourceServer resourceServer)
Creates a new
Policy instance. |
Copyright © 2016 JBoss by Red Hat. All rights reserved.