Class JPAScopeStore
java.lang.Object
org.keycloak.authorization.jpa.store.JPAScopeStore
- All Implemented Interfaces:
ScopeStore
- Author:
- Pedro Igor
-
Constructor Summary
ConstructorDescriptionJPAScopeStore
(jakarta.persistence.EntityManager entityManager, AuthorizationProvider provider) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(ResourceServer resourceServer, String name) create
(ResourceServer resourceServer, String id, String name) void
delete
(RealmModel realm, String id) findById
(RealmModel realm, ResourceServer resourceServer, String id) findByName
(ResourceServer resourceServer, String name) findByResourceServer
(ResourceServer resourceServer) findByResourceServer
(ResourceServer resourceServer, Map<Scope.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults)
-
Constructor Details
-
JPAScopeStore
public JPAScopeStore(jakarta.persistence.EntityManager entityManager, AuthorizationProvider provider)
-
-
Method Details
-
create
- Specified by:
create
in interfaceScopeStore
-
create
- Specified by:
create
in interfaceScopeStore
-
delete
- Specified by:
delete
in interfaceScopeStore
-
findById
- Specified by:
findById
in interfaceScopeStore
-
findByName
- Specified by:
findByName
in interfaceScopeStore
-
findByResourceServer
- Specified by:
findByResourceServer
in interfaceScopeStore
-
findByResourceServer
public List<Scope> findByResourceServer(ResourceServer resourceServer, Map<Scope.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) - Specified by:
findByResourceServer
in interfaceScopeStore
-