use of org.keycloak.quarkus.runtime.integration.QuarkusKeycloakSessionFactory in project keycloak by keycloak.
the class KeycloakRecorder method configSessionFactory.
public void configSessionFactory(Map<Spi, Map<Class<? extends Provider>, Map<String, Class<? extends ProviderFactory>>>> factories, Map<Class<? extends Provider>, String> defaultProviders, Map<String, ProviderFactory> preConfiguredProviders, Boolean reaugmented) {
Profile.setInstance(new QuarkusProfile());
QuarkusKeycloakSessionFactory.setInstance(new QuarkusKeycloakSessionFactory(factories, defaultProviders, preConfiguredProviders, reaugmented));
}
use of org.keycloak.quarkus.runtime.integration.QuarkusKeycloakSessionFactory in project keycloak by keycloak.
the class QuarkusKeycloakApplication method initializeKeycloakSessionFactory.
private void initializeKeycloakSessionFactory() {
QuarkusKeycloakSessionFactory instance = QuarkusKeycloakSessionFactory.getInstance();
sessionFactory = instance;
instance.init();
sessionFactory.publish(new PostMigrationEvent());
}
Aggregations