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 ExportProvider
IOException
public void exportRealm(KeycloakSessionFactory factory, String realmName) throws IOException
exportRealm
in interface ExportProvider
IOException
protected void exportRealmImpl(KeycloakSessionFactory factory, String realmName) throws IOException
IOException
protected abstract void writeRealm(String fileName, RealmRepresentation rep) throws IOException
IOException
protected abstract void writeUsers(String fileName, KeycloakSession session, RealmModel realm, List<UserModel> users) throws IOException
IOException
protected abstract void writeFederatedUsers(String fileName, KeycloakSession session, RealmModel realm, List<String> users) throws IOException
IOException
Copyright © 2021 JBoss by Red Hat. All rights reserved.