Package org.keycloak.exportimport
Interface ImportProvider
-
- All Superinterfaces:
Provider
- All Known Implementing Classes:
AbstractFileBasedImportProvider
,DirImportProvider
,SingleFileImportProvider
public interface ImportProvider extends Provider
- Author:
- Marek Posolda
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
importModel(KeycloakSessionFactory factory, Strategy strategy)
void
importRealm(KeycloakSessionFactory factory, String realmName, Strategy strategy)
boolean
isMasterRealmExported()
-
-
-
Method Detail
-
importModel
void importModel(KeycloakSessionFactory factory, Strategy strategy) throws IOException
- Throws:
IOException
-
importRealm
void importRealm(KeycloakSessionFactory factory, String realmName, Strategy strategy) throws IOException
- Throws:
IOException
-
isMasterRealmExported
boolean isMasterRealmExported() throws IOException
- Returns:
- true if master realm was previously exported and is available in the data to be imported
- Throws:
IOException
-
-