public class KeycloakApplication
extends javax.ws.rs.core.Application
Modifier and Type | Field and Description |
---|---|
static AtomicBoolean |
BOOTSTRAP_ADMIN_USER |
protected Set<Class<?>> |
classes |
protected PlatformProvider |
platform |
protected static KeycloakSessionFactory |
sessionFactory |
protected Set<Object> |
singletons |
Constructor and Description |
---|
KeycloakApplication() |
Modifier and Type | Method and Description |
---|---|
protected ExportImportManager |
bootstrap() |
static KeycloakSessionFactory |
createSessionFactory() |
Set<Class<?>> |
getClasses() |
static KeycloakSessionFactory |
getSessionFactory() |
Set<Object> |
getSingletons() |
void |
importAddUser() |
void |
importRealm(RealmRepresentation rep,
String from) |
void |
importRealms() |
protected void |
loadConfig() |
static void |
setupScheduledTasks(KeycloakSessionFactory sessionFactory) |
protected void |
shutdown() |
protected void |
startup() |
public static final AtomicBoolean BOOTSTRAP_ADMIN_USER
protected final PlatformProvider platform
protected static KeycloakSessionFactory sessionFactory
protected void startup()
protected void shutdown()
protected ExportImportManager bootstrap()
protected void loadConfig()
public static KeycloakSessionFactory createSessionFactory()
public static void setupScheduledTasks(KeycloakSessionFactory sessionFactory)
public static KeycloakSessionFactory getSessionFactory()
public Set<Class<?>> getClasses()
getClasses
in class javax.ws.rs.core.Application
public Set<Object> getSingletons()
getSingletons
in class javax.ws.rs.core.Application
public void importRealms()
public void importRealm(RealmRepresentation rep, String from)
public void importAddUser()
Copyright © 2021 JBoss by Red Hat. All rights reserved.