public interface ResourceServerStore
ResourceServerStore is responsible to manage the persistence of ResourceServer instances.| Modifier and Type | Method and Description |
|---|---|
ResourceServer |
create(String clientId)
Creates a
ResourceServer instance backed by this persistent storage implementation. |
void |
delete(String id)
Removes a
ResourceServer instance, with the given id from the persistent storage. |
ResourceServer |
findByClient(String id)
Returns a
ResourceServer instance based on the identifier of a client application. |
ResourceServer |
findById(String id)
Returns a
ResourceServer instance based on its identifier. |
ResourceServer create(String clientId)
Creates a ResourceServer instance backed by this persistent storage implementation.
clientId - the client id acting as a resource servervoid delete(String id)
ResourceServer instance, with the given id from the persistent storage.id - the identifier of an existing resource server instanceResourceServer findById(String id)
ResourceServer instance based on its identifier.id - the identifier of an existing resource server instanceResourceServer findByClient(String id)
ResourceServer instance based on the identifier of a client application.id - the identifier of an existing client applicationCopyright © 2016 JBoss by Red Hat. All rights reserved.