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

- Packages that use ApplicationModel
  Package | Description
  --- | ---
  org.keycloak.exportimport.util |
  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.utils |
  org.keycloak.services.managers |
  org.keycloak.services.resources |
  org.keycloak.services.resources.admin |
  org.keycloak.test.tools.jobs |

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

    Methods in org.keycloak.exportimport.util with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `static ApplicationRepresentation` | ExportUtils.`exportApplication(ApplicationModel app)` Full export of application including claims and secret

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

    Methods in org.keycloak.models that return ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `ApplicationModel` | RealmModel.`addApplication(String name)`
    `ApplicationModel` | RealmModel.`addApplication(String id, String name)`
    `ApplicationModel` | RealmModel.`getApplicationById(String id)`
    `ApplicationModel` | RealmProvider.`getApplicationById(String id, RealmModel realm)`
    `ApplicationModel` | RealmModel.`getApplicationByName(String name)`
    `ApplicationModel` | RealmModel.`getMasterAdminApp()`

    Methods in org.keycloak.models that return types with arguments of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,ApplicationModel>` | RealmModel.`getApplicationNameMap()`
    `List<ApplicationModel>` | RealmModel.`getApplications()`

    Methods in org.keycloak.models with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<RoleModel>` | UserModel.`getApplicationRoleMappings(ApplicationModel app)`
    `void` | RealmModel.`setMasterAdminApp(ApplicationModel app)`

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

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

    Fields in org.keycloak.models.cache declared as ApplicationModel
    Modifier and Type | Field and Description
    --- | ---
    `protected ApplicationModel` | ApplicationAdapter.`updated`

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

    Methods in org.keycloak.models.cache that return ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `ApplicationModel` | RealmAdapter.`addApplication(String name)`
    `ApplicationModel` | RealmAdapter.`addApplication(String id, String name)`
    `ApplicationModel` | RealmAdapter.`getApplicationById(String id)`
    `ApplicationModel` | NoCacheRealmProvider.`getApplicationById(String id, RealmModel realm)`
    `ApplicationModel` | DefaultCacheRealmProvider.`getApplicationById(String id, RealmModel realm)`
    `ApplicationModel` | RealmAdapter.`getApplicationByName(String name)`
    `ApplicationModel` | RealmAdapter.`getMasterAdminApp()`

    Methods in org.keycloak.models.cache that return types with arguments of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,ApplicationModel>` | RealmAdapter.`getApplicationNameMap()`
    `List<ApplicationModel>` | RealmAdapter.`getApplications()`

    Methods in org.keycloak.models.cache with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<RoleModel>` | UserAdapter.`getApplicationRoleMappings(ApplicationModel app)`
    `void` | RealmAdapter.`setMasterAdminApp(ApplicationModel app)`

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

    Constructors in org.keycloak.models.cache.entities with parameters of type ApplicationModel
    Constructor and Description
    `CachedApplication(RealmCache cache, RealmProvider delegate, RealmModel realm, ApplicationModel model)`

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

    Methods in org.keycloak.models.jpa that return ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `ApplicationModel` | RealmAdapter.`addApplication(String name)`
    `ApplicationModel` | RealmAdapter.`addApplication(String id, String name)`
    `ApplicationModel` | RealmAdapter.`getApplicationById(String id)`
    `ApplicationModel` | JpaRealmProvider.`getApplicationById(String id, RealmModel realm)`
    `ApplicationModel` | RealmAdapter.`getApplicationByName(String name)`
    `ApplicationModel` | RealmAdapter.`getMasterAdminApp()`

    Methods in org.keycloak.models.jpa that return types with arguments of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,ApplicationModel>` | RealmAdapter.`getApplicationNameMap()`
    `List<ApplicationModel>` | RealmAdapter.`getApplications()`

    Methods in org.keycloak.models.jpa with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<RoleModel>` | UserAdapter.`getApplicationRoleMappings(ApplicationModel app)`
    `void` | RealmAdapter.`setMasterAdminApp(ApplicationModel app)`

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

    Methods in org.keycloak.models.mongo.keycloak.adapters that return ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `ApplicationModel` | RealmAdapter.`addApplication(String name)`
    `ApplicationModel` | RealmAdapter.`addApplication(String id, String name)`
    `ApplicationModel` | RealmAdapter.`getApplicationById(String id)`
    `ApplicationModel` | MongoRealmProvider.`getApplicationById(String id, RealmModel realm)`
    `ApplicationModel` | RealmAdapter.`getApplicationByName(String name)`
    `ApplicationModel` | RealmAdapter.`getMasterAdminApp()`

    Methods in org.keycloak.models.mongo.keycloak.adapters that return types with arguments of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,ApplicationModel>` | RealmAdapter.`getApplicationNameMap()`
    `List<ApplicationModel>` | RealmAdapter.`getApplications()`

    Methods in org.keycloak.models.mongo.keycloak.adapters with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<RoleModel>` | UserAdapter.`getApplicationRoleMappings(ApplicationModel app)`
    `void` | RealmAdapter.`setMasterAdminApp(ApplicationModel app)`

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

    Methods in org.keycloak.models.utils that return ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `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)`

    Methods in org.keycloak.models.utils with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `static void` | RepresentationToModel.`createApplicationRoleMappings(ApplicationModel applicationModel, UserModel user, List<String> roleNames)`
    `static void` | RepresentationToModel.`createApplicationScopeMappings(RealmModel realm, ApplicationModel applicationModel, List<ScopeMappingRepresentation> mappings)`
    `Set<RoleModel>` | UserModelDelegate.`getApplicationRoleMappings(ApplicationModel app)`
    `static ApplicationRepresentation` | ModelToRepresentation.`toRepresentation(ApplicationModel applicationModel)`
    `static void` | RepresentationToModel.`updateApplication(ApplicationRepresentation rep, ApplicationModel resource)`

    Method parameters in org.keycloak.models.utils with type arguments of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `static UserModel` | RepresentationToModel.`createUser(KeycloakSession session, RealmModel newRealm, UserRepresentation userRep, Map<String,ApplicationModel> appMap)`

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

    Methods in org.keycloak.services.managers that return ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `ApplicationModel` | ApplicationManager.`createApplication(RealmModel realm, String name)`

    Methods in org.keycloak.services.managers with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `static String` | ResourceAdminManager.`getManagementUrl(URI requestUri, ApplicationModel application)`
    `boolean` | Auth.`hasAppRole(ApplicationModel app, String role)`
    `boolean` | Auth.`hasOneOfAppRole(ApplicationModel app, String... roles)`
    `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.`logoutUserFromApplication(URI requestUri, RealmModel realm, ApplicationModel resource, UserModel user, KeycloakSession session)`
    `GlobalRequestResult` | ResourceAdminManager.`pushApplicationRevocationPolicy(URI requestUri, RealmModel realm, ApplicationModel application)`
    `protected GlobalRequestResult` | ResourceAdminManager.`pushRevocationPolicy(URI requestUri, RealmModel realm, ApplicationModel resource, int notBefore, org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor executor)`
    `boolean` | ApplicationManager.`removeApplication(RealmModel realm, ApplicationModel application)`
    `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)`
    `GlobalRequestResult` | ResourceAdminManager.`testNodesAvailability(URI requestUri, RealmModel realm, ApplicationModel application)`
    `ApplicationManager.InstallationAdapterConfig` | ApplicationManager.`toInstallationRepresentation(RealmModel realmModel, ApplicationModel applicationModel, URI baseUri)`
    `String` | ApplicationManager.`toJBossSubsystemConfig(RealmModel realmModel, ApplicationModel applicationModel, URI baseUri)`
    `Set<String>` | ApplicationManager.`validateRegisteredNodes(ApplicationModel application)`

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

    Methods in org.keycloak.services.resources that return ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `protected ApplicationModel` | ClientsManagementService.`authorizeApplication(String authorizationHeader, javax.ws.rs.core.MultivaluedMap<String,String> formData)`

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

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

    Fields in org.keycloak.services.resources.admin declared as ApplicationModel
    Modifier and Type | Field and Description
    --- | ---
    `protected ApplicationModel` | ScopeMappedApplicationResource.`app`
    `protected ApplicationModel` | ApplicationResource.`application`
    `protected ApplicationModel` | UserApplicationRoleMappingsResource.`application`

    Methods in org.keycloak.services.resources.admin that return ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `protected ApplicationModel` | ApplicationsByIdResource.`getApplicationByPathParam(String id)`
    `protected ApplicationModel` | ApplicationsResource.`getApplicationByPathParam(String name)`

    Methods in org.keycloak.services.resources.admin with parameters of type ApplicationModel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | RealmsAdminResource.`addRealmRep(List<RealmRepresentation> reps, RealmModel realm, ApplicationModel realmManagementApplication)`
    `protected String` | ApplicationsByIdResource.`getApplicationPath(ApplicationModel applicationModel)`
    `protected String` | ApplicationsResource.`getApplicationPath(ApplicationModel applicationModel)`
    `protected Set<RoleRepresentation>` | RoleResource.`getApplicationRoleComposites(ApplicationModel app, RoleModel role)`
    `boolean` | AdminAuth.`hasAppRole(ApplicationModel app, String role)`
    `boolean` | AdminAuth.`hasOneOfAppRole(ApplicationModel app, String... roles)`

    Constructors in org.keycloak.services.resources.admin with parameters of type ApplicationModel
    Constructor and Description
    `ApplicationResource(RealmModel realm, RealmAuth auth, ApplicationModel applicationModel, KeycloakSession session)`
    `RealmAuth(AdminAuth auth, ApplicationModel realmAdminApp)`
    `ScopeMappedApplicationResource(RealmModel realm, RealmAuth auth, ClientModel client, KeycloakSession session, ApplicationModel app)`
    `UserApplicationRoleMappingsResource(RealmModel realm, RealmAuth auth, UserModel user, ApplicationModel application)`

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

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

Copyright © 2014. All Rights Reserved.