public interface RealmProvider extends Provider, ClientProvider
addClient, addClient, addClientRole, addClientRole, getClientRole, getClientRoles, getClients, removeClient
getClientByClientId, getClientById
MigrationModel getMigrationModel()
RealmModel createRealm(String name)
RealmModel createRealm(String id, String name)
RealmModel getRealm(String id)
RealmModel getRealmByName(String name)
void moveGroup(RealmModel realm, GroupModel group, GroupModel toParent)
List<GroupModel> getGroups(RealmModel realm)
Long getGroupsCount(RealmModel realm, Boolean onlyTopGroups)
Long getGroupsCountByNameContaining(RealmModel realm, String search)
List<GroupModel> getGroupsByRole(RealmModel realm, RoleModel role, int firstResult, int maxResults)
List<GroupModel> getTopLevelGroups(RealmModel realm)
List<GroupModel> getTopLevelGroups(RealmModel realm, Integer first, Integer max)
List searchForGroupByName(RealmModel realm, String search, Integer first, Integer max)
boolean removeGroup(RealmModel realm, GroupModel group)
GroupModel createGroup(RealmModel realm, String name)
GroupModel createGroup(RealmModel realm, String id, String name)
void addTopLevelGroup(RealmModel realm, GroupModel subGroup)
RoleModel addRealmRole(RealmModel realm, String name)
RoleModel addRealmRole(RealmModel realm, String id, String name)
RoleModel getRealmRole(RealmModel realm, String name)
Set<RoleModel> getRealmRoles(RealmModel realm)
boolean removeRole(RealmModel realm, RoleModel role)
RoleModel getRoleById(String id, RealmModel realm)
ClientScopeModel getClientScopeById(String id, RealmModel realm)
GroupModel getGroupById(String id, RealmModel realm)
List<RealmModel> getRealms()
List<RealmModel> getRealmsWithProviderType(Class<?> type)
boolean removeRealm(String id)
ClientInitialAccessModel createClientInitialAccessModel(RealmModel realm, int expiration, int count)
ClientInitialAccessModel getClientInitialAccessModel(RealmModel realm, String id)
void removeClientInitialAccessModel(RealmModel realm, String id)
List<ClientInitialAccessModel> listClientInitialAccess(RealmModel realm)
void removeExpiredClientInitialAccess()
void decreaseRemainingCount(RealmModel realm, ClientInitialAccessModel clientInitialAccess)
Copyright © 2019 JBoss by Red Hat. All rights reserved.