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

- Packages that use KeycloakSessionFactory
  Package | Description
  --- | ---
  org.keycloak.examples.federation.properties |
  org.keycloak.exportimport |
  org.keycloak.exportimport.dir |
  org.keycloak.exportimport.singlefile |
  org.keycloak.exportimport.util |
  org.keycloak.exportimport.zip |
  org.keycloak.federation.ldap |
  org.keycloak.models |
  org.keycloak.models.utils |
  org.keycloak.services |
  org.keycloak.services.managers |
  org.keycloak.services.resources |
  org.keycloak.services.scheduled |
  org.keycloak.test.tools |
  org.keycloak.test.tools.jobs |
  org.keycloak.testsuite.performance.web |
  org.keycloak.testutils |

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

    Methods in org.keycloak.examples.federation.properties with parameters of type KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | BasePropertiesFederationFactory.`syncAllUsers(KeycloakSessionFactory sessionFactory, String realmId, UserFederationProviderModel model)`
    `void` | BasePropertiesFederationFactory.`syncChangedUsers(KeycloakSessionFactory sessionFactory, String realmId, UserFederationProviderModel model, Date lastSync)`

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

    Methods in org.keycloak.exportimport with parameters of type KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | ExportImportManager.`checkExportImport(KeycloakSessionFactory sessionFactory)`
    `void` | ExportProvider.`exportModel(KeycloakSessionFactory factory)`
    `void` | ExportProvider.`exportRealm(KeycloakSessionFactory factory, String realmName)`
    `void` | ImportProvider.`importModel(KeycloakSessionFactory factory, Strategy strategy)`
    `void` | ImportProvider.`importRealm(KeycloakSessionFactory factory, String realmName, Strategy strategy)`

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

    Methods in org.keycloak.exportimport.dir with parameters of type KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | DirImportProvider.`importModel(KeycloakSessionFactory factory, Strategy strategy)`
    `void` | DirImportProvider.`importRealm(KeycloakSessionFactory factory, String realmName, Strategy strategy)`

  - ### Uses of KeycloakSessionFactory in org.keycloak.exportimport.singlefile

    Methods in org.keycloak.exportimport.singlefile with parameters of type KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | SingleFileExportProvider.`exportModel(KeycloakSessionFactory factory)`
    `void` | SingleFileExportProvider.`exportRealm(KeycloakSessionFactory factory, String realmName)`
    `void` | SingleFileImportProvider.`importModel(KeycloakSessionFactory factory, Strategy strategy)`
    `void` | SingleFileImportProvider.`importRealm(KeycloakSessionFactory factory, String realmName, Strategy strategy)`

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

    Methods in org.keycloak.exportimport.util with parameters of type KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | MultipleStepsExportProvider.`exportModel(KeycloakSessionFactory factory)`
    `void` | MultipleStepsExportProvider.`exportRealm(KeycloakSessionFactory factory, String realmName)`
    `protected void` | MultipleStepsExportProvider.`exportRealmImpl(KeycloakSessionFactory factory, String realmName)`

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

    Methods in org.keycloak.exportimport.zip with parameters of type KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | ZipImportProvider.`importModel(KeycloakSessionFactory factory, Strategy strategy)`
    `void` | ZipImportProvider.`importRealm(KeycloakSessionFactory factory, String realmName, Strategy strategy)`

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

    Methods in org.keycloak.federation.ldap with parameters of type KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | LDAPFederationProviderFactory.`syncAllUsers(KeycloakSessionFactory sessionFactory, String realmId, UserFederationProviderModel model)`
    `void` | LDAPFederationProviderFactory.`syncChangedUsers(KeycloakSessionFactory sessionFactory, String realmId, UserFederationProviderModel model, Date lastSync)`
    `protected void` | LDAPFederationProviderFactory.`syncImpl(KeycloakSessionFactory sessionFactory, org.picketlink.idm.query.IdentityQuery<org.picketlink.idm.model.basic.User> userQuery, String realmId, UserFederationProviderModel fedModel)`

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

    Methods in org.keycloak.models that return KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `KeycloakSessionFactory` | KeycloakSession.`getKeycloakSessionFactory()`

    Methods in org.keycloak.models with parameters of type KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | UserFederationProviderFactory.`syncAllUsers(KeycloakSessionFactory sessionFactory, String realmId, UserFederationProviderModel model)` Sync all users from the provider storage to Keycloak storage.
    `void` | UserFederationProviderFactory.`syncChangedUsers(KeycloakSessionFactory sessionFactory, String realmId, UserFederationProviderModel model, Date lastSync)` Sync just changed (added / updated / removed) users from the provider storage to Keycloak storage.

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

    Methods in org.keycloak.models.utils with parameters of type KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `static void` | KeycloakModelUtils.`runJobInTransaction(KeycloakSessionFactory factory, KeycloakSessionTask task)` Wrap given runnable job into KeycloakTransaction.

  - ### Uses of KeycloakSessionFactory in org.keycloak.services

    Classes in org.keycloak.services that implement KeycloakSessionFactory
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultKeycloakSessionFactory`

    Methods in org.keycloak.services that return KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `KeycloakSessionFactory` | DefaultKeycloakSession.`getKeycloakSessionFactory()`

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

    Fields in org.keycloak.services.managers declared as KeycloakSessionFactory
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSessionFactory` | BruteForceProtector.`factory`

    Methods in org.keycloak.services.managers with parameters of type KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | ApplianceBootstrap.`bootstrap(KeycloakSessionFactory sessionFactory, String contextPath)`
    `void` | UsersSyncManager.`bootstrapPeriodic(KeycloakSessionFactory sessionFactory, TimerProvider timer)` Check federationProviderModel of all realms and possibly start periodic sync for them
    `void` | UsersSyncManager.`refreshPeriodicSyncForProvider(KeycloakSessionFactory sessionFactory, TimerProvider timer, UserFederationProviderModel fedProvider, String realmId)`
    `void` | UsersSyncManager.`syncAllUsers(KeycloakSessionFactory sessionFactory, String realmId, UserFederationProviderModel fedProvider)`
    `void` | UsersSyncManager.`syncChangedUsers(KeycloakSessionFactory sessionFactory, String realmId, UserFederationProviderModel fedProvider)`

    Constructors in org.keycloak.services.managers with parameters of type KeycloakSessionFactory
    Constructor and Description
    `BruteForceProtector(KeycloakSessionFactory factory)`

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

    Fields in org.keycloak.services.resources declared as KeycloakSessionFactory
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSessionFactory` | KeycloakApplication.`sessionFactory`

    Methods in org.keycloak.services.resources that return KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `static KeycloakSessionFactory` | KeycloakApplication.`createSessionFactory()`
    `KeycloakSessionFactory` | KeycloakApplication.`getSessionFactory()`

    Methods in org.keycloak.services.resources with parameters of type KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `static void` | KeycloakApplication.`setupScheduledTasks(KeycloakSessionFactory sessionFactory)`

  - ### Uses of KeycloakSessionFactory in org.keycloak.services.scheduled

    Constructors in org.keycloak.services.scheduled with parameters of type KeycloakSessionFactory
    Constructor and Description
    `ScheduledTaskRunner(KeycloakSessionFactory sessionFactory, ScheduledTask task)`

  - ### Uses of KeycloakSessionFactory in org.keycloak.test.tools

    Fields in org.keycloak.test.tools declared as KeycloakSessionFactory
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSessionFactory` | KeycloakTestApplication.`sessionFactory`

    Constructors in org.keycloak.test.tools with parameters of type KeycloakSessionFactory
    Constructor and Description
    `PerfTools(KeycloakSessionFactory sessionFactory)`

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

    Fields in org.keycloak.test.tools.jobs declared as KeycloakSessionFactory
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSessionFactory` | UsersJob.`sessionFactory`

    Methods in org.keycloak.test.tools.jobs with parameters of type KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | UsersJob.`init(PerfTools.JobRepresentation job, KeycloakSessionFactory sessionFactory, String realmName, int start, int count, String prefix, CountDownLatch latch)`

  - ### Uses of KeycloakSessionFactory in org.keycloak.testsuite.performance.web

    Fields in org.keycloak.testsuite.performance.web declared as KeycloakSessionFactory
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSessionFactory` | KeycloakToolsApplication.`keycloakSessionFactory`

    Methods in org.keycloak.testsuite.performance.web that return KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `static KeycloakSessionFactory` | KeycloakSessionFactoryHolder.`getKeycloakSessionFactory()`

    Methods in org.keycloak.testsuite.performance.web with parameters of type KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `static void` | KeycloakSessionFactoryHolder.`setKeycloakSessionFactory(KeycloakSessionFactory keycloakSessionFactory)`

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

    Methods in org.keycloak.testutils that return KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `KeycloakSessionFactory` | KeycloakServer.`getSessionFactory()`

    Methods in org.keycloak.testutils with parameters of type KeycloakSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | DummyUserFederationProviderFactory.`syncAllUsers(KeycloakSessionFactory sessionFactory, String realmId, UserFederationProviderModel model)`
    `void` | DummyUserFederationProviderFactory.`syncChangedUsers(KeycloakSessionFactory sessionFactory, String realmId, UserFederationProviderModel model, Date lastSync)`

Copyright © 2015. All Rights Reserved.