public class SingleFileImportProvider extends Object implements ImportProvider
Modifier and Type | Field and Description |
---|---|
protected Map<String,RealmRepresentation> |
realmReps |
Constructor and Description |
---|
SingleFileImportProvider(File file) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkRealmReps() |
void |
close() |
void |
importModel(KeycloakSessionFactory factory,
Strategy strategy) |
void |
importRealm(KeycloakSessionFactory factory,
String realmName,
Strategy strategy) |
boolean |
isMasterRealmExported() |
protected Map<String,RealmRepresentation> realmReps
public SingleFileImportProvider(File file)
public void importModel(KeycloakSessionFactory factory, Strategy strategy) throws IOException
importModel
in interface ImportProvider
IOException
public boolean isMasterRealmExported() throws IOException
isMasterRealmExported
in interface ImportProvider
IOException
protected void checkRealmReps() throws IOException
IOException
public void importRealm(KeycloakSessionFactory factory, String realmName, Strategy strategy) throws IOException
importRealm
in interface ImportProvider
IOException
Copyright © 2019 JBoss by Red Hat. All rights reserved.