Quarkus
This commit is contained in:
parent
d41764b19b
commit
64b1e976af
2 changed files with 31 additions and 2 deletions
|
@ -211,6 +211,36 @@
|
|||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>keycloak-model-legacy</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>*</groupId>
|
||||
<artifactId>*</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>keycloak-model-legacy-private</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>*</groupId>
|
||||
<artifactId>*</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>keycloak-model-legacy-services</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>*</groupId>
|
||||
<artifactId>*</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>keycloak-authz-policy-common</artifactId>
|
||||
|
|
|
@ -47,7 +47,6 @@ public class QuarkusKeycloakApplication extends KeycloakApplication {
|
|||
@Override
|
||||
protected void startup() {
|
||||
initializeKeycloakSessionFactory();
|
||||
setupScheduledTasks(sessionFactory);
|
||||
createAdminUser();
|
||||
}
|
||||
|
||||
|
@ -66,7 +65,7 @@ public class QuarkusKeycloakApplication extends KeycloakApplication {
|
|||
QuarkusKeycloakSessionFactory instance = QuarkusKeycloakSessionFactory.getInstance();
|
||||
sessionFactory = instance;
|
||||
instance.init();
|
||||
sessionFactory.publish(new PostMigrationEvent());
|
||||
sessionFactory.publish(new PostMigrationEvent(sessionFactory));
|
||||
}
|
||||
|
||||
private void createAdminUser() {
|
||||
|
|
Loading…
Reference in a new issue