Run import before creating default realm

This commit is contained in:
Stian Thorgersen 2014-05-20 17:38:59 +01:00
parent 8544dd66d8
commit f08477ea66

View file

@ -84,12 +84,12 @@ public class KeycloakApplication extends Application {
classes.add(JsResource.class); classes.add(JsResource.class);
classes.add(WelcomeResource.class); classes.add(WelcomeResource.class);
checkExportImportProvider();
setupDefaultRealm(context.getContextPath()); setupDefaultRealm(context.getContextPath());
setupScheduledTasks(providerSessionFactory); setupScheduledTasks(providerSessionFactory);
importRealms(context); importRealms(context);
checkExportImportProvider();
} }
public String getContextPath() { public String getContextPath() {