## Uses of Interface
org.keycloak.models.RealmModel

- Packages that use RealmModel
  Package | Description
  --- | ---
  org.keycloak.account |
  org.keycloak.account.freemarker |
  org.keycloak.account.freemarker.model |
  org.keycloak.email |
  org.keycloak.email.freemarker |
  org.keycloak.events |
  org.keycloak.examples.federation.properties |
  org.keycloak.exportimport |
  org.keycloak.exportimport.dir |
  org.keycloak.exportimport.util |
  org.keycloak.exportimport.zip |
  org.keycloak.federation.ldap |
  org.keycloak.freemarker |
  org.keycloak.login |
  org.keycloak.login.freemarker |
  org.keycloak.login.freemarker.model |
  org.keycloak.models |
  org.keycloak.models.cache |
  org.keycloak.models.cache.entities |
  org.keycloak.models.jpa |
  org.keycloak.models.mongo.keycloak.adapters |
  org.keycloak.models.sessions.infinispan |
  org.keycloak.models.sessions.jpa |
  org.keycloak.models.sessions.mem |
  org.keycloak.models.sessions.mongo |
  org.keycloak.models.utils |
  org.keycloak.protocol |
  org.keycloak.protocol.oidc |
  org.keycloak.protocol.saml |
  org.keycloak.services.managers |
  org.keycloak.services.resources |
  org.keycloak.services.resources.admin |
  org.keycloak.services.resources.flows |
  org.keycloak.test.tools.jobs |
  org.keycloak.testutils |

- - ### Uses of RealmModel in org.keycloak.account

    Methods in org.keycloak.account with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `AccountProvider` | AccountProvider.`setRealm(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.account.freemarker

    Methods in org.keycloak.account.freemarker with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `AccountProvider` | FreeMarkerAccountProvider.`setRealm(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.account.freemarker.model

    Constructors in org.keycloak.account.freemarker.model with parameters of type RealmModel
    Constructor and Description
    `AccountSocialBean(KeycloakSession session, RealmModel realm, UserModel user, URI baseUri, String stateChecker)`
    `SessionsBean.UserSessionBean(RealmModel realm, UserSessionModel session)`
    `SessionsBean(RealmModel realm, List<UserSessionModel> sessions)`
    `TotpBean(RealmModel realm, UserModel user, URI baseUri)`
    `UrlBean(RealmModel realm, Theme theme, URI baseURI, URI baseQueryURI, URI currentURI, String stateChecker)`

  - ### Uses of RealmModel in org.keycloak.email

    Methods in org.keycloak.email with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `EmailProvider` | EmailProvider.`setRealm(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.email.freemarker

    Methods in org.keycloak.email.freemarker with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `EmailProvider` | FreeMarkerEmailProvider.`setRealm(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.events

    Methods in org.keycloak.events with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `EventBuilder` | EventBuilder.`realm(RealmModel realm)`

    Constructors in org.keycloak.events with parameters of type RealmModel
    Constructor and Description
    `EventBuilder(List<EventListenerProvider> listeners, RealmModel realm, String ipAddress)`

  - ### Uses of RealmModel in org.keycloak.examples.federation.properties

    Methods in org.keycloak.examples.federation.properties with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `UserModel` | BasePropertiesFederationProvider.`getUserByEmail(RealmModel realm, String email)`
    `UserModel` | BasePropertiesFederationProvider.`getUserByUsername(RealmModel realm, String username)`
    `void` | BasePropertiesFederationProvider.`preRemove(RealmModel realm)`
    `void` | BasePropertiesFederationProvider.`preRemove(RealmModel realm, RoleModel role)`
    `UserModel` | FilePropertiesFederationProvider.`register(RealmModel realm, UserModel user)` Update the properties file with the new user.
    `UserModel` | ClasspathPropertiesFederationProvider.`register(RealmModel realm, UserModel user)` The properties file is readonly so don't suppport registration.
    `boolean` | FilePropertiesFederationProvider.`removeUser(RealmModel realm, UserModel user)`
    `boolean` | ClasspathPropertiesFederationProvider.`removeUser(RealmModel realm, UserModel user)` The properties file is readonly so don't removing a user
    `List<UserModel>` | BasePropertiesFederationProvider.`searchByAttributes(Map<String,String> attributes, RealmModel realm, int maxResults)` We only search for Usernames as that is all that is stored in the properties file.
    `boolean` | BasePropertiesFederationProvider.`validCredentials(RealmModel realm, UserModel user, List<UserCredentialModel> input)`
    `boolean` | BasePropertiesFederationProvider.`validCredentials(RealmModel realm, UserModel user, UserCredentialModel... input)`

  - ### Uses of RealmModel in org.keycloak.exportimport

    Methods in org.keycloak.exportimport with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `Object` | ApplicationImporter.`createJaxrsService(RealmModel realm, RealmAuth auth)`

  - ### Uses of RealmModel in org.keycloak.exportimport.dir

    Methods in org.keycloak.exportimport.dir with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | DirExportProvider.`writeUsers(String fileName, KeycloakSession session, RealmModel realm, List<UserModel> users)`

  - ### Uses of RealmModel in org.keycloak.exportimport.util

    Methods in org.keycloak.exportimport.util that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static RealmModel` | ImportUtils.`importRealm(KeycloakSession session, RealmRepresentation rep, Strategy strategy)` Fully import realm from representation, save it to model and return model of newly created realm

    Methods in org.keycloak.exportimport.util with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static RealmRepresentation` | ExportUtils.`exportRealm(KeycloakSession session, RealmModel realm, boolean includeUsers)`
    `static UserRepresentation` | ExportUtils.`exportUser(KeycloakSession session, RealmModel realm, UserModel user)` Full export of user (including role mappings and credentials)
    `static void` | ExportUtils.`exportUsersToStream(KeycloakSession session, RealmModel realm, List<UserModel> usersToExport, org.codehaus.jackson.map.ObjectMapper mapper, OutputStream os)`
    `static void` | ImportUtils.`setupMasterAdminManagement(RealmProvider model, RealmModel realm)`
    `protected abstract void` | MultipleStepsExportProvider.`writeUsers(String fileName, KeycloakSession session, RealmModel realm, List<UserModel> users)`

  - ### Uses of RealmModel in org.keycloak.exportimport.zip

    Methods in org.keycloak.exportimport.zip with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | ZipExportProvider.`writeUsers(String fileName, KeycloakSession session, RealmModel realm, List<UserModel> users)`

  - ### Uses of RealmModel in org.keycloak.federation.ldap

    Methods in org.keycloak.federation.ldap with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `UserModel` | LDAPFederationProvider.`getUserByEmail(RealmModel realm, String email)`
    `UserModel` | LDAPFederationProvider.`getUserByUsername(RealmModel realm, String username)`
    `protected void` | LDAPFederationProvider.`importPicketlinkUsers(RealmModel realm, List<org.picketlink.idm.model.basic.User> users, UserFederationProviderModel fedModel)`
    `protected UserModel` | LDAPFederationProvider.`importUserFromPicketlink(RealmModel realm, org.picketlink.idm.model.basic.User picketlinkUser)`
    `void` | LDAPFederationProvider.`preRemove(RealmModel realm)`
    `void` | LDAPFederationProvider.`preRemove(RealmModel realm, RoleModel role)`
    `UserModel` | LDAPFederationProvider.`register(RealmModel realm, UserModel user)`
    `boolean` | LDAPFederationProvider.`removeUser(RealmModel realm, UserModel user)`
    `List<UserModel>` | LDAPFederationProvider.`searchByAttributes(Map<String,String> attributes, RealmModel realm, int maxResults)`
    `boolean` | LDAPFederationProvider.`validCredentials(RealmModel realm, UserModel user, List<UserCredentialModel> input)`
    `boolean` | LDAPFederationProvider.`validCredentials(RealmModel realm, UserModel user, UserCredentialModel... input)`

  - ### Uses of RealmModel in org.keycloak.freemarker

    Methods in org.keycloak.freemarker with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static javax.ws.rs.core.Response.ResponseBuilder` | BrowserSecurityHeaderSetup.`headers(javax.ws.rs.core.Response.ResponseBuilder builder, RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.login

    Methods in org.keycloak.login with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `LoginFormsProvider` | LoginFormsProvider.`setRealm(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.login.freemarker

    Methods in org.keycloak.login.freemarker with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `LoginFormsProvider` | FreeMarkerLoginFormsProvider.`setRealm(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.login.freemarker.model

    Constructors in org.keycloak.login.freemarker.model with parameters of type RealmModel
    Constructor and Description
    `RealmBean(RealmModel realmModel)`
    `SocialBean(RealmModel realm, URI baseURI)`
    `TotpBean(RealmModel realm, UserModel user, URI baseUri)`
    `UrlBean(RealmModel realm, Theme theme, URI baseURI)`

  - ### Uses of RealmModel in org.keycloak.models

    Methods in org.keycloak.models that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | RealmProvider.`createRealm(String name)`
    `RealmModel` | RealmProvider.`createRealm(String id, String name)`
    `RealmModel` | ClientSessionModel.`getRealm()`
    `RealmModel` | ClientModel.`getRealm()`
    `RealmModel` | RealmProvider.`getRealm(String id)`
    `RealmModel` | RealmProvider.`getRealmByName(String name)`

    Methods in org.keycloak.models that return types with arguments of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `List<RealmModel>` | RealmProvider.`getRealms()`

    Methods in org.keycloak.models with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | UserProvider.`addSocialLink(RealmModel realm, UserModel user, SocialLinkModel socialLink)`
    `void` | UserFederationManager.`addSocialLink(RealmModel realm, UserModel user, SocialLinkModel socialLink)`
    `UserModel` | UserProvider.`addUser(RealmModel realm, String username)`
    `UserModel` | UserFederationManager.`addUser(RealmModel realm, String username)`
    `UserModel` | UserProvider.`addUser(RealmModel realm, String id, String username, boolean addDefaultRoles)`
    `UserModel` | UserFederationManager.`addUser(RealmModel realm, String id, String username, boolean addDefaultRoles)`
    `UsernameLoginFailureModel` | UserSessionProvider.`addUserLoginFailure(RealmModel realm, String username)`
    `ClientSessionModel` | UserSessionProvider.`createClientSession(RealmModel realm, ClientModel client)`
    `UserSessionModel` | UserSessionProvider.`createUserSession(RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe)`
    `protected void` | UserFederationManager.`deleteInvalidUser(RealmModel realm, UserModel user)`
    `int` | UserSessionProvider.`getActiveUserSessions(RealmModel realm, ClientModel client)`
    `ApplicationModel` | RealmProvider.`getApplicationById(String id, RealmModel realm)`
    `ClientSessionModel` | UserSessionProvider.`getClientSession(RealmModel realm, String id)`
    `protected UserFederationProvider` | UserFederationManager.`getFederationLink(RealmModel realm, UserModel user)`
    `OAuthClientModel` | RealmProvider.`getOAuthClientById(String id, RealmModel realm)`
    `RoleModel` | RealmProvider.`getRoleById(String id, RealmModel realm)`
    `SocialLinkModel` | UserProvider.`getSocialLink(UserModel user, String socialProvider, RealmModel realm)`
    `SocialLinkModel` | UserFederationManager.`getSocialLink(UserModel user, String socialProvider, RealmModel realm)`
    `Set<SocialLinkModel>` | UserProvider.`getSocialLinks(UserModel user, RealmModel realm)`
    `Set<SocialLinkModel>` | UserFederationManager.`getSocialLinks(UserModel user, RealmModel realm)`
    `UserModel` | UserFederationProvider.`getUserByEmail(RealmModel realm, String email)` Required to import into local storage any user found.
    `UserModel` | UserProvider.`getUserByEmail(String email, RealmModel realm)`
    `UserModel` | UserFederationManager.`getUserByEmail(String email, RealmModel realm)`
    `UserModel` | UserProvider.`getUserById(String id, RealmModel realm)`
    `UserModel` | UserFederationManager.`getUserById(String id, RealmModel realm)`
    `UserModel` | UserProvider.`getUserBySocialLink(SocialLinkModel socialLink, RealmModel realm)`
    `UserModel` | UserFederationManager.`getUserBySocialLink(SocialLinkModel socialLink, RealmModel realm)`
    `UserModel` | UserFederationProvider.`getUserByUsername(RealmModel realm, String username)` Required to import into local storage any user found.
    `UserModel` | UserProvider.`getUserByUsername(String username, RealmModel realm)`
    `UserModel` | UserFederationManager.`getUserByUsername(String username, RealmModel realm)`
    `UsernameLoginFailureModel` | UserSessionProvider.`getUserLoginFailure(RealmModel realm, String username)`
    `List<UserModel>` | UserProvider.`getUsers(RealmModel realm)`
    `List<UserModel>` | UserFederationManager.`getUsers(RealmModel realm)`
    `List<UserModel>` | UserProvider.`getUsers(RealmModel realm, int firstResult, int maxResults)`
    `List<UserModel>` | UserFederationManager.`getUsers(RealmModel realm, int firstResult, int maxResults)`
    `int` | UserProvider.`getUsersCount(RealmModel realm)`
    `int` | UserFederationManager.`getUsersCount(RealmModel realm)`
    `UserSessionModel` | UserSessionProvider.`getUserSession(RealmModel realm, String id)`
    `List<UserSessionModel>` | UserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | UserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client, int firstResult, int maxResults)`
    `List<UserSessionModel>` | UserSessionProvider.`getUserSessions(RealmModel realm, UserModel user)`
    `protected boolean` | UserFederationManager.`isValid(RealmModel realm, UserModel user)`
    `void` | UserSessionProvider.`onClientRemoved(RealmModel realm, ClientModel client)`
    `void` | UserSessionProvider.`onRealmRemoved(RealmModel realm)`
    `void` | UserSessionProvider.`onUserRemoved(RealmModel realm, UserModel user)`
    `void` | UserProvider.`preRemove(RealmModel realm)`
    `void` | UserFederationProvider.`preRemove(RealmModel realm)` called whenever a Realm is removed
    `void` | UserFederationManager.`preRemove(RealmModel realm)`
    `void` | UserProvider.`preRemove(RealmModel realm, RoleModel role)`
    `void` | UserFederationProvider.`preRemove(RealmModel realm, RoleModel role)` called before a role is removed.
    `void` | UserFederationManager.`preRemove(RealmModel realm, RoleModel role)`
    `void` | UserProvider.`preRemove(RealmModel realm, UserFederationProviderModel link)`
    `void` | UserFederationManager.`preRemove(RealmModel realm, UserFederationProviderModel model)`
    `protected List<UserModel>` | UserFederationManager.`query(org.keycloak.models.UserFederationManager.PaginatedQuery pagedQuery, RealmModel realm, int firstResult, int maxResults)`
    `UserModel` | UserFederationProvider.`register(RealmModel realm, UserModel user)` Called if this federation provider has priority and supports synchronized registrations.
    `protected UserModel` | UserFederationManager.`registerWithFederation(RealmModel realm, UserModel user)`
    `void` | UserSessionProvider.`removeExpiredUserSessions(RealmModel realm)`
    `boolean` | UserProvider.`removeSocialLink(RealmModel realm, UserModel user, String socialProvider)`
    `boolean` | UserFederationManager.`removeSocialLink(RealmModel realm, UserModel user, String socialProvider)`
    `boolean` | UserProvider.`removeUser(RealmModel realm, UserModel user)`
    `boolean` | UserFederationProvider.`removeUser(RealmModel realm, UserModel user)`
    `boolean` | UserFederationManager.`removeUser(RealmModel realm, UserModel user)`
    `void` | UserSessionProvider.`removeUserSession(RealmModel realm, UserSessionModel session)`
    `void` | UserSessionProvider.`removeUserSessions(RealmModel realm)`
    `void` | UserSessionProvider.`removeUserSessions(RealmModel realm, UserModel user)`
    `List<UserModel>` | UserFederationProvider.`searchByAttributes(Map<String,String> attributes, RealmModel realm, int maxResults)` Required to import into local storage any user found.
    `List<UserModel>` | UserProvider.`searchForUser(String search, RealmModel realm)`
    `List<UserModel>` | UserFederationManager.`searchForUser(String search, RealmModel realm)`
    `List<UserModel>` | UserProvider.`searchForUser(String search, RealmModel realm, int firstResult, int maxResults)`
    `List<UserModel>` | UserFederationManager.`searchForUser(String search, RealmModel realm, int firstResult, int maxResults)`
    `List<UserModel>` | UserProvider.`searchForUserByAttributes(Map<String,String> attributes, RealmModel realm)`
    `List<UserModel>` | UserFederationManager.`searchForUserByAttributes(Map<String,String> attributes, RealmModel realm)`
    `List<UserModel>` | UserProvider.`searchForUserByAttributes(Map<String,String> attributes, RealmModel realm, int firstResult, int maxResults)`
    `List<UserModel>` | UserFederationManager.`searchForUserByAttributes(Map<String,String> attributes, RealmModel realm, int firstResult, int maxResults)`
    `void` | UserFederationManager.`updateCredential(RealmModel realm, UserModel user, UserCredentialModel credential)`
    `protected UserModel` | UserFederationManager.`validateAndProxyUser(RealmModel realm, UserModel user)`
    `protected void` | UserFederationManager.`validateUser(RealmModel realm, UserModel user)`
    `boolean` | UserProvider.`validCredentials(RealmModel realm, UserModel user, List<UserCredentialModel> input)`
    `boolean` | UserFederationProvider.`validCredentials(RealmModel realm, UserModel user, List<UserCredentialModel> input)` Validate credentials for this user.
    `boolean` | UserFederationManager.`validCredentials(RealmModel realm, UserModel user, List<UserCredentialModel> input)`
    `boolean` | UserProvider.`validCredentials(RealmModel realm, UserModel user, UserCredentialModel... input)`
    `boolean` | UserFederationProvider.`validCredentials(RealmModel realm, UserModel user, UserCredentialModel... input)`
    `boolean` | UserFederationManager.`validCredentials(RealmModel realm, UserModel user, UserCredentialModel... input)`

  - ### Uses of RealmModel in org.keycloak.models.cache

    Classes in org.keycloak.models.cache that implement RealmModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RealmAdapter`

    Fields in org.keycloak.models.cache declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | ClientAdapter.`cachedRealm`
    `protected RealmModel` | UserAdapter.`realm`
    `protected RealmModel` | RoleAdapter.`realm`
    `protected RealmModel` | RealmAdapter.`updated`

    Fields in org.keycloak.models.cache with type parameters of type RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected Map<String,RealmModel>` | DefaultCacheRealmProvider.`managedRealms`

    Methods in org.keycloak.models.cache that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | NoCacheRealmProvider.`createRealm(String name)`
    `RealmModel` | DefaultCacheRealmProvider.`createRealm(String name)`
    `RealmModel` | NoCacheRealmProvider.`createRealm(String id, String name)`
    `RealmModel` | DefaultCacheRealmProvider.`createRealm(String id, String name)`
    `RealmModel` | ClientAdapter.`getRealm()`
    `RealmModel` | NoCacheRealmProvider.`getRealm(String id)`
    `RealmModel` | DefaultCacheRealmProvider.`getRealm(String id)`
    `RealmModel` | NoCacheRealmProvider.`getRealmByName(String name)`
    `RealmModel` | DefaultCacheRealmProvider.`getRealmByName(String name)`

    Methods in org.keycloak.models.cache that return types with arguments of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `List<RealmModel>` | NoCacheRealmProvider.`getRealms()`
    `List<RealmModel>` | DefaultCacheRealmProvider.`getRealms()`

    Methods in org.keycloak.models.cache with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | NoCacheUserProvider.`addSocialLink(RealmModel realm, UserModel user, SocialLinkModel socialLink)`
    `void` | DefaultCacheUserProvider.`addSocialLink(RealmModel realm, UserModel user, SocialLinkModel socialLink)`
    `UserModel` | NoCacheUserProvider.`addUser(RealmModel realm, String username)`
    `UserModel` | DefaultCacheUserProvider.`addUser(RealmModel realm, String username)`
    `UserModel` | NoCacheUserProvider.`addUser(RealmModel realm, String id, String username, boolean addDefaultRoles)`
    `UserModel` | DefaultCacheUserProvider.`addUser(RealmModel realm, String id, String username, boolean addDefaultRoles)`
    `ApplicationModel` | NoCacheRealmProvider.`getApplicationById(String id, RealmModel realm)`
    `ApplicationModel` | DefaultCacheRealmProvider.`getApplicationById(String id, RealmModel realm)`
    `OAuthClientModel` | NoCacheRealmProvider.`getOAuthClientById(String id, RealmModel realm)`
    `OAuthClientModel` | DefaultCacheRealmProvider.`getOAuthClientById(String id, RealmModel realm)`
    `RoleModel` | NoCacheRealmProvider.`getRoleById(String id, RealmModel realm)`
    `RoleModel` | DefaultCacheRealmProvider.`getRoleById(String id, RealmModel realm)`
    `SocialLinkModel` | NoCacheUserProvider.`getSocialLink(UserModel user, String socialProvider, RealmModel realm)`
    `SocialLinkModel` | DefaultCacheUserProvider.`getSocialLink(UserModel user, String socialProvider, RealmModel realm)`
    `Set<SocialLinkModel>` | NoCacheUserProvider.`getSocialLinks(UserModel user, RealmModel realm)`
    `Set<SocialLinkModel>` | DefaultCacheUserProvider.`getSocialLinks(UserModel user, RealmModel realm)`
    `UserModel` | NoCacheUserProvider.`getUserByEmail(String email, RealmModel realm)`
    `UserModel` | DefaultCacheUserProvider.`getUserByEmail(String email, RealmModel realm)`
    `UserModel` | NoCacheUserProvider.`getUserById(String id, RealmModel realm)`
    `UserModel` | DefaultCacheUserProvider.`getUserById(String id, RealmModel realm)`
    `UserModel` | NoCacheUserProvider.`getUserBySocialLink(SocialLinkModel socialLink, RealmModel realm)`
    `UserModel` | DefaultCacheUserProvider.`getUserBySocialLink(SocialLinkModel socialLink, RealmModel realm)`
    `UserModel` | NoCacheUserProvider.`getUserByUsername(String username, RealmModel realm)`
    `UserModel` | DefaultCacheUserProvider.`getUserByUsername(String username, RealmModel realm)`
    `List<UserModel>` | NoCacheUserProvider.`getUsers(RealmModel realm)`
    `List<UserModel>` | DefaultCacheUserProvider.`getUsers(RealmModel realm)`
    `List<UserModel>` | NoCacheUserProvider.`getUsers(RealmModel realm, int firstResult, int maxResults)`
    `List<UserModel>` | DefaultCacheUserProvider.`getUsers(RealmModel realm, int firstResult, int maxResults)`
    `int` | NoCacheUserProvider.`getUsersCount(RealmModel realm)`
    `int` | DefaultCacheUserProvider.`getUsersCount(RealmModel realm)`
    `void` | NoCacheUserProvider.`preRemove(RealmModel realm)`
    `void` | DefaultCacheUserProvider.`preRemove(RealmModel realm)`
    `void` | NoCacheUserProvider.`preRemove(RealmModel realm, RoleModel role)`
    `void` | DefaultCacheUserProvider.`preRemove(RealmModel realm, RoleModel role)`
    `void` | NoCacheUserProvider.`preRemove(RealmModel realm, UserFederationProviderModel link)`
    `void` | DefaultCacheUserProvider.`preRemove(RealmModel realm, UserFederationProviderModel link)`
    `void` | NoCacheUserProvider.`registerUserInvalidation(RealmModel realm, String id)`
    `void` | DefaultCacheUserProvider.`registerUserInvalidation(RealmModel realm, String id)`
    `void` | CacheUserProvider.`registerUserInvalidation(RealmModel realm, String id)`
    `boolean` | NoCacheUserProvider.`removeSocialLink(RealmModel realm, UserModel user, String socialProvider)`
    `boolean` | DefaultCacheUserProvider.`removeSocialLink(RealmModel realm, UserModel user, String socialProvider)`
    `boolean` | NoCacheUserProvider.`removeUser(RealmModel realm, UserModel user)`
    `boolean` | DefaultCacheUserProvider.`removeUser(RealmModel realm, UserModel user)`
    `List<UserModel>` | NoCacheUserProvider.`searchForUser(String search, RealmModel realm)`
    `List<UserModel>` | DefaultCacheUserProvider.`searchForUser(String search, RealmModel realm)`
    `List<UserModel>` | NoCacheUserProvider.`searchForUser(String search, RealmModel realm, int firstResult, int maxResults)`
    `List<UserModel>` | DefaultCacheUserProvider.`searchForUser(String search, RealmModel realm, int firstResult, int maxResults)`
    `List<UserModel>` | NoCacheUserProvider.`searchForUserByAttributes(Map<String,String> attributes, RealmModel realm)`
    `List<UserModel>` | DefaultCacheUserProvider.`searchForUserByAttributes(Map<String,String> attributes, RealmModel realm)`
    `List<UserModel>` | NoCacheUserProvider.`searchForUserByAttributes(Map<String,String> attributes, RealmModel realm, int firstResult, int maxResults)`
    `List<UserModel>` | DefaultCacheUserProvider.`searchForUserByAttributes(Map<String,String> attributes, RealmModel realm, int firstResult, int maxResults)`
    `boolean` | NoCacheUserProvider.`validCredentials(RealmModel realm, UserModel user, List<UserCredentialModel> input)`
    `boolean` | DefaultCacheUserProvider.`validCredentials(RealmModel realm, UserModel user, List<UserCredentialModel> input)`
    `boolean` | NoCacheUserProvider.`validCredentials(RealmModel realm, UserModel user, UserCredentialModel... input)`
    `boolean` | DefaultCacheUserProvider.`validCredentials(RealmModel realm, UserModel user, UserCredentialModel... input)`

    Constructors in org.keycloak.models.cache with parameters of type RealmModel
    Constructor and Description
    `ApplicationAdapter(RealmModel cachedRealm, CachedApplication cached, CacheRealmProvider cacheSession, RealmCache cache)`
    `ClientAdapter(RealmModel cachedRealm, CachedClient cached, RealmCache cache, CacheRealmProvider cacheSession)`
    `OAuthClientAdapter(RealmModel cachedRealm, CachedOAuthClient cached, CacheRealmProvider cacheSession, RealmCache cache)`
    `RoleAdapter(CachedRole cached, RealmCache cache, CacheRealmProvider session, RealmModel realm)`
    `UserAdapter(CachedUser cached, CacheUserProvider userProvider, KeycloakSession keycloakSession, RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.models.cache.entities

    Constructors in org.keycloak.models.cache.entities with parameters of type RealmModel
    Constructor and Description
    `CachedApplication(RealmCache cache, RealmProvider delegate, RealmModel realm, ApplicationModel model)`
    `CachedApplicationRole(String appId, RoleModel model, RealmModel realm)`
    `CachedClient(RealmCache cache, RealmProvider delegate, RealmModel realm, ClientModel model)`
    `CachedOAuthClient(RealmCache cache, RealmProvider delegate, RealmModel realm, OAuthClientModel model)`
    `CachedRealm(RealmCache cache, RealmProvider delegate, RealmModel model)`
    `CachedRealmRole(RoleModel model, RealmModel realm)`
    `CachedRole(RoleModel model, RealmModel realm)`
    `CachedUser(RealmModel realm, UserModel user)`

  - ### Uses of RealmModel in org.keycloak.models.jpa

    Fields in org.keycloak.models.jpa declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | UserAdapter.`realm`
    `protected RealmModel` | RoleAdapter.`realm`
    `protected RealmModel` | ClientAdapter.`realm`

    Methods in org.keycloak.models.jpa that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | JpaRealmProvider.`createRealm(String name)`
    `RealmModel` | JpaRealmProvider.`createRealm(String id, String name)`
    `RealmModel` | ClientAdapter.`getRealm()`
    `RealmModel` | JpaRealmProvider.`getRealm(String id)`
    `RealmModel` | JpaRealmProvider.`getRealmByName(String name)`

    Methods in org.keycloak.models.jpa that return types with arguments of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `List<RealmModel>` | JpaRealmProvider.`getRealms()`

    Methods in org.keycloak.models.jpa with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | JpaUserProvider.`addSocialLink(RealmModel realm, UserModel user, SocialLinkModel socialLink)`
    `UserModel` | JpaUserProvider.`addUser(RealmModel realm, String username)`
    `UserModel` | JpaUserProvider.`addUser(RealmModel realm, String id, String username, boolean addDefaultRoles)`
    `ApplicationModel` | JpaRealmProvider.`getApplicationById(String id, RealmModel realm)`
    `OAuthClientModel` | JpaRealmProvider.`getOAuthClientById(String id, RealmModel realm)`
    `RoleModel` | JpaRealmProvider.`getRoleById(String id, RealmModel realm)`
    `SocialLinkModel` | JpaUserProvider.`getSocialLink(UserModel user, String socialProvider, RealmModel realm)`
    `Set<SocialLinkModel>` | JpaUserProvider.`getSocialLinks(UserModel user, RealmModel realm)`
    `UserModel` | JpaUserProvider.`getUserByEmail(String email, RealmModel realm)`
    `UserModel` | JpaUserProvider.`getUserById(String id, RealmModel realm)`
    `UserModel` | JpaUserProvider.`getUserBySocialLink(SocialLinkModel socialLink, RealmModel realm)`
    `UserModel` | JpaUserProvider.`getUserByUsername(String username, RealmModel realm)`
    `List<UserModel>` | JpaUserProvider.`getUsers(RealmModel realm)`
    `List<UserModel>` | JpaUserProvider.`getUsers(RealmModel realm, int firstResult, int maxResults)`
    `int` | JpaUserProvider.`getUsersCount(RealmModel realm)`
    `void` | JpaUserProvider.`preRemove(RealmModel realm)`
    `void` | JpaUserProvider.`preRemove(RealmModel realm, RoleModel role)`
    `void` | JpaUserProvider.`preRemove(RealmModel realm, UserFederationProviderModel link)`
    `boolean` | JpaUserProvider.`removeSocialLink(RealmModel realm, UserModel user, String socialProvider)`
    `boolean` | JpaUserProvider.`removeUser(RealmModel realm, UserModel user)`
    `List<UserModel>` | JpaUserProvider.`searchForUser(String search, RealmModel realm)`
    `List<UserModel>` | JpaUserProvider.`searchForUser(String search, RealmModel realm, int firstResult, int maxResults)`
    `List<UserModel>` | JpaUserProvider.`searchForUserByAttributes(Map<String,String> attributes, RealmModel realm)`
    `List<UserModel>` | JpaUserProvider.`searchForUserByAttributes(Map<String,String> attributes, RealmModel realm, int firstResult, int maxResults)`
    `boolean` | JpaUserProvider.`validCredentials(RealmModel realm, UserModel user, List<UserCredentialModel> input)`
    `boolean` | JpaUserProvider.`validCredentials(RealmModel realm, UserModel user, UserCredentialModel... input)`

    Constructors in org.keycloak.models.jpa with parameters of type RealmModel
    Constructor and Description
    `ApplicationAdapter(RealmModel realm, javax.persistence.EntityManager em, KeycloakSession session, ApplicationEntity applicationEntity)`
    `ClientAdapter(RealmModel realm, ClientEntity entity, javax.persistence.EntityManager em)`
    `OAuthClientAdapter(RealmModel realm, OAuthClientEntity entity, javax.persistence.EntityManager em)`
    `RoleAdapter(RealmModel realm, javax.persistence.EntityManager em, RoleEntity role)`
    `UserAdapter(RealmModel realm, javax.persistence.EntityManager em, UserEntity user)`

  - ### Uses of RealmModel in org.keycloak.models.mongo.keycloak.adapters

    Methods in org.keycloak.models.mongo.keycloak.adapters that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | MongoRealmProvider.`createRealm(String name)`
    `RealmModel` | MongoRealmProvider.`createRealm(String id, String name)`
    `RealmModel` | ClientAdapter.`getRealm()`
    `RealmModel` | MongoRealmProvider.`getRealm(String id)`
    `RealmModel` | MongoRealmProvider.`getRealmByName(String name)`

    Methods in org.keycloak.models.mongo.keycloak.adapters that return types with arguments of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `List<RealmModel>` | MongoRealmProvider.`getRealms()`

    Methods in org.keycloak.models.mongo.keycloak.adapters with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | MongoUserProvider.`addSocialLink(RealmModel realm, UserModel user, SocialLinkModel socialLink)`
    `UserModel` | MongoUserProvider.`addUser(RealmModel realm, String username)`
    `UserAdapter` | MongoUserProvider.`addUser(RealmModel realm, String id, String username, boolean addDefaultRoles)`
    `protected UserAdapter` | MongoUserProvider.`addUserEntity(RealmModel realm, String id, String username)`
    `protected List<UserModel>` | MongoUserProvider.`convertUserEntities(RealmModel realm, List<MongoUserEntity> userEntities)`
    `ApplicationModel` | MongoRealmProvider.`getApplicationById(String id, RealmModel realm)`
    `OAuthClientModel` | MongoRealmProvider.`getOAuthClientById(String id, RealmModel realm)`
    `RoleModel` | MongoRealmProvider.`getRoleById(String id, RealmModel realm)`
    `SocialLinkModel` | MongoUserProvider.`getSocialLink(UserModel user, String socialProvider, RealmModel realm)`
    `Set<SocialLinkModel>` | MongoUserProvider.`getSocialLinks(UserModel userModel, RealmModel realm)`
    `UserModel` | MongoUserProvider.`getUserByEmail(String email, RealmModel realm)`
    `UserModel` | MongoUserProvider.`getUserById(String id, RealmModel realm)`
    `UserModel` | MongoUserProvider.`getUserBySocialLink(SocialLinkModel socialLink, RealmModel realm)`
    `UserModel` | MongoUserProvider.`getUserByUsername(String username, RealmModel realm)`
    `List<UserModel>` | MongoUserProvider.`getUsers(RealmModel realm)`
    `List<UserModel>` | MongoUserProvider.`getUsers(RealmModel realm, int firstResult, int maxResults)`
    `int` | MongoUserProvider.`getUsersCount(RealmModel realm)`
    `void` | MongoUserProvider.`preRemove(RealmModel realm)`
    `void` | MongoUserProvider.`preRemove(RealmModel realm, RoleModel role)`
    `void` | MongoUserProvider.`preRemove(RealmModel realm, UserFederationProviderModel link)`
    `boolean` | MongoUserProvider.`removeSocialLink(RealmModel realm, UserModel userModel, String socialProvider)`
    `boolean` | MongoUserProvider.`removeUser(RealmModel realm, UserModel user)`
    `List<UserModel>` | MongoUserProvider.`searchForUser(String search, RealmModel realm)`
    `List<UserModel>` | MongoUserProvider.`searchForUser(String search, RealmModel realm, int firstResult, int maxResults)`
    `List<UserModel>` | MongoUserProvider.`searchForUserByAttributes(Map<String,String> attributes, RealmModel realm)`
    `List<UserModel>` | MongoUserProvider.`searchForUserByAttributes(Map<String,String> attributes, RealmModel realm, int firstResult, int maxResults)`
    `boolean` | MongoUserProvider.`validCredentials(RealmModel realm, UserModel user, List<UserCredentialModel> input)`
    `boolean` | MongoUserProvider.`validCredentials(RealmModel realm, UserModel user, UserCredentialModel... input)`

    Constructors in org.keycloak.models.mongo.keycloak.adapters with parameters of type RealmModel
    Constructor and Description
    `ApplicationAdapter(KeycloakSession session, RealmModel realm, MongoApplicationEntity applicationEntity, MongoStoreInvocationContext invContext)`
    `ClientAdapter(KeycloakSession session, RealmModel realm, T clientEntity, MongoStoreInvocationContext invContext)`
    `OAuthClientAdapter(KeycloakSession session, RealmModel realm, MongoOAuthClientEntity oauthClientEntity, MongoStoreInvocationContext invContext)`
    `RoleAdapter(KeycloakSession session, RealmModel realm, MongoRoleEntity roleEntity, MongoStoreInvocationContext invContext)`
    `RoleAdapter(KeycloakSession session, RealmModel realm, MongoRoleEntity roleEntity, RoleContainerModel roleContainer, MongoStoreInvocationContext invContext)`
    `UserAdapter(KeycloakSession session, RealmModel realm, MongoUserEntity userEntity, MongoStoreInvocationContext invContext)`

  - ### Uses of RealmModel in org.keycloak.models.sessions.infinispan

    Methods in org.keycloak.models.sessions.infinispan that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | ClientSessionAdapter.`getRealm()`

    Methods in org.keycloak.models.sessions.infinispan with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `UsernameLoginFailureModel` | InfinispanUserSessionProvider.`addUserLoginFailure(RealmModel realm, String username)`
    `ClientSessionModel` | InfinispanUserSessionProvider.`createClientSession(RealmModel realm, ClientModel client)`
    `UserSessionModel` | InfinispanUserSessionProvider.`createUserSession(RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe)`
    `int` | InfinispanUserSessionProvider.`getActiveUserSessions(RealmModel realm, ClientModel client)`
    `ClientSessionModel` | InfinispanUserSessionProvider.`getClientSession(RealmModel realm, String id)`
    `UsernameLoginFailureModel` | InfinispanUserSessionProvider.`getUserLoginFailure(RealmModel realm, String username)`
    `UserSessionModel` | InfinispanUserSessionProvider.`getUserSession(RealmModel realm, String id)`
    `List<UserSessionModel>` | InfinispanUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | InfinispanUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client, int firstResult, int maxResults)`
    `List<UserSessionModel>` | InfinispanUserSessionProvider.`getUserSessions(RealmModel realm, UserModel user)`
    `void` | InfinispanUserSessionProvider.`onClientRemoved(RealmModel realm, ClientModel client)`
    `void` | InfinispanUserSessionProvider.`onRealmRemoved(RealmModel realm)`
    `void` | InfinispanUserSessionProvider.`onUserRemoved(RealmModel realm, UserModel user)`
    `void` | InfinispanUserSessionProvider.`removeExpiredUserSessions(RealmModel realm)`
    `void` | InfinispanUserSessionProvider.`removeUserSession(RealmModel realm, UserSessionModel session)`
    `void` | InfinispanUserSessionProvider.`removeUserSessions(RealmModel realm)`
    `void` | InfinispanUserSessionProvider.`removeUserSessions(RealmModel realm, UserModel user)`

    Constructors in org.keycloak.models.sessions.infinispan with parameters of type RealmModel
    Constructor and Description
    `ClientSessionAdapter(KeycloakSession session, InfinispanUserSessionProvider provider, org.infinispan.Cache<String,SessionEntity> cache, RealmModel realm, ClientSessionEntity entity)`
    `UserSessionAdapter(KeycloakSession session, InfinispanUserSessionProvider provider, org.infinispan.Cache<String,SessionEntity> cache, RealmModel realm, UserSessionEntity entity)`

  - ### Uses of RealmModel in org.keycloak.models.sessions.jpa

    Methods in org.keycloak.models.sessions.jpa that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | ClientSessionAdapter.`getRealm()`

    Methods in org.keycloak.models.sessions.jpa with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `UsernameLoginFailureModel` | JpaUserSessionProvider.`addUserLoginFailure(RealmModel realm, String username)`
    `ClientSessionModel` | JpaUserSessionProvider.`createClientSession(RealmModel realm, ClientModel client)`
    `UserSessionModel` | JpaUserSessionProvider.`createUserSession(RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe)`
    `int` | JpaUserSessionProvider.`getActiveUserSessions(RealmModel realm, ClientModel client)`
    `ClientSessionModel` | JpaUserSessionProvider.`getClientSession(RealmModel realm, String id)`
    `UsernameLoginFailureModel` | JpaUserSessionProvider.`getUserLoginFailure(RealmModel realm, String username)`
    `UserSessionModel` | JpaUserSessionProvider.`getUserSession(RealmModel realm, String id)`
    `List<UserSessionModel>` | JpaUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | JpaUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client, int firstResult, int maxResults)`
    `List<UserSessionModel>` | JpaUserSessionProvider.`getUserSessions(RealmModel realm, UserModel user)`
    `void` | JpaUserSessionProvider.`onClientRemoved(RealmModel realm, ClientModel client)`
    `void` | JpaUserSessionProvider.`onRealmRemoved(RealmModel realm)`
    `void` | JpaUserSessionProvider.`onUserRemoved(RealmModel realm, UserModel user)`
    `void` | JpaUserSessionProvider.`removeExpiredUserSessions(RealmModel realm)`
    `void` | JpaUserSessionProvider.`removeUserSession(RealmModel realm, UserSessionModel session)`
    `void` | JpaUserSessionProvider.`removeUserSessions(RealmModel realm)`
    `void` | JpaUserSessionProvider.`removeUserSessions(RealmModel realm, UserModel user)`

    Constructors in org.keycloak.models.sessions.jpa with parameters of type RealmModel
    Constructor and Description
    `ClientSessionAdapter(KeycloakSession session, javax.persistence.EntityManager em, RealmModel realm, ClientSessionEntity entity)`
    `UserSessionAdapter(KeycloakSession session, javax.persistence.EntityManager em, RealmModel realm, UserSessionEntity entity)`

  - ### Uses of RealmModel in org.keycloak.models.sessions.mem

    Methods in org.keycloak.models.sessions.mem that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | ClientSessionAdapter.`getRealm()`

    Methods in org.keycloak.models.sessions.mem with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `UsernameLoginFailureModel` | MemUserSessionProvider.`addUserLoginFailure(RealmModel realm, String username)`
    `ClientSessionModel` | MemUserSessionProvider.`createClientSession(RealmModel realm, ClientModel client)`
    `UserSessionModel` | MemUserSessionProvider.`createUserSession(RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe)`
    `int` | MemUserSessionProvider.`getActiveUserSessions(RealmModel realm, ClientModel client)`
    `ClientSessionModel` | MemUserSessionProvider.`getClientSession(RealmModel realm, String id)`
    `UsernameLoginFailureModel` | MemUserSessionProvider.`getUserLoginFailure(RealmModel realm, String username)`
    `UserSessionModel` | MemUserSessionProvider.`getUserSession(RealmModel realm, String id)`
    `List<UserSessionModel>` | MemUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | MemUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client, int firstResult, int maxResults)`
    `List<UserSessionModel>` | MemUserSessionProvider.`getUserSessions(RealmModel realm, UserModel user)`
    `void` | MemUserSessionProvider.`onClientRemoved(RealmModel realm, ClientModel client)`
    `void` | MemUserSessionProvider.`onRealmRemoved(RealmModel realm)`
    `void` | MemUserSessionProvider.`onUserRemoved(RealmModel realm, UserModel user)`
    `void` | MemUserSessionProvider.`removeExpiredUserSessions(RealmModel realm)`
    `void` | MemUserSessionProvider.`removeUserSession(RealmModel realm, UserSessionModel session)`
    `void` | MemUserSessionProvider.`removeUserSessions(RealmModel realm)`
    `void` | MemUserSessionProvider.`removeUserSessions(RealmModel realm, UserModel user)`

    Constructors in org.keycloak.models.sessions.mem with parameters of type RealmModel
    Constructor and Description
    `ClientSessionAdapter(KeycloakSession session, MemUserSessionProvider provider, RealmModel realm, ClientSessionEntity entity)`
    `UserSessionAdapter(KeycloakSession session, MemUserSessionProvider provider, RealmModel realm, UserSessionEntity entity)`

  - ### Uses of RealmModel in org.keycloak.models.sessions.mongo

    Methods in org.keycloak.models.sessions.mongo that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | ClientSessionAdapter.`getRealm()`

    Methods in org.keycloak.models.sessions.mongo with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `UsernameLoginFailureModel` | MongoUserSessionProvider.`addUserLoginFailure(RealmModel realm, String username)`
    `ClientSessionModel` | MongoUserSessionProvider.`createClientSession(RealmModel realm, ClientModel client)`
    `UserSessionModel` | MongoUserSessionProvider.`createUserSession(RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe)`
    `int` | MongoUserSessionProvider.`getActiveUserSessions(RealmModel realm, ClientModel client)`
    `ClientSessionModel` | MongoUserSessionProvider.`getClientSession(RealmModel realm, String id)`
    `UsernameLoginFailureModel` | MongoUserSessionProvider.`getUserLoginFailure(RealmModel realm, String username)`
    `UserSessionModel` | MongoUserSessionProvider.`getUserSession(RealmModel realm, String id)`
    `List<UserSessionModel>` | MongoUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | MongoUserSessionProvider.`getUserSessions(RealmModel realm, ClientModel client, int firstResult, int maxResults)`
    `List<UserSessionModel>` | MongoUserSessionProvider.`getUserSessions(RealmModel realm, UserModel user)`
    `void` | MongoUserSessionProvider.`onClientRemoved(RealmModel realm, ClientModel client)`
    `void` | MongoUserSessionProvider.`onRealmRemoved(RealmModel realm)`
    `void` | MongoUserSessionProvider.`onUserRemoved(RealmModel realm, UserModel user)`
    `void` | MongoUserSessionProvider.`removeExpiredUserSessions(RealmModel realm)`
    `void` | MongoUserSessionProvider.`removeUserSession(RealmModel realm, UserSessionModel session)`
    `void` | MongoUserSessionProvider.`removeUserSessions(RealmModel realm)`
    `void` | MongoUserSessionProvider.`removeUserSessions(RealmModel realm, UserModel user)`

    Constructors in org.keycloak.models.sessions.mongo with parameters of type RealmModel
    Constructor and Description
    `ClientSessionAdapter(KeycloakSession session, MongoUserSessionProvider provider, RealmModel realm, MongoClientSessionEntity entity, MongoStoreInvocationContext invContext)`
    `UserSessionAdapter(KeycloakSession keycloakSession, MongoUserSessionProvider provider, MongoUserSessionEntity entity, RealmModel realm, MongoStoreInvocationContext invContext)`

  - ### Uses of RealmModel in org.keycloak.models.utils

    Methods in org.keycloak.models.utils with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static void` | RepresentationToModel.`addRequiredCredential(RealmModel newRealm, String requiredCred)`
    `static ApplicationModel` | RepresentationToModel.`createApplication(RealmModel realm, ApplicationRepresentation resourceRep, boolean addDefaultRoles)` Does not create scope or role mappings!
    `static ApplicationModel` | KeycloakModelUtils.`createApplication(RealmModel realm, String name)`
    `static void` | RepresentationToModel.`createApplicationScopeMappings(RealmModel realm, ApplicationModel applicationModel, List<ScopeMappingRepresentation> mappings)`
    `static OAuthClientModel` | RepresentationToModel.`createOAuthClient(OAuthClientRepresentation rep, RealmModel realm)`
    `static OAuthClientModel` | RepresentationToModel.`createOAuthClient(String id, String name, RealmModel realm)`
    `static void` | RepresentationToModel.`createRole(RealmModel newRealm, RoleRepresentation roleRep)`
    `static UserModel` | RepresentationToModel.`createUser(KeycloakSession session, RealmModel newRealm, UserRepresentation userRep, Map<String,ApplicationModel> appMap)`
    `static UserModel` | KeycloakModelUtils.`findUserByNameOrEmail(KeycloakSession session, RealmModel realm, String username)` Try to find user by given username.
    `static void` | KeycloakModelUtils.`generateRealmCertificate(RealmModel realm)`
    `static void` | KeycloakModelUtils.`generateRealmKeys(RealmModel realm)`
    `static String` | KeycloakModelUtils.`getMasterRealmAdminApplicationName(RealmModel realm)`
    `static void` | RepresentationToModel.`importRealm(KeycloakSession session, RealmRepresentation rep, RealmModel newRealm)`
    `static RealmEventsConfigRepresentation` | ModelToRepresentation.`toEventsConfigReprensetation(RealmModel realm)`
    `static RealmRepresentation` | ModelToRepresentation.`toRepresentation(RealmModel realm, boolean internal)`
    `static void` | RepresentationToModel.`updateRealm(RealmRepresentation rep, RealmModel realm)`
    `static boolean` | CredentialValidation.`validCredentials(RealmModel realm, UserModel user, List<UserCredentialModel> credentials)` Must validate all credentials.
    `static boolean` | CredentialValidation.`validCredentials(RealmModel realm, UserModel user, UserCredentialModel... credentials)` Must validate all credentials.
    `static boolean` | CredentialValidation.`validPassword(RealmModel realm, UserModel user, String password)` Will update password if hash iteration policy has changed
    `static boolean` | CredentialValidation.`validPasswordToken(RealmModel realm, UserModel user, String encodedPasswordToken)`
    `static boolean` | CredentialValidation.`validSecret(RealmModel realm, UserModel user, String secret)`
    `static boolean` | CredentialValidation.`validTOTP(RealmModel realm, UserModel user, String otp)`

  - ### Uses of RealmModel in org.keycloak.protocol

    Methods in org.keycloak.protocol with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `Object` | LoginProtocolFactory.`createProtocolEndpoint(RealmModel realm, EventBuilder event, AuthenticationManager authManager)`
    `LoginProtocol` | LoginProtocol.`setRealm(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.protocol.oidc

    Fields in org.keycloak.protocol.oidc declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | OpenIDConnectService.`realm`
    `protected RealmModel` | OpenIDConnect.`realm`

    Methods in org.keycloak.protocol.oidc with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static ClientModel` | OpenIDConnectService.`authorizeClientBase(String authorizationHeader, javax.ws.rs.core.MultivaluedMap<String,String> formData, EventBuilder event, RealmModel realm)`
    `AccessToken` | TokenManager.`createClientAccessToken(Set<RoleModel> requestedRoles, RealmModel realm, ClientModel client, UserModel user, UserSessionModel session)`
    `Object` | OpenIDConnectFactory.`createProtocolEndpoint(RealmModel realm, EventBuilder event, AuthenticationManager authManager)`
    `String` | TokenManager.`encodeToken(RealmModel realm, Object token)`
    `static Set<String>` | OpenIDConnectService.`getValidateRedirectUris(RealmModel realm)`
    `protected IDToken` | TokenManager.`initIDToken(RealmModel realm, ClientModel claimer, UserModel client, UserModel user)`
    `protected AccessToken` | TokenManager.`initToken(RealmModel realm, ClientModel client, UserModel user, UserSessionModel session)`
    `AccessToken` | TokenManager.`refreshAccessToken(KeycloakSession session, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, RealmModel realm, ClientModel client, String encodedRefreshToken, EventBuilder event)`
    `TokenManager.AccessTokenResponseBuilder` | TokenManager.`responseBuilder(RealmModel realm, ClientModel client, EventBuilder event)`
    `OpenIDConnect` | OpenIDConnect.`setRealm(RealmModel realm)`
    `void` | TokenManager.`verifyAccess(AccessToken token, RealmModel realm, ClientModel client, UserModel user)`
    `static String` | OpenIDConnectService.`verifyRealmRedirectUri(javax.ws.rs.core.UriInfo uriInfo, String redirectUri, RealmModel realm)`
    `static String` | OpenIDConnectService.`verifyRedirectUri(javax.ws.rs.core.UriInfo uriInfo, String redirectUri, RealmModel realm, ClientModel client)`
    `static String` | OpenIDConnectService.`verifyRedirectUri(javax.ws.rs.core.UriInfo uriInfo, String redirectUri, RealmModel realm, Set<String> validRedirects)`
    `RefreshToken` | TokenManager.`verifyRefreshToken(RealmModel realm, String encodedRefreshToken)`

    Constructors in org.keycloak.protocol.oidc with parameters of type RealmModel
    Constructor and Description
    `OpenIDConnect(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo)`
    `OpenIDConnectService(RealmModel realm, EventBuilder event, AuthenticationManager authManager)`
    `TokenManager.AccessTokenResponseBuilder(RealmModel realm, ClientModel client, EventBuilder event)`

  - ### Uses of RealmModel in org.keycloak.protocol.saml

    Fields in org.keycloak.protocol.saml declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | SamlService.`realm`
    `protected RealmModel` | SamlProtocol.`realm`
    `protected RealmModel` | EntityDescriptorImporterService.`realm`

    Methods in org.keycloak.protocol.saml with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `Object` | EntityDescriptorImporter.`createJaxrsService(RealmModel realm, RealmAuth auth)`
    `Object` | SamlProtocolFactory.`createProtocolEndpoint(RealmModel realm, EventBuilder event, AuthenticationManager authManager)`
    `protected String` | SamlProtocol.`getResponseIssuer(RealmModel realm)`
    `static void` | EntityDescriptorImporterService.`loadEntityDescriptors(InputStream is, RealmModel realm)`
    `SamlProtocol` | SamlProtocol.`setRealm(RealmModel realm)`

    Constructors in org.keycloak.protocol.saml with parameters of type RealmModel
    Constructor and Description
    `EntityDescriptorImporterService(RealmModel realm, RealmAuth auth)`
    `SamlService(RealmModel realm, EventBuilder event, AuthenticationManager authManager)`

  - ### Uses of RealmModel in org.keycloak.services.managers

    Methods in org.keycloak.services.managers that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `RealmModel` | RealmManager.`createRealm(String name)`
    `RealmModel` | RealmManager.`createRealm(String id, String name)`
    `RealmModel` | RealmManager.`getKeycloakAdminstrationRealm()`
    `RealmModel` | Auth.`getRealm()`
    `RealmModel` | RealmManager.`getRealm(String id)`
    `RealmModel` | RealmManager.`getRealmByName(String name)`
    `protected RealmModel` | BruteForceProtector.`getRealmModel(KeycloakSession session, BruteForceProtector.LoginEvent event)`
    `RealmModel` | RealmManager.`importRealm(RealmRepresentation rep)`

    Methods in org.keycloak.services.managers with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `AuthenticationManager.AuthResult` | AppAuthManager.`authenticateBearerToken(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers)`
    `AuthenticationManager.AuthenticationStatus` | AuthenticationManager.`authenticateForm(KeycloakSession session, ClientConnection clientConnection, RealmModel realm, javax.ws.rs.core.MultivaluedMap<String,String> formData)`
    `AuthenticationManager.AuthResult` | AuthenticationManager.`authenticateIdentityCookie(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers)`
    `AuthenticationManager.AuthResult` | AppAuthManager.`authenticateIdentityCookie(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers)`
    `AuthenticationManager.AuthResult` | AuthenticationManager.`authenticateIdentityCookie(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers, boolean checkActive)`
    `protected AuthenticationManager.AuthenticationStatus` | AuthenticationManager.`authenticateInternal(KeycloakSession session, RealmModel realm, javax.ws.rs.core.MultivaluedMap<String,String> formData, String username)`
    `javax.ws.rs.core.Response` | AuthenticationManager.`checkNonFormAuthentication(KeycloakSession session, ClientSessionModel clientSession, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, org.jboss.resteasy.spi.HttpRequest request, ClientConnection clientConnection, javax.ws.rs.core.HttpHeaders headers, EventBuilder event)`
    `ApplicationModel` | ApplicationManager.`createApplication(RealmModel realm, String name)`
    `static AccessToken` | AuthenticationManager.`createIdentityToken(RealmModel realm, UserModel user, UserSessionModel session)`
    `static void` | AuthenticationManager.`createLoginCookie(RealmModel realm, UserModel user, UserSessionModel session, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection)`
    `static void` | AuthenticationManager.`createRememberMeCookie(RealmModel realm, String username, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection)`
    `protected static String` | AuthenticationManager.`encodeToken(RealmModel realm, Object token)`
    `static void` | AuthenticationManager.`expireCookie(RealmModel realm, String cookieName, String path, boolean httpOnly, ClientConnection connection)`
    `static void` | AuthenticationManager.`expireIdentityCookie(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection)`
    `static void` | AuthenticationManager.`expireRememberMeCookie(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection)`
    `void` | BruteForceProtector.`failedLogin(RealmModel realm, String username, ClientConnection clientConnection)`
    `protected static String` | AuthenticationManager.`getIdentityCookiePath(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo)`
    `String` | RealmManager.`getRealmAdminApplicationName(RealmModel realm)`
    `static String` | AuthenticationManager.`getRealmCookiePath(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo)`
    `static String` | AuthenticationManager.`getRememberMeUsername(RealmModel realm, javax.ws.rs.core.HttpHeaders headers)`
    `void` | BruteForceProtector.`invalidUser(RealmModel realm, String username, ClientConnection clientConnection)`
    `protected static void` | AuthenticationManager.`isEmailVerificationRequired(RealmModel realm, UserModel user)`
    `static boolean` | AuthenticationManager.`isSessionValid(RealmModel realm, UserSessionModel userSession)`
    `boolean` | BruteForceProtector.`isTemporarilyDisabled(KeycloakSession session, RealmModel realm, String username)`
    `protected static void` | AuthenticationManager.`isTotpConfigurationRequired(RealmModel realm, UserModel user)`
    `static void` | AuthenticationManager.`logout(KeycloakSession session, RealmModel realm, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection)`
    `GlobalRequestResult` | ResourceAdminManager.`logoutAll(URI requestUri, RealmModel realm)`
    `GlobalRequestResult` | ResourceAdminManager.`logoutApplication(URI requestUri, RealmModel realm, ApplicationModel resource)`
    `protected GlobalRequestResult` | ResourceAdminManager.`logoutApplication(URI requestUri, RealmModel realm, ApplicationModel resource, org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor executor, int notBefore)`
    `boolean` | ResourceAdminManager.`logoutClientSession(URI requestUri, RealmModel realm, ApplicationModel resource, ClientSessionModel clientSession, org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor client)`
    `protected boolean` | ResourceAdminManager.`logoutClientSessions(URI requestUri, RealmModel realm, ApplicationModel resource, List<ClientSessionModel> clientSessions, org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor client)`
    `void` | ResourceAdminManager.`logoutSession(URI requestUri, RealmModel realm, UserSessionModel session)`
    `void` | ResourceAdminManager.`logoutUser(URI requestUri, RealmModel realm, UserModel user, KeycloakSession keycloakSession)`
    `void` | ResourceAdminManager.`logoutUserFromApplication(URI requestUri, RealmModel realm, ApplicationModel resource, UserModel user, KeycloakSession session)`
    `protected void` | ResourceAdminManager.`logoutUserSessions(URI requestUri, RealmModel realm, List<UserSessionModel> userSessions)`
    `static ClientSessionCode` | ClientSessionCode.`parse(String code, KeycloakSession session, RealmModel realm)`
    `GlobalRequestResult` | ResourceAdminManager.`pushApplicationRevocationPolicy(URI requestUri, RealmModel realm, ApplicationModel application)`
    `GlobalRequestResult` | ResourceAdminManager.`pushRealmRevocationPolicy(URI requestUri, RealmModel realm)`
    `protected GlobalRequestResult` | ResourceAdminManager.`pushRevocationPolicy(URI requestUri, RealmModel realm, ApplicationModel resource, int notBefore, org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor executor)`
    `static javax.ws.rs.core.Response` | AuthenticationManager.`redirectAfterSuccessfulFlow(KeycloakSession session, RealmModel realm, UserSessionModel userSession, ClientSessionModel clientSession, org.jboss.resteasy.spi.HttpRequest request, javax.ws.rs.core.UriInfo uriInfo, ClientConnection clientConnection)`
    `boolean` | ApplicationManager.`removeApplication(RealmModel realm, ApplicationModel application)`
    `boolean` | OAuthClientManager.`removeClient(RealmModel realm, OAuthClientModel client)`
    `boolean` | RealmManager.`removeRealm(RealmModel realm)`
    `boolean` | UserManager.`removeUser(RealmModel realm, UserModel user)`
    `List<UserModel>` | RealmManager.`searchUsers(String searchString, RealmModel realmModel)` Query users based on a search string: "Bill Burke" first and last name "bburke@redhat.com" email "Burke" lastname or username
    `protected boolean` | ResourceAdminManager.`sendLogoutRequest(RealmModel realm, ApplicationModel resource, List<String> adapterSessionIds, org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor client, int notBefore, String managementUrl)`
    `protected boolean` | ResourceAdminManager.`sendPushRevocationPolicyRequest(RealmModel realm, ApplicationModel resource, int notBefore, org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor client, String managementUrl)`
    `protected boolean` | ResourceAdminManager.`sendTestNodeAvailabilityRequest(RealmModel realm, ApplicationModel application, org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor client, String managementUrl)`
    `protected void` | RealmManager.`setupAdminConsole(RealmModel realm)`
    `protected void` | RealmManager.`setupRealmDefaults(RealmModel realm)`
    `void` | BruteForceProtector.`successfulLogin(RealmModel realm, String username, ClientConnection clientConnection)`
    `GlobalRequestResult` | ResourceAdminManager.`testNodesAvailability(URI requestUri, RealmModel realm, ApplicationModel application)`
    `ApplicationManager.InstallationAdapterConfig` | ApplicationManager.`toInstallationRepresentation(RealmModel realmModel, ApplicationModel applicationModel, URI baseUri)`
    `OAuthClientManager.InstallationAdapterConfig` | OAuthClientManager.`toInstallationRepresentation(RealmModel realmModel, OAuthClientModel model, URI baseUri)`
    `String` | ApplicationManager.`toJBossSubsystemConfig(RealmModel realmModel, ApplicationModel applicationModel, URI baseUri)`
    `void` | RealmManager.`updateRealmEventsConfig(RealmEventsConfigRepresentation rep, RealmModel realm)`
    `protected AuthenticationManager.AuthResult` | AuthenticationManager.`verifyIdentityToken(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, boolean checkActive, String tokenString)`

    Constructors in org.keycloak.services.managers with parameters of type RealmModel
    Constructor and Description
    `Auth(RealmModel realm, AccessToken token, UserModel user, ClientModel client, UserSessionModel session, boolean cookie)`
    `ClientSessionCode(RealmModel realm, ClientSessionModel clientSession)`
    `EventsManager(RealmModel realm, KeycloakSession session, ClientConnection clientConnection)`

  - ### Uses of RealmModel in org.keycloak.services.resources

    Fields in org.keycloak.services.resources declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | PublicRealmResource.`realm`

    Methods in org.keycloak.services.resources that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `protected RealmModel` | RealmsResource.`locateRealm(String name, RealmManager realmManager)`

    Methods in org.keycloak.services.resources with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static PublishedRealmRepresentation` | PublicRealmResource.`realmRep(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo)`

    Constructors in org.keycloak.services.resources with parameters of type RealmModel
    Constructor and Description
    `AccountService(RealmModel realm, ApplicationModel application, EventBuilder event)`
    `ClientsManagementService(RealmModel realm, EventBuilder event)`
    `LoginActionsService(RealmModel realm, AuthenticationManager authManager, EventBuilder event)`
    `PublicRealmResource(RealmModel realm)`

  - ### Uses of RealmModel in org.keycloak.services.resources.admin

    Fields in org.keycloak.services.resources.admin declared as RealmModel
    Modifier and Type | Field and Description
    --- | ---
    `protected RealmModel` | UsersResource.`realm`
    `protected RealmModel` | UserFederationResource.`realm`
    `protected RealmModel` | UserApplicationRoleMappingsResource.`realm`
    `protected RealmModel` | ScopeMappedResource.`realm`
    `protected RealmModel` | ScopeMappedApplicationResource.`realm`
    `protected RealmModel` | RoleResource.`realm`
    `protected RealmModel` | RealmAdminResource.`realm`
    `protected RealmModel` | OAuthClientsResource.`realm`
    `protected RealmModel` | OAuthClientResource.`realm`
    `protected RealmModel` | ClientAttributeCertificateResource.`realm`
    `protected RealmModel` | ApplicationsResource.`realm`
    `protected RealmModel` | ApplicationResource.`realm`
    `protected RealmModel` | AdminConsole.`realm`

    Methods in org.keycloak.services.resources.admin that return RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `protected RealmModel` | AdminConsole.`getAdminstrationRealm(RealmManager realmManager)`
    `RealmModel` | AdminAuth.`getRealm()`
    `protected RealmModel` | AdminRoot.`locateRealm(String name, RealmManager realmManager)`

    Methods in org.keycloak.services.resources.admin with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | RealmsAdminResource.`addRealmRep(List<RealmRepresentation> reps, RealmModel realm, ApplicationModel realmManagementApplication)`

    Constructors in org.keycloak.services.resources.admin with parameters of type RealmModel
    Constructor and Description
    `AdminAuth(RealmModel realm, AccessToken token, UserModel user, ClientModel client)`
    `AdminConsole(RealmModel realm)`
    `ApplicationResource(RealmModel realm, RealmAuth auth, ApplicationModel applicationModel, KeycloakSession session)`
    `ApplicationsByIdResource(RealmModel realm, RealmAuth auth)`
    `ApplicationsResource(RealmModel realm, RealmAuth auth)`
    `ClientAttributeCertificateResource(RealmModel realm, RealmAuth auth, ClientModel client, KeycloakSession session, String attributePrefix)`
    `OAuthClientResource(RealmModel realm, RealmAuth auth, OAuthClientModel oauthClient, KeycloakSession session)`
    `OAuthClientsByIdResource(RealmModel realm, RealmAuth auth, KeycloakSession session)`
    `OAuthClientsResource(RealmModel realm, RealmAuth auth, KeycloakSession session)`
    `RealmAdminResource(RealmAuth auth, RealmModel realm, TokenManager tokenManager)`
    `RoleByIdResource(RealmModel realm, RealmAuth auth)`
    `RoleContainerResource(RealmModel realm, RealmAuth auth, RoleContainerModel roleContainer)`
    `RoleResource(RealmModel realm)`
    `ScopeMappedApplicationResource(RealmModel realm, RealmAuth auth, ClientModel client, KeycloakSession session, ApplicationModel app)`
    `ScopeMappedResource(RealmModel realm, RealmAuth auth, ClientModel client, KeycloakSession session)`
    `UserApplicationRoleMappingsResource(RealmModel realm, RealmAuth auth, UserModel user, ApplicationModel application)`
    `UserFederationResource(RealmModel realm, RealmAuth auth)`
    `UsersResource(RealmModel realm, RealmAuth auth, TokenManager tokenManager)`

  - ### Uses of RealmModel in org.keycloak.services.resources.flows

    Methods in org.keycloak.services.resources.flows with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `static LoginFormsProvider` | Flows.`forms(KeycloakSession session, RealmModel realm, ClientModel client, javax.ws.rs.core.UriInfo uriInfo)`
    `static javax.ws.rs.core.Response` | Flows.`forwardToSecurityFailurePage(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, String message)`
    `static SocialRedirectFlows` | Flows.`social(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection clientConnection, SocialProvider provider)`

  - ### Uses of RealmModel in org.keycloak.test.tools.jobs

    Methods in org.keycloak.test.tools.jobs with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract void` | UsersJob.`runIteration(KeycloakSession session, RealmModel realm, Map<String,ApplicationModel> apps, Set<RoleModel> realmRoles, Map<String,Set<RoleModel>> appRoles, int counter)`
    `protected void` | UpdateUsersJob.`runIteration(KeycloakSession session, RealmModel realm, Map<String,ApplicationModel> apps, Set<RoleModel> realmRoles, Map<String,Set<RoleModel>> appRoles, int counter)`
    `protected void` | DeleteUsersJob.`runIteration(KeycloakSession session, RealmModel realm, Map<String,ApplicationModel> apps, Set<RoleModel> realmRoles, Map<String,Set<RoleModel>> appRoles, int counter)`
    `protected void` | CreateUsersJob.`runIteration(KeycloakSession session, RealmModel realm, Map<String,ApplicationModel> apps, Set<RoleModel> realmRoles, Map<String,Set<RoleModel>> appRoles, int counter)`

  - ### Uses of RealmModel in org.keycloak.testutils

    Methods in org.keycloak.testutils with parameters of type RealmModel
    Modifier and Type | Method and Description
    --- | ---
    `UserModel` | DummyUserFederationProvider.`getUserByEmail(RealmModel realm, String email)`
    `UserModel` | DummyUserFederationProvider.`getUserByUsername(RealmModel realm, String username)`
    `void` | DummyUserFederationProvider.`preRemove(RealmModel realm)`
    `void` | DummyUserFederationProvider.`preRemove(RealmModel realm, RoleModel role)`
    `UserModel` | DummyUserFederationProvider.`register(RealmModel realm, UserModel user)`
    `boolean` | DummyUserFederationProvider.`removeUser(RealmModel realm, UserModel user)`
    `List<UserModel>` | DummyUserFederationProvider.`searchByAttributes(Map<String,String> attributes, RealmModel realm, int maxResults)`
    `boolean` | DummyUserFederationProvider.`validCredentials(RealmModel realm, UserModel user, List<UserCredentialModel> input)`
    `boolean` | DummyUserFederationProvider.`validCredentials(RealmModel realm, UserModel user, UserCredentialModel... input)`

Copyright © 2014. All Rights Reserved.