Uses of Interface
org.keycloak.authorization.model.Resource
-
Packages that use Resource Package Description org.keycloak.authorization.model Provides the domain model and any other type related with itorg.keycloak.authorization.permission org.keycloak.authorization.store Provides classes and a SPI to plug different metadata storage implementations.org.keycloak.models.utils -
-
Uses of Resource in org.keycloak.authorization.model
Fields in org.keycloak.authorization.model with type parameters of type Resource Modifier and Type Field Description static SearchableModelField<Resource>Resource.SearchableFields. IDstatic SearchableModelField<Resource>Resource.SearchableFields. NAMEstatic SearchableModelField<Resource>Resource.SearchableFields. OWNERstatic SearchableModelField<Resource>Resource.SearchableFields. OWNER_MANAGED_ACCESSstatic SearchableModelField<Resource>Resource.SearchableFields. RESOURCE_SERVER_IDstatic SearchableModelField<Resource>Resource.SearchableFields. SCOPE_IDstatic SearchableModelField<Resource>Resource.SearchableFields. TYPEstatic SearchableModelField<Resource>Resource.SearchableFields. URIMethods in org.keycloak.authorization.model that return Resource Modifier and Type Method Description ResourcePermissionTicket. getResource()Returns theResourceassociated with this instanceMethods in org.keycloak.authorization.model that return types with arguments of type Resource Modifier and Type Method Description Set<Resource>Policy. getResources()Returns theResourceinstances where this policy applies.SearchableModelField<Resource>Resource.FilterOption. getSearchableModelField()Methods in org.keycloak.authorization.model with parameters of type Resource Modifier and Type Method Description voidPolicy. addResource(Resource resource)voidPolicy. removeResource(Resource resource) -
Uses of Resource in org.keycloak.authorization.permission
Methods in org.keycloak.authorization.permission that return Resource Modifier and Type Method Description ResourceResourcePermission. getResource()Returns the resource to which this permission applies.Methods in org.keycloak.authorization.permission with parameters of type Resource Modifier and Type Method Description static ResourcePermissionPermissions. createResourcePermissions(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization, AuthorizationRequest request)static ResourcePermissionPermissions. permission(ResourceServer server, Resource resource, Scope scope)static Set<Scope>Permissions. resolveScopes(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization)Constructors in org.keycloak.authorization.permission with parameters of type Resource Constructor Description ResourcePermission(Resource resource, Collection<Scope> scopes, ResourceServer resourceServer)ResourcePermission(Resource resource, Collection<Scope> scopes, ResourceServer resourceServer, Map<String,? extends Collection<String>> claims)ResourcePermission(Resource resource, ResourceServer resourceServer, Map<String,? extends Collection<String>> claims) -
Uses of Resource in org.keycloak.authorization.store
Methods in org.keycloak.authorization.store that return Resource Modifier and Type Method Description ResourceResourceStore. create(String id, String name, ResourceServer resourceServer, String owner)Creates aResourceinstance backed by this persistent storage implementation.default ResourceResourceStore. create(String name, ResourceServer resourceServer, String owner)Creates aResourceinstance backed by this persistent storage implementation.ResourceResourceStore. findById(String id, String resourceServerId)Returns aResourceinstance based on its identifier.ResourceResourceStore. findByName(String name, String resourceServerId)Find aResourceby its name where the owner is the resource server itself.ResourceResourceStore. findByName(String name, String ownerId, String resourceServerId)Find aResourceby its name where the owner is the givenownerId.Methods in org.keycloak.authorization.store that return types with arguments of type Resource Modifier and Type Method Description default List<Resource>ResourceStore. findByOwner(String ownerId, String resourceServerId)Finds allResourceinstances with the givenownerId.List<Resource>ResourceStore. findByOwner(String ownerId, String resourceServerId, int first, int max)List<Resource>ResourceStore. findByResourceServer(String resourceServerId)Finds allResourceinstances associated with a given resource server.List<Resource>ResourceStore. findByResourceServer(Map<Resource.FilterOption,String[]> attributes, String resourceServerId, int firstResult, int maxResult)Finds allResourceinstances associated with a given resource server.default List<Resource>ResourceStore. findByScope(List<String> id, String resourceServerId)Finds allResourceassociated with a given scope.default List<Resource>ResourceStore. findByType(String type, String resourceServerId)Finds allResourcewith the given type.default List<Resource>ResourceStore. findByType(String type, String owner, String resourceServerId)Finds allResourcewith the given type.default List<Resource>ResourceStore. findByTypeInstance(String type, String resourceServerId)List<Resource>ResourceStore. findByUri(String uri, String resourceServerId)Finds allResourceinstances with the given uri.List<Resource>PermissionTicketStore. findGrantedOwnerResources(String owner, int first, int max)Returns a list ofResourcegranted by the owner to other usersList<Resource>PermissionTicketStore. findGrantedResources(String requester, String name, int first, int max)Returns a list ofResourcegranted to the givenrequesterMethod parameters in org.keycloak.authorization.store with type arguments of type Resource Modifier and Type Method Description voidResourceStore. findByOwner(String ownerId, String resourceServerId, Consumer<Resource> consumer)voidResourceStore. findByScope(List<String> scopes, String resourceServerId, Consumer<Resource> consumer)voidResourceStore. findByType(String type, String owner, String resourceServerId, Consumer<Resource> consumer)Finds allResourcewith the given type.voidResourceStore. findByType(String type, String resourceServerId, Consumer<Resource> consumer)Finds allResourcewith the given type.voidResourceStore. findByTypeInstance(String type, String resourceServerId, Consumer<Resource> consumer) -
Uses of Resource in org.keycloak.models.utils
Methods in org.keycloak.models.utils that return Resource Modifier and Type Method Description static ResourceRepresentationToModel. toModel(ResourceRepresentation resource, ResourceServer resourceServer, AuthorizationProvider authorization)Methods in org.keycloak.models.utils with parameters of type Resource Modifier and Type Method Description static ResourceRepresentationModelToRepresentation. toRepresentation(Resource model, String resourceServer, AuthorizationProvider authorization)static ResourceRepresentationModelToRepresentation. toRepresentation(Resource model, String resourceServer, AuthorizationProvider authorization, Boolean deep)
-