public abstract class MultipleStepsExportProvider extends Object implements ExportProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
MultipleStepsExportProvider.FederatedUsersHolder |
static class |
MultipleStepsExportProvider.RealmsHolder |
static class |
MultipleStepsExportProvider.UsersHolder |
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.logging.Logger |
logger |
| Constructor and Description |
|---|
MultipleStepsExportProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
exportModel(KeycloakSessionFactory factory) |
void |
exportRealm(KeycloakSessionFactory factory,
String realmName) |
protected void |
exportRealmImpl(KeycloakSessionFactory factory,
String realmName) |
protected abstract void |
writeFederatedUsers(String fileName,
KeycloakSession session,
RealmModel realm,
List<String> users) |
protected abstract void |
writeRealm(String fileName,
RealmRepresentation rep) |
protected abstract void |
writeUsers(String fileName,
KeycloakSession session,
RealmModel realm,
List<UserModel> users) |
public void exportModel(KeycloakSessionFactory factory) throws IOException
exportModel in interface ExportProviderIOExceptionpublic void exportRealm(KeycloakSessionFactory factory, String realmName) throws IOException
exportRealm in interface ExportProviderIOExceptionprotected void exportRealmImpl(KeycloakSessionFactory factory, String realmName) throws IOException
IOExceptionprotected abstract void writeRealm(String fileName, RealmRepresentation rep) throws IOException
IOExceptionprotected abstract void writeUsers(String fileName, KeycloakSession session, RealmModel realm, List<UserModel> users) throws IOException
IOExceptionprotected abstract void writeFederatedUsers(String fileName, KeycloakSession session, RealmModel realm, List<String> users) throws IOException
IOExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.