Class JPAScopeStore
java.lang.Object
org.keycloak.authorization.jpa.store.JPAScopeStore
- All Implemented Interfaces:
ScopeStore
- Author:
- Pedro Igor
-
Constructor Summary
ConstructorsConstructorDescriptionJPAScopeStore(jakarta.persistence.EntityManager entityManager, AuthorizationProvider provider) -
Method Summary
Modifier and TypeMethodDescriptioncreate(ResourceServer resourceServer, String name) create(ResourceServer resourceServer, String id, String name) voiddelete(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:
createin interfaceScopeStore
-
create
- Specified by:
createin interfaceScopeStore
-
delete
- Specified by:
deletein interfaceScopeStore
-
findById
- Specified by:
findByIdin interfaceScopeStore
-
findByName
- Specified by:
findByNamein interfaceScopeStore
-
findByResourceServer
- Specified by:
findByResourceServerin interfaceScopeStore
-
findByResourceServer
public List<Scope> findByResourceServer(ResourceServer resourceServer, Map<Scope.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) - Specified by:
findByResourceServerin interfaceScopeStore
-