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.evaluation |
Provides classes related with the evaluation of policies.
|
org.keycloak.authorization.store |
Provides classes and a SPI to plug different metadata storage implementations.
|
org.keycloak.models.utils |
Modifier and Type | Method and Description |
---|---|
Scope |
PermissionTicket.getScope()
Returns the
Scope associated with this instance |
Modifier and Type | Method and Description |
---|---|
List<Scope> |
Resource.getScopes()
|
Set<Scope> |
Policy.getScopes()
Returns the
Scope instances where this policy applies. |
Modifier and Type | Method and Description |
---|---|
void |
Policy.addScope(Scope scope) |
void |
Policy.removeScope(Scope scope) |
Modifier and Type | Method and Description |
---|---|
void |
Resource.updateScopes(Set<Scope> scopes)
Update the set of scopes associated with this resource.
|
Modifier and Type | Method and Description |
---|---|
List<Scope> |
ResourcePermission.getScopes()
Returns a list of permitted scopes associated with the resource
|
Modifier and Type | Method and Description |
---|---|
void |
ResourcePermission.addScope(Scope scope) |
Constructor and Description |
---|
ResourcePermission(Resource resource,
List<Scope> scopes,
ResourceServer resourceServer) |
ResourcePermission(Resource resource,
List<Scope> scopes,
ResourceServer resourceServer,
Map<String,? extends Collection<String>> claims) |
Modifier and Type | Method and Description |
---|---|
protected void |
DecisionPermissionCollector.grantPermission(AuthorizationProvider authorizationProvider,
List<Permission> permissions,
ResourcePermission permission,
Collection<Scope> grantedScopes,
ResourceServer resourceServer,
AuthorizationRequest request,
Result result) |
Modifier and Type | Method and Description |
---|---|
Scope |
ScopeStore.create(String name,
ResourceServer resourceServer)
Creates a new
Scope instance. |
Scope |
ScopeStore.create(String id,
String name,
ResourceServer resourceServer)
Creates a new
Scope instance. |
Scope |
ScopeStore.findById(String id,
String resourceServerId)
Returns a
Scope with the given id |
Scope |
ScopeStore.findByName(String name,
String resourceServerId)
Returns a
Scope with the given name |
Modifier and Type | Method and Description |
---|---|
List<Scope> |
ScopeStore.findByResourceServer(Map<String,String[]> attributes,
String resourceServerId,
int firstResult,
int maxResult)
|
List<Scope> |
ScopeStore.findByResourceServer(String id)
|
Modifier and Type | Method and Description |
---|---|
static Scope |
RepresentationToModel.toModel(ScopeRepresentation scope,
ResourceServer resourceServer,
AuthorizationProvider authorization) |
static Scope |
RepresentationToModel.toModel(ScopeRepresentation scope,
ResourceServer resourceServer,
AuthorizationProvider authorization,
boolean updateIfExists) |
Modifier and Type | Method and Description |
---|---|
static ScopeRepresentation |
ModelToRepresentation.toRepresentation(Scope model) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.