Modifier and Type | Method and Description |
---|---|
RealmRepresentation |
RealmResource.partialExport(Boolean exportGroupsAndRoles,
Boolean exportClients) |
RealmRepresentation |
RealmResource.toRepresentation() |
Modifier and Type | Method and Description |
---|---|
List<RealmRepresentation> |
RealmsResource.findAll() |
Modifier and Type | Method and Description |
---|---|
void |
RealmsResource.create(RealmRepresentation realmRepresentation) |
void |
RealmResource.update(RealmRepresentation realmRepresentation) |
Modifier and Type | Method and Description |
---|---|
void |
DirExportProvider.writeRealm(String fileName,
RealmRepresentation rep) |
Modifier and Type | Field and Description |
---|---|
protected Map<String,RealmRepresentation> |
SingleFileImportProvider.realmReps |
Modifier and Type | Method and Description |
---|---|
static RealmRepresentation |
ExportUtils.exportRealm(KeycloakSession session,
RealmModel realm,
boolean includeUsers,
boolean internal) |
static RealmRepresentation |
ExportUtils.exportRealm(KeycloakSession session,
RealmModel realm,
ExportOptions options,
boolean internal) |
Modifier and Type | Method and Description |
---|---|
static Map<String,RealmRepresentation> |
ImportUtils.getRealmsFromStream(com.fasterxml.jackson.databind.ObjectMapper mapper,
InputStream is) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ImportUtils.importRealm(KeycloakSession session,
RealmRepresentation rep,
Strategy strategy,
boolean skipUserDependent)
Fully import realm from representation, save it to model and return model of newly created realm
|
protected abstract void |
MultipleStepsExportProvider.writeRealm(String fileName,
RealmRepresentation rep) |
Modifier and Type | Method and Description |
---|---|
static void |
ImportUtils.importRealms(KeycloakSession session,
Collection<RealmRepresentation> realms,
Strategy strategy) |
Modifier and Type | Method and Description |
---|---|
static void |
MigrationModelManager.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
Modifier and Type | Method and Description |
---|---|
default void |
Migration.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent)
Called after full import of representation.
|
void |
MigrateTo9_0_4.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo9_0_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo8_0_2.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo8_0_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo6_0_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo4_6_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo4_2_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo4_0_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo3_4_2.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo3_4_1.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo3_4_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo3_2_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo3_1_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo3_0_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo2_5_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo2_3_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo2_2_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo2_1_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo2_0_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo1_9_2.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo1_8_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo1_7_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo1_6_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo1_5_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo1_4_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo1_3_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo1_2_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
Modifier and Type | Method and Description |
---|---|
static RealmRepresentation |
StripSecretsUtils.strip(RealmRepresentation rep) |
static RealmRepresentation |
StripSecretsUtils.stripForExport(KeycloakSession session,
RealmRepresentation rep) |
static RealmRepresentation |
ModelToRepresentation.toRepresentation(KeycloakSession session,
RealmModel realm,
boolean internal) |
Modifier and Type | Method and Description |
---|---|
RealmRepresentation |
RealmRepresentation.setDockerAuthenticationFlow(String dockerAuthenticationFlow) |
Modifier and Type | Method and Description |
---|---|
void |
ClientPolicyManager.updateRealmModelFromRepresentation(RealmModel realm,
RealmRepresentation rep)
when importing a realm, or updating a realm, update model from the representation object
|
void |
DefaultClientPolicyManager.updateRealmModelFromRepresentation(RealmModel realm,
RealmRepresentation rep) |
void |
ClientPolicyManager.updateRealmRepresentationFromModel(RealmModel realm,
RealmRepresentation rep)
when exporting realm, or retrieve the realm for admin REST API, prepares the exported representation of the client profiles and policies.
|
void |
DefaultClientPolicyManager.updateRealmRepresentationFromModel(RealmModel realm,
RealmRepresentation rep) |
Modifier and Type | Method and Description |
---|---|
String |
RealmManager.getRealmAdminClientId(RealmRepresentation realm) |
RealmModel |
RealmManager.importRealm(RealmRepresentation rep) |
RealmModel |
RealmManager.importRealm(RealmRepresentation rep,
boolean skipUserDependent)
if "skipUserDependent" is true, then import of any models, which needs users already imported in DB, will be skipped.
|
void |
RealmManager.setupClientServiceAccountsAndAuthorizationOnImport(RealmRepresentation rep,
boolean skipUserDependent) |
Modifier and Type | Method and Description |
---|---|
void |
KeycloakApplication.importRealm(RealmRepresentation rep,
String from) |
Modifier and Type | Method and Description |
---|---|
RealmRepresentation |
RealmAdminResource.getRealm()
Get the top-level representation of the realm
It will not include nested information like User and Client representations.
|
RealmRepresentation |
RealmAdminResource.partialExport(Boolean exportGroupsAndRoles,
Boolean exportClients)
Partial export of existing realm into a JSON file.
|
protected RealmRepresentation |
RealmsAdminResource.toRealmRep(RealmModel realm) |
Modifier and Type | Method and Description |
---|---|
Stream<RealmRepresentation> |
RealmsAdminResource.getRealms()
Get accessible realms
Returns a list of accessible realms.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
RealmsAdminResource.importRealm(RealmRepresentation rep)
Import a realm
Imports a realm from a full representation of that realm.
|
javax.ws.rs.core.Response |
RealmAdminResource.updateRealm(RealmRepresentation rep)
Update the top-level information of the realm
Any user, roles or client information in the representation
will be ignored.
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.