| Package | Description |
|---|---|
| org.keycloak.authorization.admin | |
| org.keycloak.authorization.jpa.store | |
| 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.forms.account.freemarker.model | |
| org.keycloak.models.cache.infinispan.authorization | |
| org.keycloak.models.cache.infinispan.authorization.entities | |
| org.keycloak.models.map.authorization | |
| org.keycloak.models.map.authorization.adapter | |
| org.keycloak.models.map.storage.chm | |
| org.keycloak.models.utils |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PolicyEvaluationService.EvaluationDecisionCollector.grantPermission(AuthorizationProvider authorizationProvider,
Set<Permission> permissions,
ResourcePermission permission,
Collection<Scope> grantedScopes,
ResourceServer resourceServer,
AuthorizationRequest request,
Result result) |
| Modifier and Type | Class and Description |
|---|---|
class |
ScopeAdapter |
| Modifier and Type | Method and Description |
|---|---|
Scope |
JPAScopeStore.create(String name,
ResourceServer resourceServer) |
Scope |
JPAScopeStore.create(String id,
String name,
ResourceServer resourceServer) |
Scope |
JPAScopeStore.findById(String id,
String resourceServerId) |
Scope |
JPAScopeStore.findByName(String name,
String resourceServerId) |
Scope |
PermissionTicketAdapter.getScope() |
| Modifier and Type | Method and Description |
|---|---|
List<Scope> |
JPAScopeStore.findByResourceServer(Map<Scope.FilterOption,String[]> attributes,
String resourceServerId,
int firstResult,
int maxResult) |
List<Scope> |
JPAScopeStore.findByResourceServer(String serverId) |
List<Scope> |
ResourceAdapter.getScopes() |
Set<Scope> |
PolicyAdapter.getScopes() |
| Modifier and Type | Method and Description |
|---|---|
void |
PolicyAdapter.addScope(Scope scope) |
void |
PolicyAdapter.removeScope(Scope scope) |
static ScopeEntity |
ScopeAdapter.toEntity(javax.persistence.EntityManager em,
Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceAdapter.updateScopes(Set<Scope> toUpdate) |
| Modifier and Type | Field and Description |
|---|---|
static SearchableModelField<Scope> |
Scope.SearchableFields.ID |
static SearchableModelField<Scope> |
Scope.SearchableFields.NAME |
static SearchableModelField<Scope> |
Scope.SearchableFields.RESOURCE_SERVER_ID |
| 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. |
SearchableModelField<Scope> |
Scope.FilterOption.getSearchableModelField() |
| 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 |
|---|---|
Collection<Scope> |
ResourcePermission.getScopes()
Returns a list of permitted scopes associated with the resource
|
static Set<Scope> |
Permissions.resolveScopes(Resource resource,
ResourceServer resourceServer,
Collection<Scope> requestedScopes,
AuthorizationProvider authorization) |
| Modifier and Type | Method and Description |
|---|---|
void |
ResourcePermission.addScope(Scope scope) |
static ResourcePermission |
Permissions.permission(ResourceServer server,
Resource resource,
Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
static ResourcePermission |
Permissions.createResourcePermissions(Resource resource,
ResourceServer resourceServer,
Collection<Scope> requestedScopes,
AuthorizationProvider authorization,
AuthorizationRequest request) |
static Set<Scope> |
Permissions.resolveScopes(Resource resource,
ResourceServer resourceServer,
Collection<Scope> requestedScopes,
AuthorizationProvider authorization) |
| Constructor and Description |
|---|
ResourcePermission(Resource resource,
Collection<Scope> scopes,
ResourceServer resourceServer) |
ResourcePermission(Resource resource,
Collection<Scope> scopes,
ResourceServer resourceServer,
Map<String,? extends Collection<String>> claims) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DecisionPermissionCollector.grantPermission(AuthorizationProvider authorizationProvider,
Set<Permission> permissions,
ResourcePermission permission,
Collection<Scope> grantedScopes,
ResourceServer resourceServer,
AuthorizationRequest request,
Result result) |
| Modifier and Type | Method and Description |
|---|---|
default 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<Scope.FilterOption,String[]> attributes,
String resourceServerId,
int firstResult,
int maxResult)
|
List<Scope> |
ScopeStore.findByResourceServer(String id)
|
| Modifier and Type | Method and Description |
|---|---|
Scope |
AuthorizationBean.PermissionScopeBean.getScope() |
| Modifier and Type | Field and Description |
|---|---|
protected Scope |
ScopeAdapter.updated |
| Modifier and Type | Field and Description |
|---|---|
protected List<Scope> |
ResourceAdapter.scopes |
protected Set<Scope> |
PolicyAdapter.scopes |
| Modifier and Type | Method and Description |
|---|---|
Scope |
StoreFactoryCacheSession.ScopeCache.create(String name,
ResourceServer resourceServer) |
Scope |
StoreFactoryCacheSession.ScopeCache.create(String id,
String name,
ResourceServer resourceServer) |
Scope |
StoreFactoryCacheSession.ScopeCache.findById(String id,
String resourceServerId) |
Scope |
StoreFactoryCacheSession.ScopeCache.findByName(String name,
String resourceServerId) |
Scope |
ScopeAdapter.getDelegateForUpdate() |
Scope |
PermissionTicketAdapter.getScope() |
| Modifier and Type | Method and Description |
|---|---|
List<Scope> |
StoreFactoryCacheSession.ScopeCache.findByResourceServer(Map<Scope.FilterOption,String[]> attributes,
String resourceServerId,
int firstResult,
int maxResult) |
List<Scope> |
StoreFactoryCacheSession.ScopeCache.findByResourceServer(String id) |
List<Scope> |
ResourceAdapter.getScopes() |
Set<Scope> |
PolicyAdapter.getScopes() |
| Modifier and Type | Method and Description |
|---|---|
void |
PolicyAdapter.addScope(Scope scope) |
void |
PolicyAdapter.removeScope(Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceAdapter.updateScopes(Set<Scope> scopes) |
| Constructor and Description |
|---|
CachedScope(Long revision,
Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
Scope |
MapScopeStore.create(String id,
String name,
ResourceServer resourceServer) |
Scope |
MapScopeStore.findById(String id,
String resourceServerId) |
Scope |
MapScopeStore.findByName(String name,
String resourceServerId) |
| Modifier and Type | Method and Description |
|---|---|
List<Scope> |
MapScopeStore.findByResourceServer(Map<Scope.FilterOption,String[]> attributes,
String resourceServerId,
int firstResult,
int maxResult) |
List<Scope> |
MapScopeStore.findByResourceServer(String id) |
| Constructor and Description |
|---|
MapScopeStore(KeycloakSession session,
MapStorage<MapScopeEntity,Scope> scopeStore,
AuthorizationProvider provider) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractScopeModel<E extends AbstractEntity> |
class |
MapScopeAdapter |
| Modifier and Type | Method and Description |
|---|---|
Scope |
MapPermissionTicketAdapter.getScope() |
| Modifier and Type | Method and Description |
|---|---|
List<Scope> |
MapResourceAdapter.getScopes() |
Set<Scope> |
MapPolicyAdapter.getScopes() |
| Modifier and Type | Method and Description |
|---|---|
void |
MapPolicyAdapter.addScope(Scope scope) |
void |
MapPolicyAdapter.removeScope(Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
MapResourceAdapter.updateScopes(Set<Scope> scopes) |
| Modifier and Type | Field and Description |
|---|---|
static Map<SearchableModelField<Scope>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapScopeEntity,Scope>> |
MapFieldPredicates.AUTHZ_SCOPE_PREDICATES |
static Map<SearchableModelField<Scope>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapScopeEntity,Scope>> |
MapFieldPredicates.AUTHZ_SCOPE_PREDICATES |
| 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.