Constructor and Description |
---|
PolicyService(ResourceServer resourceServer,
AuthorizationProvider authorization,
RealmAuth auth) |
ResourceServerService(AuthorizationProvider authorization,
ResourceServer resourceServer,
ClientModel client,
RealmAuth auth) |
ResourceSetService(ResourceServer resourceServer,
AuthorizationProvider authorization,
RealmAuth auth) |
ScopeService(ResourceServer resourceServer,
AuthorizationProvider authorization,
RealmAuth auth) |
Modifier and Type | Method and Description |
---|---|
static PolicyEvaluationResponse |
PolicyEvaluationResponse.build(PolicyEvaluationRequest evaluationRequest,
List<Result> results,
ResourceServer resourceServer,
AuthorizationProvider authorization,
KeycloakIdentity identity) |
Modifier and Type | Method and Description |
---|---|
static ResourceServer |
Models.toModel(ResourceServerRepresentation server,
AuthorizationProvider authorization) |
Modifier and Type | Method and Description |
---|---|
static Policy |
Models.toModel(PolicyRepresentation policy,
ResourceServer resourceServer,
AuthorizationProvider authorizationManager) |
static Resource |
Models.toModel(ResourceRepresentation resource,
ResourceServer resourceServer,
AuthorizationProvider authorization) |
static Scope |
Models.toModel(ScopeRepresentation scope,
ResourceServer resourceServer,
AuthorizationProvider authorization) |
static ResourceRepresentation |
Models.toRepresentation(Resource model,
ResourceServer resourceServer,
AuthorizationProvider authorization) |
static ResourceServerRepresentation |
Models.toRepresentation(ResourceServer model,
RealmModel realm) |
Modifier and Type | Class and Description |
---|---|
class |
ResourceServerEntity |
Modifier and Type | Method and Description |
---|---|
ResourceServer |
JPAResourceServerStore.create(String clientId) |
ResourceServer |
JPAResourceServerStore.findByClient(String clientId) |
ResourceServer |
JPAResourceServerStore.findById(String id) |
Modifier and Type | Method and Description |
---|---|
Scope |
JPAScopeStore.create(String name,
ResourceServer resourceServer) |
Resource |
JPAResourceStore.create(String name,
ResourceServer resourceServer,
String owner) |
Policy |
JPAPolicyStore.create(String name,
String type,
ResourceServer resourceServer) |
Modifier and Type | Method and Description |
---|---|
<R extends ResourceServer> |
Resource.getResourceServer()
Returns the
ResourceServer to where this resource belongs to. |
<R extends ResourceServer> |
Policy.getResourceServer()
Returns the
ResourceServer where this policy belongs to. |
Modifier and Type | Method and Description |
---|---|
ResourceServer |
Scope.getResourceServer()
Returns the
ResourceServer instance to where this scope belongs to. |
Modifier and Type | Class and Description |
---|---|
class |
ResourceServerAdapter |
Modifier and Type | Method and Description |
---|---|
ResourceServer |
ScopeAdapter.getResourceServer() |
ResourceServer |
ResourceAdapter.getResourceServer() |
ResourceServer |
PolicyAdapter.getResourceServer() |
Modifier and Type | Method and Description |
---|---|
ResourceServer |
MongoResourceServerStore.create(String clientId) |
ResourceServer |
MongoResourceServerStore.findByClient(String clientId) |
ResourceServer |
MongoResourceServerStore.findById(String id) |
Modifier and Type | Method and Description |
---|---|
Scope |
MongoScopeStore.create(String name,
ResourceServer resourceServer) |
Resource |
MongoResourceStore.create(String name,
ResourceServer resourceServer,
String owner) |
Policy |
MongoPolicyStore.create(String name,
String type,
ResourceServer resourceServer) |
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 |
---|---|
PolicyProviderAdminService |
AggregatePolicyProviderFactory.getAdminResource(ResourceServer resourceServer) |
Constructor and Description |
---|
AggregatePolicyAdminResource(ResourceServer resourceServer) |
Modifier and Type | Method and Description |
---|---|
PolicyProviderAdminService |
DroolsPolicyProviderFactory.getAdminResource(ResourceServer resourceServer) |
Constructor and Description |
---|
DroolsPolicyAdminResource(ResourceServer resourceServer,
DroolsPolicyProviderFactory factory) |
Modifier and Type | Method and Description |
---|---|
PolicyProviderAdminService |
JSPolicyProviderFactory.getAdminResource(ResourceServer resourceServer) |
Modifier and Type | Method and Description |
---|---|
PolicyProviderAdminService |
ResourcePolicyProviderFactory.getAdminResource(ResourceServer resourceServer) |
Modifier and Type | Method and Description |
---|---|
PolicyProviderAdminService |
RolePolicyProviderFactory.getAdminResource(ResourceServer resourceServer) |
Modifier and Type | Method and Description |
---|---|
PolicyProviderAdminService |
ScopePolicyProviderFactory.getAdminResource(ResourceServer resourceServer) |
Modifier and Type | Method and Description |
---|---|
PolicyProviderAdminService |
TimePolicyProviderFactory.getAdminResource(ResourceServer resourceServer) |
Modifier and Type | Method and Description |
---|---|
PolicyProviderAdminService |
UserPolicyProviderFactory.getAdminResource(ResourceServer resourceServer) |
Constructor and Description |
---|
AbstractPermissionService(KeycloakIdentity identity,
ResourceServer resourceServer,
AuthorizationProvider authorization) |
PermissionService(KeycloakIdentity identity,
ResourceServer resourceServer,
AuthorizationProvider authorization) |
PermissionsService(KeycloakIdentity identity,
ResourceServer resourceServer,
AuthorizationProvider authorization) |
Constructor and Description |
---|
ResourceService(ResourceServer resourceServer,
Identity identity,
ResourceSetService resourceManager,
AuthorizationProvider authorization) |
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. |
Modifier and Type | Method and Description |
---|---|
static List<ResourcePermission> |
Permissions.all(ResourceServer resourceServer,
Identity identity,
AuthorizationProvider authorization)
Returns a list of permissions for all resources and scopes that belong to the given
resourceServer and
identity . |
Modifier and Type | Method and Description |
---|---|
ResourceServer |
CachedResourceServerStore.create(String clientId) |
ResourceServer |
CachedResourceServerStore.findByClient(String id) |
ResourceServer |
CachedResourceServerStore.findById(String id) |
Modifier and Type | Method and Description |
---|---|
Scope |
CachedScopeStore.create(String name,
ResourceServer resourceServer) |
Resource |
CachedResourceStore.create(String name,
ResourceServer resourceServer,
String owner) |
Policy |
CachedPolicyStore.create(String name,
String type,
ResourceServer resourceServer) |
Modifier and Type | Class and Description |
---|---|
class |
CachedResourceServer |
Modifier and Type | Method and Description |
---|---|
ResourceServer |
CachedScope.getResourceServer() |
ResourceServer |
CachedResource.getResourceServer() |
ResourceServer |
CachedPolicy.getResourceServer() |
Constructor and Description |
---|
CachedResourceServer(ResourceServer resourceServer) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.