Class JPAResourceServerStore
- java.lang.Object
-
- org.keycloak.authorization.jpa.store.JPAResourceServerStore
-
- All Implemented Interfaces:
ResourceServerStore
public class JPAResourceServerStore extends Object implements ResourceServerStore
- Author:
- Pedro Igor
-
-
Constructor Summary
Constructors Constructor Description JPAResourceServerStore(javax.persistence.EntityManager entityManager, AuthorizationProvider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceServercreate(ClientModel client)voiddelete(ClientModel client)ResourceServerfindByClient(ClientModel client)ResourceServerfindById(RealmModel realm, String id)
-
-
-
Constructor Detail
-
JPAResourceServerStore
public JPAResourceServerStore(javax.persistence.EntityManager entityManager, AuthorizationProvider provider)
-
-
Method Detail
-
create
public ResourceServer create(ClientModel client)
- Specified by:
createin interfaceResourceServerStore
-
delete
public void delete(ClientModel client)
- Specified by:
deletein interfaceResourceServerStore
-
findById
public ResourceServer findById(RealmModel realm, String id)
- Specified by:
findByIdin interfaceResourceServerStore
-
findByClient
public ResourceServer findByClient(ClientModel client)
- Specified by:
findByClientin interfaceResourceServerStore
-
-