public class MongoScopeStore extends Object implements ScopeStore
| Constructor and Description |
|---|
MongoScopeStore(MongoStoreInvocationContext invocationContext,
AuthorizationProvider authorizationProvider) |
| Modifier and Type | Method and Description |
|---|---|
Scope |
create(String name,
ResourceServer resourceServer) |
void |
delete(String id) |
Scope |
findById(String id) |
Scope |
findByName(String name,
String resourceServerId) |
List<Scope> |
findByResourceServer(String resourceServerId) |
public MongoScopeStore(MongoStoreInvocationContext invocationContext, AuthorizationProvider authorizationProvider)
public Scope create(String name, ResourceServer resourceServer)
create in interface ScopeStorepublic void delete(String id)
delete in interface ScopeStorepublic Scope findById(String id)
findById in interface ScopeStorepublic Scope findByName(String name, String resourceServerId)
findByName in interface ScopeStorepublic List<Scope> findByResourceServer(String resourceServerId)
findByResourceServer in interface ScopeStoreCopyright © 2016 JBoss by Red Hat. All rights reserved.