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