keycloak-aplcache

simplify + fix migration test

1/19/2017 9:35:59 AM

Details

diff --git a/testsuite/integration-arquillian/pom.xml b/testsuite/integration-arquillian/pom.xml
index f563887..a5cd163 100644
--- a/testsuite/integration-arquillian/pom.xml
+++ b/testsuite/integration-arquillian/pom.xml
@@ -50,8 +50,9 @@
         <undertow-embedded.version>1.0.0.Alpha2</undertow-embedded.version>
 
         <!--migration properties-->
-        <migration.project.version>2.2.1.Final</migration.project.version>
-        <migration.product.version>1.9.8.Final</migration.product.version>
+        <migration.70.version>1.9.8.Final</migration.70.version>
+        <migration.70.authz.version>2.2.1.Final</migration.70.authz.version>
+        <!--<migration.71.version>2.5.1.Final</migration.71.version>-->
         
         <maven.compiler.target>1.8</maven.compiler.target>
         <maven.compiler.source>1.8</maven.compiler.source>
@@ -135,9 +136,9 @@
     
     <profiles>
         <profile>
-            <id>test-project-migration</id>
+            <id>test-70-migration</id>
             <properties>
-                <migrated.auth.server.version>${migration.project.version}</migrated.auth.server.version>
+                <migrated.auth.server.version>${migration.70.version}</migrated.auth.server.version>
             </properties>
             <build>
                 <pluginManagement>
@@ -155,9 +156,9 @@
             </build>
         </profile>
         <profile>
-            <id>test-product-migration</id>
+            <id>test-70-authz-migration</id>
             <properties>
-                <migrated.auth.server.version>${migration.product.version}</migrated.auth.server.version>
+                <migrated.auth.server.version>${migration.70.authz.version}</migrated.auth.server.version>
             </properties>
             <build>
                 <pluginManagement>
@@ -174,6 +175,26 @@
                 </pluginManagement>
             </build>
         </profile>
+<!--        <profile>
+            <id>test-71-migration</id>
+            <properties>
+                <migrated.auth.server.version>${migration.71.version}</migrated.auth.server.version>
+            </properties>
+            <build>
+                <pluginManagement>
+                    <plugins>
+                        <plugin>
+                            <artifactId>maven-surefire-plugin</artifactId>
+                            <configuration>
+                                <systemPropertyVariables>
+                                    <migrated.auth.server.version>${migrated.auth.server.version}</migrated.auth.server.version>
+                                </systemPropertyVariables>
+                            </configuration>
+                        </plugin>
+                    </plugins>
+                </pluginManagement>
+            </build>
+        </profile>-->
     </profiles>
 
 </project>
diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/exportimport/LegacyImportTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/exportimport/LegacyImportTest.java
index e7ec574..3dcffcd 100644
--- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/exportimport/LegacyImportTest.java
+++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/exportimport/LegacyImportTest.java
@@ -38,7 +38,6 @@ import java.net.URL;
 import java.util.Collection;
 import java.util.List;
 import java.util.Set;
-import static org.junit.Assert.assertNotNull;
 import org.keycloak.admin.client.resource.RealmResource;
 import org.keycloak.exportimport.Strategy;
 import static org.keycloak.testsuite.Assert.assertNames;
@@ -62,25 +61,8 @@ public class LegacyImportTest extends AbstractExportImportTest {
     }
 
     @Test
-    public void importPreviousProject() throws Exception {
-
-        String projectVersion = System.getProperty("migration.project.version");
-        assertNotNull(projectVersion);
-        
-        testLegacyImport(projectVersion);
-    }
-    
-    @Test
-    public void importPreviousProduct() throws Exception {
-
-        String productVersion = System.getProperty("migration.product.version");
-        assertNotNull(productVersion);
-        
-        testLegacyImport(productVersion);
-    }
-
-    private void testLegacyImport(String version) {
-        String file = "/migration-test/migration-realm-" + version + ".json";
+    public void testLegacyImport(String version) {
+        String file = "/migration-test/migration-realm-1.9.8.Final.json";
         
         URL url = LegacyImportTest.class.getResource(file);
         String targetFilePath = new File(url.getFile()).getAbsolutePath();
diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/migration/MigrationTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/migration/MigrationTest.java
index 2e45ccb..7c8041b 100644
--- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/migration/MigrationTest.java
+++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/migration/MigrationTest.java
@@ -17,38 +17,37 @@
 package org.keycloak.testsuite.migration;
 
 import java.util.HashSet;
-import org.junit.Test;
-import org.keycloak.admin.client.resource.RealmResource;
-import org.keycloak.common.constants.KerberosConstants;
-import org.keycloak.component.PrioritizedComponentModel;
-import org.keycloak.keys.KeyProvider;
-import org.keycloak.models.LDAPConstants;
-import org.keycloak.representations.idm.ComponentRepresentation;
-import org.keycloak.representations.idm.RealmRepresentation;
-import org.keycloak.representations.idm.authorization.PolicyRepresentation;
-import org.keycloak.storage.UserStorageProvider;
-import org.keycloak.testsuite.AbstractKeycloakTest;
-import org.keycloak.testsuite.arquillian.migration.Migration;
-
 import java.util.List;
 import java.util.Set;
 import java.util.stream.Collectors;
-
+import javax.ws.rs.NotFoundException;
 import org.junit.Before;
+import org.junit.Test;
 import org.keycloak.admin.client.resource.ClientResource;
+import org.keycloak.admin.client.resource.RealmResource;
 import org.keycloak.admin.client.resource.RoleResource;
+import org.keycloak.common.constants.KerberosConstants;
+import org.keycloak.component.PrioritizedComponentModel;
+import org.keycloak.keys.KeyProvider;
 import org.keycloak.models.AdminRoles;
 import org.keycloak.models.AuthenticationExecutionModel;
 import org.keycloak.models.Constants;
+import org.keycloak.models.LDAPConstants;
 import org.keycloak.models.UserModel;
 import org.keycloak.models.utils.DefaultAuthenticationFlows;
 import org.keycloak.representations.idm.AuthenticationExecutionExportRepresentation;
 import org.keycloak.representations.idm.AuthenticationFlowRepresentation;
 import org.keycloak.representations.idm.ClientRepresentation;
 import org.keycloak.representations.idm.ClientTemplateRepresentation;
+import org.keycloak.representations.idm.ComponentRepresentation;
 import org.keycloak.representations.idm.ProtocolMapperRepresentation;
+import org.keycloak.representations.idm.RealmRepresentation;
 import org.keycloak.representations.idm.RequiredActionProviderRepresentation;
 import org.keycloak.representations.idm.RoleRepresentation;
+import org.keycloak.representations.idm.authorization.PolicyRepresentation;
+import org.keycloak.storage.UserStorageProvider;
+import org.keycloak.testsuite.AbstractKeycloakTest;
+import org.keycloak.testsuite.arquillian.migration.Migration;
 
 import static org.keycloak.testsuite.Assert.assertEquals;
 import static org.keycloak.testsuite.Assert.assertFalse;
@@ -64,7 +63,7 @@ public class MigrationTest extends AbstractKeycloakTest {
 
     public static final String MIGRATION = "Migration";
     public static final String MIGRATION2 = "Migration2";
-    public static final String MIGRATION3 = "authorization";
+
     private RealmResource migrationRealm;
     private RealmResource migrationRealm2;
     private RealmResource migrationRealm3;
@@ -79,11 +78,21 @@ public class MigrationTest extends AbstractKeycloakTest {
     public void beforeMigrationTest() {
         migrationRealm = adminClient.realms().realm(MIGRATION);
         migrationRealm2 = adminClient.realms().realm(MIGRATION2);
-        migrationRealm3 = adminClient.realms().realm(MIGRATION3);
+        migrationRealm3 = adminClient.realms().realm("authorization");
+        
         masterRealm = adminClient.realms().realm(MASTER);
         
-        //add migration realm to testRealmReps to make the migration removed after test
-        testRealmReps.add(adminClient.realms().realm(MIGRATION).toRepresentation());
+        //add migration realms to testRealmReps to make them removed after test
+        addTestRealmToTestRealmReps(migrationRealm);
+        addTestRealmToTestRealmReps(migrationRealm2);
+        addTestRealmToTestRealmReps(migrationRealm3);
+    }
+    
+    private void addTestRealmToTestRealmReps(RealmResource realm) {
+        try {
+            testRealmReps.add(realm.toRepresentation());
+        } catch (NotFoundException ex) {
+        }
     }
     
     @Test
@@ -95,18 +104,16 @@ public class MigrationTest extends AbstractKeycloakTest {
         testMigrationTo2_2_0();
         testMigrationTo2_3_0();
         testMigrationTo2_5_0();
-        testLdapKerberosMigration_2_5_0();
     }
     
     @Test
     @Migration(versionFrom = "2.2.1.Final")
-    public void migration2_2_1Test() {
-        testMigrationTo2_3_0();
-        testMigrationTo2_5_0();
-        testMigrationTo2_5_1();
+    public void migrationInAuthorizationServicesTest() {
+        testDroolsToRulesPolicyTypeMigration();
     }
 
     private void testMigratedData() {
+        log.info("testing migrated data");
         //master realm
         assertNames(masterRealm.roles().list(), "offline_access", "uma_authorization", "create-realm", "master-test-realm-role", "admin");
         assertNames(masterRealm.clients().findAll(), "admin-cli", "security-admin-console", "broker", "account", 
@@ -155,7 +162,15 @@ public class MigrationTest extends AbstractKeycloakTest {
         testExtractRealmKeys(masterRealm, migrationRealm);
     }
 
+    private void testMigrationTo2_5_0() {
+        testLdapKerberosMigration_2_5_0();
+        
+        //https://github.com/keycloak/keycloak/pull/3630
+        testDuplicateEmailSupport(masterRealm, migrationRealm);
+    }
+        
     private void testExtractRealmKeys(RealmResource masterRealm, RealmResource migrationRealm) {
+        log.info("testing extract realm keys");
         String expectedMasterRealmKey = "MIIEowIBAAKCAQEAiU54OXoCbHy0L0gHn1yasctcnKHRU1pHFIJnWvaI7rClJydet9dDJaiYXOxMKseiBm3eYznfN3cPyU8udYmRnMuKjiocZ77LT2IEttAjXb6Ggazx7loriFHRy0IOJeX4KxXhAPWmxqa3mkFNfLBEvFqVaBgUDHQ60cmnPvNSHYudBTW9K80s8nvmP2pso7HTwWJ1+Xatj1Ey/gTmB3CXlyqBegGWC9TeuErEYpYhdh+11TVWasgMBZyUCtL3NRPaBuhaPg1LpW8lWGk05nS+YM6dvTk3Mppv+z2RygEpxyO09oT3b4G+Zfwit1STqn0AvDTGzINdoKcNtFScV0j8TwIDAQABAoIBAHcbPKsPLZ8SJfOF1iblW8OzFulAbaaSf2pJHIMJrQrw7LKkMkPjVXoLX+/rgr7xYZmWIP2OLBWfEHCeYTzQUyHiZpSf7vgHx7Fa45/5uVQOe/ttHIiYa37bCtP4vvEdJkOpvP7qGPvljwsebqsk9Ns28LfVez66bHOjK5Mt2yOIulbTeEs7ch//h39YwKJv96vc+CHbV2O6qoOxZessO6y+287cOBvbFXmS2GaGle5Nx/EwncBNS4b7czoetmm70+9ht3yX+kxaP311YUT31KQjuaJt275kOiKsrXr27PvgO++bsIyGuSzqyS7G7fmxF2zUyphEqEpalyDGMKMnrAECgYEA1fCgFox03rPDjm0MhW/ThoS2Ld27sbWQ6reS+PBMdUTJZVZIU1D2//h6VXDnlddhk6avKjA4smdy1aDKzmjz3pt9AKn+kgkXqtTC2fD3wp+fC9hND0z+rQPGe/Gk7ZUnTdsqnfyowxr+woIgzdnRukOUrG+xQiP3RUUT7tt6NQECgYEApEz2xvgqMm+9/f/YxjLdsFUfLqc4WlafB863stYEVqlCYy5ujyo0VQ0ahKSKJkLDnf52+aMUqPOpwaGePpu3O6VkvpcKfPY2MUlZW7/6Sa9et9hxNkdTS7Gui2d1ELpaCBe1Bc62sk8EA01iHXE1PpvyUqDWrhNh+NrDICA9oU8CgYBgGDYACtTP11TmW2r9YK5VRLUDww30k4ZlN1GnyV++aMhBYVEZQ0u+y+A/EnijIFwu0vbo70H4OGknNZMCxbeMbLDoJHM5KyZbUDe5ZvgSjloFGwH59m6KTiDQOUkIgi9mVCQ/VGaFRFHcElEjxUvj60kTbxPijn8ZuR5r8l9hAQKBgQCQ9jL5pHWeoIayN20smi6M6N2lTPbkhe60dcgQatHTIG2pkosLl8IqlHAkPgSB84AiwyR351JQKwRJCm7TcJI/dxMnMZ6YWKfB3qSP1hdfsfJRJQ/mQxIUBAYrizF3e+P5peka4aLCOgMhYsJBlePThMZN7wja99EGPwXQL4IQ8wKBgB8Nis1lQK6Z30GCp9u4dYleGfEP71Lwqvk/eJb89/uz0fjF9CTpJMULFc+nA5u4yHP3LFnRg3zCU6aEwfwUyk4GH9lWGV/qIAisQtgrCEraVe4qxz0DVE59C7qjO26IhU2U66TEzPAqvQ3zqey+woDn/cz/JMWK1vpcSk+TKn3K";
         String expectedMigrationRealmKey = "MIIEpAIBAAKCAQEApt6gCllWkVTZ7fy/oRIx6Bxjt9x3eKKyKGFXvN4iaafrNqpYU9lcqPngWJ9DyXGqUf8RpjPaQWiLWLxjw3xGBqLk2E1/Frb9e/dy8rj//fHGq6bujN1iguzyFwxPGT5Asd7jflRI3qU04M8JE52PArqPhGL2Fn+FiSK5SWRIGm+hVL7Ck/E/tVxM25sFG1/UTQqvrROm4q76TmP8FsyZaTLVf7cCwW2QPIX0N5HTVb3QbBb5KIsk4kKmk/g7uUxS9r42tu533LISzRr5CTyWZAL2XFRuF2RrKdE8gwqkEubw6sDmB2mE0EoPdY1DUhBQgVP/5rwJrCtTsUBR2xdEYQIDAQABAoIBAFbbsNBSOlZBpYJUOmcb8nBQPrOYhXN8tGGCccn0klMOvcdhmcJjdPDbyCQ5Gm7DxJUTwNsTSHsdcNMKlJ9Pk5+msJnKlOl87KrXXbTsCQvlCrWUmb0nCzz9GvJWTOHl3oT3cND0DE4gDksqWR4luCgCdevCGzgQvrBoK6wBD+r578uEW3iw10hnJ0+wnGiw8IvPzE1a9xbY4HD8/QrYdaLxuLb/aC1PDuzrz0cOjnvPkrws5JrbUSnbFygJiOv1z4l2Q00uGIxlHtXdwQBnTZZjVi4vOec2BYSHffgwDYEZIglw1mnrV7y0N1nnPbtJK/cegIkXoBQHXm8Q99TrWMUCgYEA9au86qcwrXZZg5H4BpR5cpy0MSkcKDbA1aRL1cAyTCqJxsczlAtLhFADF+NhnlXj4y7gwDEYWrz064nF73I+ZGicvCiyOy+tCTugTyTGS+XR948ElDMS6PCUUXsotS3dKa0b3c9wd2mxeddTjq/ArfgEVZJ6fE1KtjLt9dtfA+8CgYEAreK3JsvjR5b/Xct28TghYUU7Qnasombb/shqqy8FOMjYUr5OUm/OjNIgoCqhOlE8oQDJ4dOZofNSa7tL+oM8Gmbal+E3fRzxnx/9/EC4QV6sVaPLTIyk7EPfKTcZuzH7+BNZtAziTxJw9d6YJQRbkpg92EZIEoR8iDj2Xs5xrK8CgYEAwMVWwwYX8zT3vn7ukTM2LRH7bsvkVUXJgJqgCwT6Mrv6SmkK9vL5+cPS+Y6pjdW1sRGauBSOGL1Grf/4ug/6F03jFt4UJM8fRyxreU7Q7sNSQ6AMpsGA6BnHODycz7ZCYa59PErG5FyiL4of/cm5Nolz1TXQOPNpWZiTEqVlZC8CgYA4YPbjVF4nuxSnU64H/hwMjsbtAM9uhI016cN0J3W4+J3zDhMU9X1x+Tts0wWdg/N1fGz4lIQOl3cUyRCUc/KL2OdtMS+tmDHbVyMho9ZaE5kq10W2Vy+uDz+O/HeSU12QDK4cC8Vgv+jyPy7zaZtLR6NduUPrBRvfiyCOkr8WrwKBgQCY0h4RCdNFhr0KKLLmJipAtV8wBCGcg1jY1KoWKQswbcykfBKwHbF6EooVqkRW0ITjWB7ZZCf8TnSUxe0NXCUAkVBrhzS4DScgtoSZYOOUaSHgOxpfwgnQ3oYotKi98Yg3IsaLs1j4RuPG5Sp1z6o+ELP1uvr8azyn9YlLa+523Q==";
 
@@ -180,18 +195,8 @@ public class MigrationTest extends AbstractKeycloakTest {
         assertEquals(1, components.size());
     }
 
-    private void testMigrationTo2_5_0() {
-        //TODO org.keycloak.migration.migrators.MigrateTo2_5_0
-        
-        //https://github.com/keycloak/keycloak/pull/3630
-        testDuplicateEmailSupport(masterRealm, migrationRealm);
-    }
-
-    private void testMigrationTo2_5_1() {
-        testDroolsToRulesPolicyTypeMigration();
-    }
-
     private void testLdapKerberosMigration_2_5_0() {
+        log.info("testing ldap kerberos migration");
         RealmRepresentation realmRep = migrationRealm2.toRepresentation();
         List<ComponentRepresentation> components = migrationRealm2.components().query(realmRep.getId(), UserStorageProvider.class.getName());
         assertEquals(2, components.size());
@@ -226,6 +231,7 @@ public class MigrationTest extends AbstractKeycloakTest {
     }
 
     private void testDroolsToRulesPolicyTypeMigration() {
+        log.info("testing drools to rules in authorization services");
         List<ClientRepresentation> client = migrationRealm3.clients().findByClientId("photoz-restful-api");
 
         assertEquals(1, client.size());
@@ -240,6 +246,7 @@ public class MigrationTest extends AbstractKeycloakTest {
     }
     
     private void testAuthorizationServices(RealmResource... realms) {
+        log.info("testing authorization services");
         for (RealmResource realm : realms) {
             //test setup of authorization services
             for (String roleName : Constants.AUTHZ_DEFAULT_AUTHORIZATION_ROLES) {
@@ -270,6 +277,7 @@ public class MigrationTest extends AbstractKeycloakTest {
     }
     
     private void testNameOfOTPRequiredAction(RealmResource... realms) {
+        log.info("testing OTP Required Action");
         for (RealmResource realm : realms) {
             RequiredActionProviderRepresentation otpAction = realm.flows().getRequiredAction(UserModel.RequiredAction.CONFIGURE_TOTP.name());
 
@@ -278,6 +286,7 @@ public class MigrationTest extends AbstractKeycloakTest {
     }
     
     private void testIdentityProviderAuthenticator(RealmResource... realms) {
+        log.info("testing identity provider authenticator");
         for (RealmResource realm : realms) {
             boolean success = false;
             for (AuthenticationFlowRepresentation flow : realm.flows().getFlows()) {
@@ -298,6 +307,7 @@ public class MigrationTest extends AbstractKeycloakTest {
     }
 
     private void testUpdateProtocolMappers(RealmResource... realms) {
+        log.info("testing updated protocol mappers");
         for (RealmResource realm : realms) {
             for (ClientRepresentation client : realm.clients().findAll()) {
                 for (ProtocolMapperRepresentation protocolMapper : client.getProtocolMappers()) {
@@ -320,6 +330,7 @@ public class MigrationTest extends AbstractKeycloakTest {
     }
     
     private void testDuplicateEmailSupport(RealmResource... realms) {
+        log.info("testing duplicate email");
         for (RealmResource realm : realms) {
             RealmRepresentation rep = realm.toRepresentation();
             assertTrue("LoginWithEmailAllowed should be enabled.", rep.isLoginWithEmailAllowed());
diff --git a/testsuite/integration-arquillian/tests/base/src/test/resources/migration-test/migration-realm-2.2.1.Final.json b/testsuite/integration-arquillian/tests/base/src/test/resources/migration-test/migration-realm-2.2.1.Final.json
index e0b0d83..910905f 100644
--- a/testsuite/integration-arquillian/tests/base/src/test/resources/migration-test/migration-realm-2.2.1.Final.json
+++ b/testsuite/integration-arquillian/tests/base/src/test/resources/migration-test/migration-realm-2.2.1.Final.json
@@ -1,4937 +1,3 @@
-[
-  {
-    "id": "master",
-    "realm": "master",
-    "displayName": "Keycloak",
-    "displayNameHtml": "<div class=\"kc-logo-text\"><span>Keycloak</span></div>",
-    "notBefore": 0,
-    "revokeRefreshToken": false,
-    "accessTokenLifespan": 60,
-    "accessTokenLifespanForImplicitFlow": 900,
-    "ssoSessionIdleTimeout": 1800,
-    "ssoSessionMaxLifespan": 36000,
-    "offlineSessionIdleTimeout": 2592000,
-    "accessCodeLifespan": 60,
-    "accessCodeLifespanUserAction": 300,
-    "accessCodeLifespanLogin": 1800,
-    "enabled": true,
-    "sslRequired": "external",
-    "registrationAllowed": false,
-    "registrationEmailAsUsername": false,
-    "rememberMe": false,
-    "verifyEmail": false,
-    "resetPasswordAllowed": false,
-    "editUsernameAllowed": false,
-    "bruteForceProtected": false,
-    "maxFailureWaitSeconds": 900,
-    "minimumQuickLoginWaitSeconds": 60,
-    "waitIncrementSeconds": 60,
-    "quickLoginCheckMilliSeconds": 1000,
-    "maxDeltaTimeSeconds": 43200,
-    "failureFactor": 30,
-    "privateKey": "MIIEowIBAAKCAQEAiU54OXoCbHy0L0gHn1yasctcnKHRU1pHFIJnWvaI7rClJydet9dDJaiYXOxMKseiBm3eYznfN3cPyU8udYmRnMuKjiocZ77LT2IEttAjXb6Ggazx7loriFHRy0IOJeX4KxXhAPWmxqa3mkFNfLBEvFqVaBgUDHQ60cmnPvNSHYudBTW9K80s8nvmP2pso7HTwWJ1+Xatj1Ey/gTmB3CXlyqBegGWC9TeuErEYpYhdh+11TVWasgMBZyUCtL3NRPaBuhaPg1LpW8lWGk05nS+YM6dvTk3Mppv+z2RygEpxyO09oT3b4G+Zfwit1STqn0AvDTGzINdoKcNtFScV0j8TwIDAQABAoIBAHcbPKsPLZ8SJfOF1iblW8OzFulAbaaSf2pJHIMJrQrw7LKkMkPjVXoLX+/rgr7xYZmWIP2OLBWfEHCeYTzQUyHiZpSf7vgHx7Fa45/5uVQOe/ttHIiYa37bCtP4vvEdJkOpvP7qGPvljwsebqsk9Ns28LfVez66bHOjK5Mt2yOIulbTeEs7ch//h39YwKJv96vc+CHbV2O6qoOxZessO6y+287cOBvbFXmS2GaGle5Nx/EwncBNS4b7czoetmm70+9ht3yX+kxaP311YUT31KQjuaJt275kOiKsrXr27PvgO++bsIyGuSzqyS7G7fmxF2zUyphEqEpalyDGMKMnrAECgYEA1fCgFox03rPDjm0MhW/ThoS2Ld27sbWQ6reS+PBMdUTJZVZIU1D2//h6VXDnlddhk6avKjA4smdy1aDKzmjz3pt9AKn+kgkXqtTC2fD3wp+fC9hND0z+rQPGe/Gk7ZUnTdsqnfyowxr+woIgzdnRukOUrG+xQiP3RUUT7tt6NQECgYEApEz2xvgqMm+9/f/YxjLdsFUfLqc4WlafB863stYEVqlCYy5ujyo0VQ0ahKSKJkLDnf52+aMUqPOpwaGePpu3O6VkvpcKfPY2MUlZW7/6Sa9et9hxNkdTS7Gui2d1ELpaCBe1Bc62sk8EA01iHXE1PpvyUqDWrhNh+NrDICA9oU8CgYBgGDYACtTP11TmW2r9YK5VRLUDww30k4ZlN1GnyV++aMhBYVEZQ0u+y+A/EnijIFwu0vbo70H4OGknNZMCxbeMbLDoJHM5KyZbUDe5ZvgSjloFGwH59m6KTiDQOUkIgi9mVCQ/VGaFRFHcElEjxUvj60kTbxPijn8ZuR5r8l9hAQKBgQCQ9jL5pHWeoIayN20smi6M6N2lTPbkhe60dcgQatHTIG2pkosLl8IqlHAkPgSB84AiwyR351JQKwRJCm7TcJI/dxMnMZ6YWKfB3qSP1hdfsfJRJQ/mQxIUBAYrizF3e+P5peka4aLCOgMhYsJBlePThMZN7wja99EGPwXQL4IQ8wKBgB8Nis1lQK6Z30GCp9u4dYleGfEP71Lwqvk/eJb89/uz0fjF9CTpJMULFc+nA5u4yHP3LFnRg3zCU6aEwfwUyk4GH9lWGV/qIAisQtgrCEraVe4qxz0DVE59C7qjO26IhU2U66TEzPAqvQ3zqey+woDn/cz/JMWK1vpcSk+TKn3K",
-    "publicKey": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiU54OXoCbHy0L0gHn1yasctcnKHRU1pHFIJnWvaI7rClJydet9dDJaiYXOxMKseiBm3eYznfN3cPyU8udYmRnMuKjiocZ77LT2IEttAjXb6Ggazx7loriFHRy0IOJeX4KxXhAPWmxqa3mkFNfLBEvFqVaBgUDHQ60cmnPvNSHYudBTW9K80s8nvmP2pso7HTwWJ1+Xatj1Ey/gTmB3CXlyqBegGWC9TeuErEYpYhdh+11TVWasgMBZyUCtL3NRPaBuhaPg1LpW8lWGk05nS+YM6dvTk3Mppv+z2RygEpxyO09oT3b4G+Zfwit1STqn0AvDTGzINdoKcNtFScV0j8TwIDAQAB",
-    "certificate": "MIICmzCCAYMCBgFXt/Tg9TANBgkqhkiG9w0BAQsFADARMQ8wDQYDVQQDDAZtYXN0ZXIwHhcNMTYxMDEyMDgxMjQxWhcNMjYxMDEyMDgxNDIxWjARMQ8wDQYDVQQDDAZtYXN0ZXIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCJTng5egJsfLQvSAefXJqxy1ycodFTWkcUgmda9ojusKUnJ16310MlqJhc7Ewqx6IGbd5jOd83dw/JTy51iZGcy4qOKhxnvstPYgS20CNdvoaBrPHuWiuIUdHLQg4l5fgrFeEA9abGpreaQU18sES8WpVoGBQMdDrRyac+81Idi50FNb0rzSzye+Y/amyjsdPBYnX5dq2PUTL+BOYHcJeXKoF6AZYL1N64SsRiliF2H7XVNVZqyAwFnJQK0vc1E9oG6Fo+DUulbyVYaTTmdL5gzp29OTcymm/7PZHKASnHI7T2hPdvgb5l/CK3VJOqfQC8NMbMg12gpw20VJxXSPxPAgMBAAEwDQYJKoZIhvcNAQELBQADggEBAC54wFHL8tmrksq4OzatzNUM+R+3Hu/VXX3T44dwg0EvXzGW45sME+gKCuleU1PabIrr6oFm0bBMTdxgE2hbLWpYbU3OcsjArpCeCsOlxrAkqhVQN161J+tp77JkDMgArFdwe3wh5bhvLaOZSt6Fsq+oo16CXG1obe1feyaK3+sU3YuDUIHE01UYtvwtfDsYBC+VDyTdNDbB15WcdRoGljJY/JiT0JHdmAfq8qdGDuxGocIV0lSB8bO5JwF/WCmKqMrnh5j1NfGcE1g26Hbz2RmDs17X0K10Okzs/qz1YZqDjPVYiU//VFQQro71/D35dPOJv8mQMjhjNaXScL44h7w=",
-    "codeSecret": "4c59c2db-d9c3-4023-8cd5-8808fe854e98",
-    "roles": {
-      "realm": [
-        {
-          "id": "40dd3051-9581-479d-9ae0-80abd28b3f94",
-          "name": "create-realm",
-          "description": "${role_create-realm}",
-          "scopeParamRequired": false,
-          "composite": false,
-          "clientRole": false
-        },
-        {
-          "id": "b4693527-02c6-4e26-b1e2-b2249138304c",
-          "name": "master-test-realm-role",
-          "scopeParamRequired": false,
-          "composite": false,
-          "clientRole": false
-        },
-        {
-          "id": "5e030453-7094-42a5-8fd2-ce88c46c1172",
-          "name": "admin",
-          "description": "${role_admin}",
-          "scopeParamRequired": false,
-          "composite": true,
-          "composites": {
-            "realm": [
-              "create-realm"
-            ],
-            "client": {
-              "Migration-realm": [
-                "view-users",
-                "manage-users",
-                "view-clients",
-                "manage-identity-providers",
-                "manage-clients",
-                "impersonation",
-                "create-client",
-                "manage-events",
-                "manage-realm",
-                "view-realm",
-                "view-authorization",
-                "view-events",
-                "manage-authorization",
-                "view-identity-providers"
-              ],
-              "master-realm": [
-                "view-identity-providers",
-                "manage-realm",
-                "create-client",
-                "manage-users",
-                "impersonation",
-                "view-clients",
-                "manage-authorization",
-                "view-realm",
-                "manage-events",
-                "view-authorization",
-                "view-users",
-                "manage-identity-providers",
-                "view-events",
-                "manage-clients"
-              ]
-            }
-          },
-          "clientRole": false
-        },
-        {
-          "id": "311339f9-a82d-4960-a06a-63775649ac50",
-          "name": "uma_authorization",
-          "description": "${role_uma_authorization}",
-          "scopeParamRequired": false,
-          "composite": false,
-          "clientRole": false
-        },
-        {
-          "name": "user",
-          "scopeParamRequired": false,
-          "composite": false,
-          "clientRole": false
-        },
-        {
-          "id": "dc09cba8-f24d-4731-9169-47a951e519eb",
-          "name": "offline_access",
-          "description": "${role_offline-access}",
-          "scopeParamRequired": true,
-          "composite": false,
-          "clientRole": false
-        }
-      ],
-      "client": {
-        "security-admin-console": [],
-        "master-test-client": [
-          {
-            "id": "9c25e418-2415-43f1-90ef-1627272e22ef",
-            "name": "master-test-client-role",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6268e266-346b-46ba-8408-fe17b5792b10"
-          }
-        ],
-        "admin-cli": [],
-        "Migration-realm": [
-          {
-            "id": "4bd2a237-8e0e-4909-b8d5-f1635d442f3c",
-            "name": "manage-events",
-            "description": "${role_manage-events}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "0b9bb67b-16a3-4490-bd74-bf0aad1c43df",
-            "name": "manage-realm",
-            "description": "${role_manage-realm}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "2038d832-6869-4bdd-94d7-abb605ec117b",
-            "name": "view-realm",
-            "description": "${role_view-realm}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "85bcb1ac-257f-4d95-93e3-7f905c91bda0",
-            "name": "view-authorization",
-            "description": "${role_view-authorization}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "9c31faa8-e91d-4f71-ba5e-0cdb309a6c1b",
-            "name": "view-events",
-            "description": "${role_view-events}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "b7e97e07-c666-4e55-8c2b-127013fb70b2",
-            "name": "manage-authorization",
-            "description": "${role_manage-authorization}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "2567bcf2-532a-4950-95ec-18a8e993cbe8",
-            "name": "view-users",
-            "description": "${role_view-users}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "b3d7e97c-e6fe-418f-a354-7ad0c63efe72",
-            "name": "manage-users",
-            "description": "${role_manage-users}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "4881d187-699e-4130-9ca7-7afd71b7132f",
-            "name": "view-clients",
-            "description": "${role_view-clients}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "c22bb7bf-9a27-40e4-af54-f452a17eb532",
-            "name": "manage-identity-providers",
-            "description": "${role_manage-identity-providers}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "f694e360-1635-479e-b4d6-e71a8a615ab8",
-            "name": "view-identity-providers",
-            "description": "${role_view-identity-providers}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "b2f38b33-aad3-4086-8c23-dafee15439cb",
-            "name": "manage-clients",
-            "description": "${role_manage-clients}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "68b32df6-687f-4dd2-a93e-59f807cb3a4c",
-            "name": "impersonation",
-            "description": "${role_impersonation}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "500cae23-30a8-4221-96ca-1b4d15adae62",
-            "name": "create-client",
-            "description": "${role_create-client}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          }
-        ],
-        "broker": [
-          {
-            "id": "fefd0452-1eb5-40f6-aaec-b65fe38ae9b9",
-            "name": "read-token",
-            "description": "${role_read-token}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "5bcab424-560b-4653-b490-b03db075ecda"
-          }
-        ],
-        "master-realm": [
-          {
-            "id": "c0303a3e-0663-4346-8321-85ebe587c0df",
-            "name": "view-events",
-            "description": "${role_view-events}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "08e2c729-09ee-42e0-8106-1a712f0f5d59",
-            "name": "view-identity-providers",
-            "description": "${role_view-identity-providers}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "0c339131-888a-4e00-a999-b2ac5cc8f891",
-            "name": "manage-realm",
-            "description": "${role_manage-realm}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "3310eabb-f4d5-40fd-9aee-84c658f3c66f",
-            "name": "create-client",
-            "description": "${role_create-client}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "e6217299-9180-4be5-83ec-1f92645fbf3e",
-            "name": "manage-users",
-            "description": "${role_manage-users}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "4aeeab55-7859-4fbb-8f98-fb20919c98b4",
-            "name": "impersonation",
-            "description": "${role_impersonation}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "1f8f140a-1574-4ee8-9b91-360b2ae76e1b",
-            "name": "view-clients",
-            "description": "${role_view-clients}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "181269dc-bfec-47d9-9946-6ebb9bbe36d6",
-            "name": "manage-authorization",
-            "description": "${role_manage-authorization}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "1d3757e9-167e-406c-93e6-5d30e9b819de",
-            "name": "view-realm",
-            "description": "${role_view-realm}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "abb6146d-1cd0-4d03-b74f-f448d8675409",
-            "name": "manage-events",
-            "description": "${role_manage-events}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "61486848-4bad-4ba2-bc46-bfae4a0a889f",
-            "name": "view-authorization",
-            "description": "${role_view-authorization}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "e2fc9a91-9415-41f9-b1cd-2f9456edb53e",
-            "name": "manage-clients",
-            "description": "${role_manage-clients}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "85131bab-8020-474f-bb70-76e78886df2b",
-            "name": "view-users",
-            "description": "${role_view-users}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "e8d6d361-b58a-4739-8747-687e5b1628e8",
-            "name": "manage-identity-providers",
-            "description": "${role_manage-identity-providers}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          }
-        ],
-        "account": [
-          {
-            "id": "d2bf38f4-09fe-473a-b33f-18c1ff674705",
-            "name": "manage-account",
-            "description": "${role_manage-account}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "08a0990d-8288-4ba7-ba1e-0828cd1e002a"
-          },
-          {
-            "id": "2f57d1ae-d6ca-488b-9395-ddf3f80e7c9d",
-            "name": "view-profile",
-            "description": "${role_view-profile}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "08a0990d-8288-4ba7-ba1e-0828cd1e002a"
-          }
-        ]
-      }
-    },
-    "groups": [
-      {
-        "id": "e6a9423c-2140-4c31-ba18-dd517b2b900a",
-        "name": "master-test-group",
-        "path": "/master-test-group",
-        "attributes": {},
-        "realmRoles": [],
-        "clientRoles": {},
-        "subGroups": []
-      }
-    ],
-    "defaultRoles": [
-      "offline_access",
-      "uma_authorization"
-    ],
-    "requiredCredentials": [
-      "password"
-    ],
-    "passwordPolicy": "hashIterations(20000)",
-    "otpPolicyType": "totp",
-    "otpPolicyAlgorithm": "HmacSHA1",
-    "otpPolicyInitialCounter": 0,
-    "otpPolicyDigits": 6,
-    "otpPolicyLookAheadWindow": 1,
-    "otpPolicyPeriod": 30,
-    "users": [
-      {
-        "id": "c345ea0f-1c90-4a45-9b2f-96a381ca5a5b",
-        "createdTimestamp": 1476265539362,
-        "username": "admin",
-        "enabled": true,
-        "totp": false,
-        "emailVerified": false,
-        "credentials": [
-          {
-            "type": "password",
-            "hashedSaltedValue": "YwCkHJ6u5ZROE/WkQgI6NHvg06bkbOy5eaz8M9fnLDTajjZqQfZELI8NmrQecCPXY8/GEI9jN1gL/5Y3yulIVA==",
-            "salt": "MLKqip78LpUnPDBsNDAf8g==",
-            "hashIterations": 20000,
-            "counter": 0,
-            "algorithm": "pbkdf2",
-            "digits": 0,
-            "createdDate": 1476265539000
-          }
-        ],
-        "requiredActions": [],
-        "realmRoles": [
-          "admin",
-          "uma_authorization",
-          "offline_access"
-        ],
-        "clientRoles": {
-          "account": [
-            "manage-account",
-            "view-profile"
-          ]
-        },
-        "groups": []
-      },
-      {
-        "id": "f9d17688-5a5f-40f2-829b-4444ede51f6f",
-        "createdTimestamp": 1476265646817,
-        "username": "master-test-user",
-        "enabled": true,
-        "totp": false,
-        "emailVerified": false,
-        "credentials": [],
-        "requiredActions": [],
-        "realmRoles": [
-          "uma_authorization",
-          "offline_access"
-        ],
-        "clientRoles": {
-          "account": [
-            "manage-account",
-            "view-profile"
-          ]
-        },
-        "groups": [
-          "/master-test-group"
-        ]
-      }
-    ],
-    "scopeMappings": [
-      {
-        "client": "admin-cli",
-        "roles": [
-          "admin"
-        ]
-      },
-      {
-        "client": "security-admin-console",
-        "roles": [
-          "admin"
-        ]
-      }
-    ],
-    "clients": [
-      {
-        "id": "c3aca840-5187-406e-9b1a-b62a57eb371a",
-        "clientId": "Migration-realm",
-        "name": "Migration Realm",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "29958e6c-6f44-47a6-9810-770ea90b7387",
-        "redirectUris": [],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": true,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": false,
-        "serviceAccountsEnabled": false,
-        "publicClient": false,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": true,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "d009ceb4-cb36-4abe-8425-e6df2737e627",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          },
-          {
-            "id": "24981db4-6740-4e08-a505-3aabe8e350c3",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "9ca7f1b4-170d-4d75-a94b-26511318bf2c",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "41482c5e-6c4c-4618-b819-bcb6e693caee",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "df1d77fa-2b6c-49fd-9785-2ee51ff937fd",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "5e90ad8d-98c0-4cc1-a74e-933cb77e82a6",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "08a0990d-8288-4ba7-ba1e-0828cd1e002a",
-        "clientId": "account",
-        "name": "${client_account}",
-        "baseUrl": "/auth/realms/master/account",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "532d4ec6-0ff4-448e-bdfc-11b87efb50d3",
-        "defaultRoles": [
-          "view-profile",
-          "manage-account"
-        ],
-        "redirectUris": [
-          "/auth/realms/master/account/*"
-        ],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": false,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": false,
-        "serviceAccountsEnabled": false,
-        "publicClient": false,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": false,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "bfc0fe7c-1bdb-4d51-8cbb-93f3923683c8",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "6f500b7d-f16a-410f-a567-d4f38fc45c5e",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "b37bfe8a-94de-4893-b86e-b642c267d72b",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          },
-          {
-            "id": "7abb3444-776a-4537-928a-e1caf83c6df8",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "01314df4-5726-4855-b71d-aaedcee9604b",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "4a16b178-40ef-4a88-94e8-330fe92405d2",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "9da2f23b-767b-4d99-8d24-a1cab6afe448",
-        "clientId": "admin-cli",
-        "name": "${client_admin-cli}",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "3b37796a-29ee-46b8-b606-12ea19d40097",
-        "redirectUris": [],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": false,
-        "consentRequired": false,
-        "standardFlowEnabled": false,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": true,
-        "serviceAccountsEnabled": false,
-        "publicClient": true,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": false,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "1631e30c-79b1-4a24-bbd7-a2833100d140",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "7a19f140-f951-4505-b200-46b41ccdeed3",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "d6b5b848-2575-4de6-b2cd-cf692b0daa22",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          },
-          {
-            "id": "94a1d7ad-b103-491e-9b76-65f763420d0a",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "ed2d7ce3-3f24-4412-8ee0-91a8ab22913a",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "c342307c-9fb2-4e7d-9bf7-a18985227483",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "5bcab424-560b-4653-b490-b03db075ecda",
-        "clientId": "broker",
-        "name": "${client_broker}",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "6613ea12-47d2-4e07-bcae-329211df19c9",
-        "redirectUris": [],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": false,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": false,
-        "serviceAccountsEnabled": false,
-        "publicClient": false,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": false,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "eebc4c71-63f9-4c51-abb9-0577f1188399",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "73bbb61d-f87a-4d52-a0ce-3f675b79d808",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "3172c3dd-7253-4546-9ff0-735f4635a5f3",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          },
-          {
-            "id": "895bf3d3-21dc-478c-9aad-dedc148518a3",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "40e1c333-168c-444b-9ae5-5d4fd9f07a82",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "974e0506-401d-4ff0-a43c-6f9d63920473",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "470a14ef-efb5-4686-85a0-0738edd1f8d3",
-        "clientId": "master-realm",
-        "name": "master Realm",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "70bb98e1-51ed-4ebb-a103-1e2cad38a292",
-        "redirectUris": [],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": true,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": false,
-        "serviceAccountsEnabled": false,
-        "publicClient": false,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": true,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "b9f0a1d5-9a56-4c42-938b-54b9aae180e4",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "629ba061-ee90-4893-9a3c-6ebb1cb8586f",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          },
-          {
-            "id": "e02314bb-f3de-4f72-874c-2ccb30727e52",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "c82eaace-135c-4373-ac99-d09469bc1b12",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "a82fe8ca-df8d-4ad7-bbfd-c5f0adfd8cd2",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "44ae3204-8f77-4a7d-ac7f-c44bafed3ad2",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "6268e266-346b-46ba-8408-fe17b5792b10",
-        "clientId": "master-test-client",
-        "name": "master-test-client",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "271c50a7-6a20-4a27-bb94-97136ffb1539",
-        "redirectUris": [],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": false,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": true,
-        "serviceAccountsEnabled": false,
-        "publicClient": true,
-        "frontchannelLogout": false,
-        "protocol": "openid-connect",
-        "attributes": {},
-        "fullScopeAllowed": true,
-        "nodeReRegistrationTimeout": -1,
-        "protocolMappers": [
-          {
-            "id": "191b5693-2fdd-4029-8657-681facc51dfb",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "079b1dba-1ac0-4d3d-94b7-d8468dc55962",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "1fc5cdff-d1ba-4492-83df-f81d3820c31a",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "8a443f85-23c0-4ee6-9e31-4b5ad571aa94",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "7b5f4689-ede2-427b-b8dc-289791ac6cad",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "b1af3b5e-fff1-41c2-b091-0c35a6c84793",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "a27cd9f4-e9f3-45d9-aef1-0509a8337de0",
-        "clientId": "security-admin-console",
-        "name": "${client_security-admin-console}",
-        "baseUrl": "/auth/admin/master/console/index.html",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "f7f2c609-8902-4db2-9350-685b0423457b",
-        "redirectUris": [
-          "/auth/admin/master/console/*"
-        ],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": false,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": false,
-        "serviceAccountsEnabled": false,
-        "publicClient": true,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": false,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "a7dd5e41-4d47-41fe-b5ad-33e1ad801f31",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "4c89dd7c-d865-4557-aa52-d25e83c70789",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "d4fa50be-3a2f-4d4c-9123-a5d99b8315e5",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "8bf5feae-36bd-49f5-8a2e-19093ee92a29",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "2b8281b5-e2a8-4868-92f8-76097648f328",
-            "name": "locale",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-attribute-mapper",
-            "consentRequired": false,
-            "consentText": "${locale}",
-            "config": {
-              "user.attribute": "locale",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "locale",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "20551202-834b-4f9d-9582-6f27d58b604d",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "f205e545-5b2d-4436-b9c8-88a07de1ea7d",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      }
-    ],
-    "clientTemplates": [],
-    "browserSecurityHeaders": {
-      "xContentTypeOptions": "nosniff",
-      "xFrameOptions": "SAMEORIGIN",
-      "contentSecurityPolicy": "frame-src 'self'"
-    },
-    "smtpServer": {},
-    "eventsEnabled": false,
-    "eventsListeners": [
-      "jboss-logging"
-    ],
-    "enabledEventTypes": [],
-    "adminEventsEnabled": false,
-    "adminEventsDetailsEnabled": false,
-    "components": {},
-    "internationalizationEnabled": false,
-    "supportedLocales": [],
-    "authenticationFlows": [
-      {
-        "id": "7823af6c-d339-4b0c-a786-83d7dbba3052",
-        "alias": "Handle Existing Account",
-        "description": "Handle what to do if there is existing account with same email/username like authenticated identity provider",
-        "providerId": "basic-flow",
-        "topLevel": false,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "idp-confirm-link",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "idp-email-verification",
-            "requirement": "ALTERNATIVE",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "requirement": "ALTERNATIVE",
-            "priority": 30,
-            "flowAlias": "Verify Existing Account by Re-authentication",
-            "userSetupAllowed": false,
-            "autheticatorFlow": true
-          }
-        ]
-      },
-      {
-        "id": "506407b8-40db-4e67-99f7-4d21549a72ea",
-        "alias": "Verify Existing Account by Re-authentication",
-        "description": "Reauthentication of existing account",
-        "providerId": "basic-flow",
-        "topLevel": false,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "idp-username-password-form",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "auth-otp-form",
-            "requirement": "OPTIONAL",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "f5ab7c19-2940-4b1d-8ce3-cca8014501a3",
-        "alias": "browser",
-        "description": "browser based authentication",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "auth-cookie",
-            "requirement": "ALTERNATIVE",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "auth-spnego",
-            "requirement": "DISABLED",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "identity-provider-redirector",
-            "requirement": "ALTERNATIVE",
-            "priority": 25,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "requirement": "ALTERNATIVE",
-            "priority": 30,
-            "flowAlias": "forms",
-            "userSetupAllowed": false,
-            "autheticatorFlow": true
-          }
-        ]
-      },
-      {
-        "id": "a0dca221-6b16-447c-960b-50d0231a579b",
-        "alias": "clients",
-        "description": "Base authentication for clients",
-        "providerId": "client-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "client-secret",
-            "requirement": "ALTERNATIVE",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "client-jwt",
-            "requirement": "ALTERNATIVE",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "2fc9e6fe-23e4-4d5d-8de7-7df4352cc92f",
-        "alias": "direct grant",
-        "description": "OpenID Connect Resource Owner Grant",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "direct-grant-validate-username",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "direct-grant-validate-password",
-            "requirement": "REQUIRED",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "direct-grant-validate-otp",
-            "requirement": "OPTIONAL",
-            "priority": 30,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "8e4c82e6-1981-4877-b97a-4ef5c1981d05",
-        "alias": "first broker login",
-        "description": "Actions taken after first broker login with identity provider account, which is not yet linked to any Keycloak account",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticatorConfig": "review profile config",
-            "authenticator": "idp-review-profile",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticatorConfig": "create unique user config",
-            "authenticator": "idp-create-user-if-unique",
-            "requirement": "ALTERNATIVE",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "requirement": "ALTERNATIVE",
-            "priority": 30,
-            "flowAlias": "Handle Existing Account",
-            "userSetupAllowed": false,
-            "autheticatorFlow": true
-          }
-        ]
-      },
-      {
-        "id": "10f78331-e0d5-4a99-be02-7fc1f5d31215",
-        "alias": "forms",
-        "description": "Username, password, otp and other auth forms.",
-        "providerId": "basic-flow",
-        "topLevel": false,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "auth-username-password-form",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "auth-otp-form",
-            "requirement": "OPTIONAL",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "f6a0beb4-7fd1-4c83-afe9-44518f45ed7b",
-        "alias": "registration",
-        "description": "registration flow",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "registration-page-form",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "flowAlias": "registration form",
-            "userSetupAllowed": false,
-            "autheticatorFlow": true
-          }
-        ]
-      },
-      {
-        "id": "b4029db6-dc6e-44a5-b685-86e394ff7dfb",
-        "alias": "registration form",
-        "description": "registration form",
-        "providerId": "form-flow",
-        "topLevel": false,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "registration-user-creation",
-            "requirement": "REQUIRED",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "registration-profile-action",
-            "requirement": "REQUIRED",
-            "priority": 40,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "registration-password-action",
-            "requirement": "REQUIRED",
-            "priority": 50,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "registration-recaptcha-action",
-            "requirement": "DISABLED",
-            "priority": 60,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "2758d06b-35da-43a7-83dc-ec02e5ffc1be",
-        "alias": "reset credentials",
-        "description": "Reset credentials for a user if they forgot their password or something",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "reset-credentials-choose-user",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "reset-credential-email",
-            "requirement": "REQUIRED",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "reset-password",
-            "requirement": "REQUIRED",
-            "priority": 30,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "reset-otp",
-            "requirement": "OPTIONAL",
-            "priority": 40,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "b1927d79-54d8-4b5f-a01a-f4d5be8d3769",
-        "alias": "saml ecp",
-        "description": "SAML ECP Profile Authentication Flow",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "http-basic-authenticator",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      }
-    ],
-    "authenticatorConfig": [
-      {
-        "id": "e40c22b1-546d-4df6-8798-dca761db8cf0",
-        "alias": "create unique user config",
-        "config": {
-          "require.password.update.after.registration": "false"
-        }
-      },
-      {
-        "id": "bacdeb1b-bfc5-4adc-9a3e-798d8dd6a6da",
-        "alias": "review profile config",
-        "config": {
-          "update.profile.on.first.login": "missing"
-        }
-      }
-    ],
-    "requiredActions": [
-      {
-        "alias": "CONFIGURE_TOTP",
-        "name": "Configure OTP",
-        "providerId": "CONFIGURE_TOTP",
-        "enabled": true,
-        "defaultAction": false,
-        "config": {}
-      },
-      {
-        "alias": "UPDATE_PASSWORD",
-        "name": "Update Password",
-        "providerId": "UPDATE_PASSWORD",
-        "enabled": true,
-        "defaultAction": false,
-        "config": {}
-      },
-      {
-        "alias": "UPDATE_PROFILE",
-        "name": "Update Profile",
-        "providerId": "UPDATE_PROFILE",
-        "enabled": true,
-        "defaultAction": false,
-        "config": {}
-      },
-      {
-        "alias": "VERIFY_EMAIL",
-        "name": "Verify Email",
-        "providerId": "VERIFY_EMAIL",
-        "enabled": true,
-        "defaultAction": false,
-        "config": {}
-      },
-      {
-        "alias": "terms_and_conditions",
-        "name": "Terms and Conditions",
-        "providerId": "terms_and_conditions",
-        "enabled": false,
-        "defaultAction": false,
-        "config": {}
-      }
-    ],
-    "browserFlow": "browser",
-    "registrationFlow": "registration",
-    "directGrantFlow": "direct grant",
-    "resetCredentialsFlow": "reset credentials",
-    "clientAuthenticationFlow": "clients",
-    "attributes": {
-      "_browser_header.xFrameOptions": "SAMEORIGIN",
-      "failureFactor": "30",
-      "quickLoginCheckMilliSeconds": "1000",
-      "maxDeltaTimeSeconds": "43200",
-      "displayName": "Keycloak",
-      "_browser_header.xContentTypeOptions": "nosniff",
-      "bruteForceProtected": "false",
-      "maxFailureWaitSeconds": "900",
-      "_browser_header.contentSecurityPolicy": "frame-src 'self'",
-      "minimumQuickLoginWaitSeconds": "60",
-      "displayNameHtml": "<div class=\"kc-logo-text\"><span>Keycloak</span></div>",
-      "waitIncrementSeconds": "60"
-    },
-    "keycloakVersion": "2.2.1.Final"
-  },
-  {
-    "id": "Migration",
-    "realm": "Migration",
-    "notBefore": 0,
-    "revokeRefreshToken": false,
-    "accessTokenLifespan": 300,
-    "accessTokenLifespanForImplicitFlow": 900,
-    "ssoSessionIdleTimeout": 1800,
-    "ssoSessionMaxLifespan": 36000,
-    "offlineSessionIdleTimeout": 2592000,
-    "accessCodeLifespan": 60,
-    "accessCodeLifespanUserAction": 300,
-    "accessCodeLifespanLogin": 1800,
-    "enabled": true,
-    "sslRequired": "external",
-    "registrationAllowed": false,
-    "registrationEmailAsUsername": false,
-    "rememberMe": false,
-    "verifyEmail": false,
-    "resetPasswordAllowed": false,
-    "editUsernameAllowed": false,
-    "bruteForceProtected": false,
-    "maxFailureWaitSeconds": 900,
-    "minimumQuickLoginWaitSeconds": 60,
-    "waitIncrementSeconds": 60,
-    "quickLoginCheckMilliSeconds": 1000,
-    "maxDeltaTimeSeconds": 43200,
-    "failureFactor": 30,
-    "privateKey": "MIIEpAIBAAKCAQEApt6gCllWkVTZ7fy/oRIx6Bxjt9x3eKKyKGFXvN4iaafrNqpYU9lcqPngWJ9DyXGqUf8RpjPaQWiLWLxjw3xGBqLk2E1/Frb9e/dy8rj//fHGq6bujN1iguzyFwxPGT5Asd7jflRI3qU04M8JE52PArqPhGL2Fn+FiSK5SWRIGm+hVL7Ck/E/tVxM25sFG1/UTQqvrROm4q76TmP8FsyZaTLVf7cCwW2QPIX0N5HTVb3QbBb5KIsk4kKmk/g7uUxS9r42tu533LISzRr5CTyWZAL2XFRuF2RrKdE8gwqkEubw6sDmB2mE0EoPdY1DUhBQgVP/5rwJrCtTsUBR2xdEYQIDAQABAoIBAFbbsNBSOlZBpYJUOmcb8nBQPrOYhXN8tGGCccn0klMOvcdhmcJjdPDbyCQ5Gm7DxJUTwNsTSHsdcNMKlJ9Pk5+msJnKlOl87KrXXbTsCQvlCrWUmb0nCzz9GvJWTOHl3oT3cND0DE4gDksqWR4luCgCdevCGzgQvrBoK6wBD+r578uEW3iw10hnJ0+wnGiw8IvPzE1a9xbY4HD8/QrYdaLxuLb/aC1PDuzrz0cOjnvPkrws5JrbUSnbFygJiOv1z4l2Q00uGIxlHtXdwQBnTZZjVi4vOec2BYSHffgwDYEZIglw1mnrV7y0N1nnPbtJK/cegIkXoBQHXm8Q99TrWMUCgYEA9au86qcwrXZZg5H4BpR5cpy0MSkcKDbA1aRL1cAyTCqJxsczlAtLhFADF+NhnlXj4y7gwDEYWrz064nF73I+ZGicvCiyOy+tCTugTyTGS+XR948ElDMS6PCUUXsotS3dKa0b3c9wd2mxeddTjq/ArfgEVZJ6fE1KtjLt9dtfA+8CgYEAreK3JsvjR5b/Xct28TghYUU7Qnasombb/shqqy8FOMjYUr5OUm/OjNIgoCqhOlE8oQDJ4dOZofNSa7tL+oM8Gmbal+E3fRzxnx/9/EC4QV6sVaPLTIyk7EPfKTcZuzH7+BNZtAziTxJw9d6YJQRbkpg92EZIEoR8iDj2Xs5xrK8CgYEAwMVWwwYX8zT3vn7ukTM2LRH7bsvkVUXJgJqgCwT6Mrv6SmkK9vL5+cPS+Y6pjdW1sRGauBSOGL1Grf/4ug/6F03jFt4UJM8fRyxreU7Q7sNSQ6AMpsGA6BnHODycz7ZCYa59PErG5FyiL4of/cm5Nolz1TXQOPNpWZiTEqVlZC8CgYA4YPbjVF4nuxSnU64H/hwMjsbtAM9uhI016cN0J3W4+J3zDhMU9X1x+Tts0wWdg/N1fGz4lIQOl3cUyRCUc/KL2OdtMS+tmDHbVyMho9ZaE5kq10W2Vy+uDz+O/HeSU12QDK4cC8Vgv+jyPy7zaZtLR6NduUPrBRvfiyCOkr8WrwKBgQCY0h4RCdNFhr0KKLLmJipAtV8wBCGcg1jY1KoWKQswbcykfBKwHbF6EooVqkRW0ITjWB7ZZCf8TnSUxe0NXCUAkVBrhzS4DScgtoSZYOOUaSHgOxpfwgnQ3oYotKi98Yg3IsaLs1j4RuPG5Sp1z6o+ELP1uvr8azyn9YlLa+523Q==",
-    "publicKey": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApt6gCllWkVTZ7fy/oRIx6Bxjt9x3eKKyKGFXvN4iaafrNqpYU9lcqPngWJ9DyXGqUf8RpjPaQWiLWLxjw3xGBqLk2E1/Frb9e/dy8rj//fHGq6bujN1iguzyFwxPGT5Asd7jflRI3qU04M8JE52PArqPhGL2Fn+FiSK5SWRIGm+hVL7Ck/E/tVxM25sFG1/UTQqvrROm4q76TmP8FsyZaTLVf7cCwW2QPIX0N5HTVb3QbBb5KIsk4kKmk/g7uUxS9r42tu533LISzRr5CTyWZAL2XFRuF2RrKdE8gwqkEubw6sDmB2mE0EoPdY1DUhBQgVP/5rwJrCtTsUBR2xdEYQIDAQAB",
-    "certificate": "MIICoTCCAYkCBgFXt/t9TjANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDDAlNaWdyYXRpb24wHhcNMTYxMDEyMDgxOTU0WhcNMjYxMDEyMDgyMTM0WjAUMRIwEAYDVQQDDAlNaWdyYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCm3qAKWVaRVNnt/L+hEjHoHGO33Hd4orIoYVe83iJpp+s2qlhT2Vyo+eBYn0PJcapR/xGmM9pBaItYvGPDfEYGouTYTX8Wtv1793LyuP/98carpu6M3WKC7PIXDE8ZPkCx3uN+VEjepTTgzwkTnY8Cuo+EYvYWf4WJIrlJZEgab6FUvsKT8T+1XEzbmwUbX9RNCq+tE6birvpOY/wWzJlpMtV/twLBbZA8hfQ3kdNVvdBsFvkoiyTiQqaT+Du5TFL2vja27nfcshLNGvkJPJZkAvZcVG4XZGsp0TyDCqQS5vDqwOYHaYTQSg91jUNSEFCBU//mvAmsK1OxQFHbF0RhAgMBAAEwDQYJKoZIhvcNAQELBQADggEBAFtPdVUB65dAP6v2wu8idPkkqRaP5gmcOuOt2+8/slx7RvO/FFwzFvAqroqmpaKJ53daewZwIG4Wzu4lziqYnD3F3YoqxqUY8ID58SLm9a6XF6aYka7TxXJnZgmy7v1ZWcbbTinvUC7S1m23imT7779cWj5NkkXSM/R+RWB8ZAQCpy9pg7iElAMTlqAp31pCntNG3l1O13A6t5eN3Af474T0FjVaXIEG/PLcRmF/5kTwmkYy5Av1v2vmyLBYXKNUrWwjeTGEEX0+j9AkcF79D1GpdKZpvuC0wxOrOgHLiR9DpGucMJajx+RA8zbAAj5C1A5JfkKBZPh2jMQ06c2eAAM=",
-    "codeSecret": "be7e5acb-ad90-4c01-8dfe-c78cc492b752",
-    "roles": {
-      "realm": [
-        {
-          "id": "a3e9f038-0c6d-4024-8a2a-ce3958c7afbb",
-          "name": "offline_access",
-          "description": "${role_offline-access}",
-          "scopeParamRequired": true,
-          "composite": false,
-          "clientRole": false,
-          "containerId": "Migration"
-        },
-        {
-          "id": "fb9bc1ec-b542-40c5-a49b-b71b985fa545",
-          "name": "migration-test-realm-role",
-          "scopeParamRequired": false,
-          "composite": false,
-          "clientRole": false,
-          "containerId": "Migration"
-        },
-        {
-          "id": "5291ac52-5bc2-4e0c-900f-907718ff4fbe",
-          "name": "uma_authorization",
-          "description": "${role_uma_authorization}",
-          "scopeParamRequired": false,
-          "composite": false,
-          "clientRole": false,
-          "containerId": "Migration"
-        }
-      ],
-      "client": {
-        "migration-test-client": [
-          {
-            "id": "36a5eb7f-8bca-441c-bb60-32a8f6762886",
-            "name": "migration-test-client-role",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "f66de6ed-4fd8-47b6-a2db-85ab8ed88874"
-          }
-        ],
-        "realm-management": [
-          {
-            "id": "a14c386a-09d2-463b-9bd5-de6b3bd4e84d",
-            "name": "manage-users",
-            "description": "${role_manage-users}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6bb0386c-713a-4517-8e01-4fa310e7d132"
-          },
-          {
-            "id": "6b0cab01-7222-48e1-8dc8-49f406c0de4c",
-            "name": "manage-realm",
-            "description": "${role_manage-realm}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6bb0386c-713a-4517-8e01-4fa310e7d132"
-          },
-          {
-            "id": "cc218701-6d4f-4caf-a3ab-bed15e45b366",
-            "name": "manage-authorization",
-            "description": "${role_manage-authorization}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6bb0386c-713a-4517-8e01-4fa310e7d132"
-          },
-          {
-            "id": "c8fdf4fb-e568-44eb-8ea3-08b4397220b8",
-            "name": "realm-admin",
-            "description": "${role_realm-admin}",
-            "scopeParamRequired": false,
-            "composite": true,
-            "composites": {
-              "client": {
-                "realm-management": [
-                  "manage-users",
-                  "manage-realm",
-                  "manage-authorization",
-                  "create-client",
-                  "view-users",
-                  "manage-clients",
-                  "view-identity-providers",
-                  "impersonation",
-                  "manage-identity-providers",
-                  "view-authorization",
-                  "view-realm",
-                  "view-events",
-                  "manage-events",
-                  "view-clients"
-                ]
-              }
-            },
-            "clientRole": true,
-            "containerId": "6bb0386c-713a-4517-8e01-4fa310e7d132"
-          },
-          {
-            "id": "ceb11666-b2bc-43b5-9624-71518c8dfcd0",
-            "name": "create-client",
-            "description": "${role_create-client}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6bb0386c-713a-4517-8e01-4fa310e7d132"
-          },
-          {
-            "id": "db7d163e-1f09-4a30-ad59-9c07ffb865d1",
-            "name": "view-users",
-            "description": "${role_view-users}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6bb0386c-713a-4517-8e01-4fa310e7d132"
-          },
-          {
-            "id": "a56c4f3b-9dcb-4638-9aa5-1b1a1830cf92",
-            "name": "manage-clients",
-            "description": "${role_manage-clients}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6bb0386c-713a-4517-8e01-4fa310e7d132"
-          },
-          {
-            "id": "dad6affc-1150-4d13-95b0-ff8edd777f65",
-            "name": "view-identity-providers",
-            "description": "${role_view-identity-providers}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6bb0386c-713a-4517-8e01-4fa310e7d132"
-          },
-          {
-            "id": "96a324fc-98eb-44e4-9d12-6cac3ec378b0",
-            "name": "impersonation",
-            "description": "${role_impersonation}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6bb0386c-713a-4517-8e01-4fa310e7d132"
-          },
-          {
-            "id": "78c8c350-f780-4ee7-a28f-89714b2b090a",
-            "name": "manage-identity-providers",
-            "description": "${role_manage-identity-providers}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6bb0386c-713a-4517-8e01-4fa310e7d132"
-          },
-          {
-            "id": "145d8ccc-a362-4f1e-9f7a-aeb84d97ecaa",
-            "name": "view-authorization",
-            "description": "${role_view-authorization}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6bb0386c-713a-4517-8e01-4fa310e7d132"
-          },
-          {
-            "id": "b8bd959b-e257-4a24-8eb1-8f00f5c66d0f",
-            "name": "view-realm",
-            "description": "${role_view-realm}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6bb0386c-713a-4517-8e01-4fa310e7d132"
-          },
-          {
-            "id": "caeb8f51-31a3-4ee7-92aa-5de34181aa0f",
-            "name": "view-events",
-            "description": "${role_view-events}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6bb0386c-713a-4517-8e01-4fa310e7d132"
-          },
-          {
-            "id": "366566bb-1f9a-48e4-85b7-dc02743565bb",
-            "name": "manage-events",
-            "description": "${role_manage-events}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6bb0386c-713a-4517-8e01-4fa310e7d132"
-          },
-          {
-            "id": "9777ea7d-e685-4459-afac-3bb4f7ae29b7",
-            "name": "view-clients",
-            "description": "${role_view-clients}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6bb0386c-713a-4517-8e01-4fa310e7d132"
-          }
-        ],
-        "security-admin-console": [],
-        "admin-cli": [],
-        "broker": [
-          {
-            "id": "0e7f7179-a961-4190-8433-f85ede61031a",
-            "name": "read-token",
-            "description": "${role_read-token}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "da532f35-4b28-477d-a7db-2f7274ea48f7"
-          }
-        ],
-        "account": [
-          {
-            "id": "5c9fe6a8-1df0-447f-b873-4bdcf697f955",
-            "name": "manage-account",
-            "description": "${role_manage-account}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "1c308aba-8941-4265-9823-b6e28c7f7b17"
-          },
-          {
-            "id": "39a3116c-cf79-44b9-9690-4f9334f6bc86",
-            "name": "view-profile",
-            "description": "${role_view-profile}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "1c308aba-8941-4265-9823-b6e28c7f7b17"
-          }
-        ]
-      }
-    },
-    "groups": [
-      {
-        "id": "6dcb8223-1027-4553-bac5-bfccc144fe27",
-        "name": "migration-test-group",
-        "path": "/migration-test-group",
-        "attributes": {},
-        "realmRoles": [],
-        "clientRoles": {},
-        "subGroups": []
-      }
-    ],
-    "defaultRoles": [
-      "offline_access",
-      "uma_authorization"
-    ],
-    "requiredCredentials": [
-      "password"
-    ],
-    "passwordPolicy": "hashIterations(20000)",
-    "otpPolicyType": "totp",
-    "otpPolicyAlgorithm": "HmacSHA1",
-    "otpPolicyInitialCounter": 0,
-    "otpPolicyDigits": 6,
-    "otpPolicyLookAheadWindow": 1,
-    "otpPolicyPeriod": 30,
-    "users": [
-      {
-        "id": "16c81f28-bd69-4f30-b640-5cc9c02a85e8",
-        "createdTimestamp": 1476265711098,
-        "username": "migration-test-user",
-        "enabled": true,
-        "totp": false,
-        "emailVerified": false,
-        "credentials": [],
-        "requiredActions": [],
-        "realmRoles": [
-          "offline_access",
-          "uma_authorization"
-        ],
-        "clientRoles": {
-          "account": [
-            "manage-account",
-            "view-profile"
-          ]
-        },
-        "groups": [
-          "/migration-test-group"
-        ]
-      }
-    ],
-    "clientScopeMappings": {
-      "realm-management": [
-        {
-          "client": "admin-cli",
-          "roles": [
-            "realm-admin"
-          ]
-        },
-        {
-          "client": "security-admin-console",
-          "roles": [
-            "realm-admin"
-          ]
-        }
-      ]
-    },
-    "clients": [
-      {
-        "id": "1c308aba-8941-4265-9823-b6e28c7f7b17",
-        "clientId": "account",
-        "name": "${client_account}",
-        "baseUrl": "/auth/realms/Migration/account",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "217ce7f0-4c45-4228-b2df-044f3bb498cf",
-        "defaultRoles": [
-          "view-profile",
-          "manage-account"
-        ],
-        "redirectUris": [
-          "/auth/realms/Migration/account/*"
-        ],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": false,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": false,
-        "serviceAccountsEnabled": false,
-        "publicClient": false,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": false,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "84855aa2-c0a3-44db-80ac-78754d0c18f8",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "cbbca1ca-b4ee-442b-8ad2-909fa4ddc85a",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          },
-          {
-            "id": "857fb389-fd9e-4cf0-8e05-34bf9ece9f07",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "5c79b188-32a0-4426-806e-29e62caa32d7",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "c8224845-17eb-4619-8b22-4f3a5a7cb079",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "6b415e67-09fb-4b4f-961a-2f3da4e63bf4",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "2fd75437-c7e4-47b5-883b-d99587897209",
-        "clientId": "admin-cli",
-        "name": "${client_admin-cli}",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "ee6fac46-0b19-44f2-a1f7-9bea4970fb58",
-        "redirectUris": [],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": false,
-        "consentRequired": false,
-        "standardFlowEnabled": false,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": true,
-        "serviceAccountsEnabled": false,
-        "publicClient": true,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": false,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "3b31c05a-bf21-4f60-83f8-6795bd8391f8",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "78471104-c0ff-4c31-9bb3-e9dbab5406df",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "e6d1b456-12a8-4d81-8d60-21fd2141788e",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          },
-          {
-            "id": "8fe4300c-5553-410c-9966-57f47e556a04",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "3fae5696-2043-4e24-8d87-289d998fd0f0",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "891904ca-7202-4d60-a6bd-e7f504f6010c",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "da532f35-4b28-477d-a7db-2f7274ea48f7",
-        "clientId": "broker",
-        "name": "${client_broker}",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "cf35eaa4-5e01-4f16-9d23-986372647a71",
-        "redirectUris": [],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": false,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": false,
-        "serviceAccountsEnabled": false,
-        "publicClient": false,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": false,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "9aa1d878-da61-40da-b73f-3793b9c17d68",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "84ec378e-36f2-4414-be34-66b5d06c65e6",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "e72ee94c-0072-47ca-9ad2-0954445f7667",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "72d559cb-b690-4304-b566-07ab55588c99",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          },
-          {
-            "id": "76988187-9a0a-4061-9774-41d634ec3ea2",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "c17a2767-4293-494c-a362-0e847de0a4dd",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "f66de6ed-4fd8-47b6-a2db-85ab8ed88874",
-        "clientId": "migration-test-client",
-        "name": "migration-test-client",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "bd3f70d6-90e6-4b74-af6c-9b3033278fce",
-        "redirectUris": [],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": false,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": true,
-        "serviceAccountsEnabled": false,
-        "publicClient": true,
-        "frontchannelLogout": false,
-        "protocol": "openid-connect",
-        "attributes": {},
-        "fullScopeAllowed": true,
-        "nodeReRegistrationTimeout": -1,
-        "protocolMappers": [
-          {
-            "id": "5171152e-dd9f-407b-be11-9196a28f482a",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          },
-          {
-            "id": "ed034217-f9e9-4e48-804b-0baa396ae2c4",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "312634ad-55d6-46d8-8a78-723c68441aa1",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "94b49a0f-f16d-4250-adf4-1c2fda791cfb",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "2da7a537-d084-4374-9ada-1c94126fb962",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "8463d358-4d1f-41da-a45e-bbca6abfd416",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "6bb0386c-713a-4517-8e01-4fa310e7d132",
-        "clientId": "realm-management",
-        "name": "${client_realm-management}",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "643e32b1-22df-4ac1-997c-a1b9af2637ef",
-        "redirectUris": [],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": true,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": false,
-        "serviceAccountsEnabled": false,
-        "publicClient": false,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": false,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "cfe9b2e9-cccf-4c97-9dfe-322938cbec9c",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "d0edd4ec-9690-4831-bfba-3a6f9535548c",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "fbc372ad-376d-4ffe-92ae-b2df1ca771b6",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "663b75c7-e950-422e-aac3-7e6e1b9c4eec",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          },
-          {
-            "id": "492e1fec-977b-4ada-975f-299b988b7d98",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "00815074-9343-4a44-b769-368e5efa11b4",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "b285ef2d-c740-4241-984c-254744d50cc1",
-        "clientId": "security-admin-console",
-        "name": "${client_security-admin-console}",
-        "baseUrl": "/auth/admin/Migration/console/index.html",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "36ca6c8e-ad8f-4084-ae98-57306af41d48",
-        "redirectUris": [
-          "/auth/admin/Migration/console/*"
-        ],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": false,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": false,
-        "serviceAccountsEnabled": false,
-        "publicClient": true,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": false,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "ba00003e-72dd-42e4-8927-0c6ff655fd11",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "8f73c93d-5a8e-4925-bbd4-820b833be1d0",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "b4f30163-45a5-4cc3-a5ad-f67f583f2c3d",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "eca008f7-91f1-4b98-b0e6-58785082b9f1",
-            "name": "locale",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-attribute-mapper",
-            "consentRequired": false,
-            "consentText": "${locale}",
-            "config": {
-              "user.attribute": "locale",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "locale",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "9680486b-b829-4621-89b5-56a53cfedf58",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "3f0ef567-5cc2-4789-b21f-4bd861af512f",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "46f19d94-672a-403f-ab2f-0ccae755c1de",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      }
-    ],
-    "clientTemplates": [],
-    "browserSecurityHeaders": {
-      "xContentTypeOptions": "nosniff",
-      "xFrameOptions": "SAMEORIGIN",
-      "contentSecurityPolicy": "frame-src 'self'"
-    },
-    "smtpServer": {},
-    "eventsEnabled": false,
-    "eventsListeners": [
-      "jboss-logging"
-    ],
-    "enabledEventTypes": [],
-    "adminEventsEnabled": false,
-    "adminEventsDetailsEnabled": false,
-    "components": {},
-    "internationalizationEnabled": false,
-    "supportedLocales": [],
-    "authenticationFlows": [
-      {
-        "id": "efc32428-2d66-4eab-9c72-3d3072bfe123",
-        "alias": "Handle Existing Account",
-        "description": "Handle what to do if there is existing account with same email/username like authenticated identity provider",
-        "providerId": "basic-flow",
-        "topLevel": false,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "idp-confirm-link",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "idp-email-verification",
-            "requirement": "ALTERNATIVE",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "requirement": "ALTERNATIVE",
-            "priority": 30,
-            "flowAlias": "Verify Existing Account by Re-authentication",
-            "userSetupAllowed": false,
-            "autheticatorFlow": true
-          }
-        ]
-      },
-      {
-        "id": "9e760226-9a88-4fc8-adb0-db9c39cdcbc9",
-        "alias": "Verify Existing Account by Re-authentication",
-        "description": "Reauthentication of existing account",
-        "providerId": "basic-flow",
-        "topLevel": false,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "idp-username-password-form",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "auth-otp-form",
-            "requirement": "OPTIONAL",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "f8b31433-d2b0-424a-b800-cc20e7276113",
-        "alias": "browser",
-        "description": "browser based authentication",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "auth-cookie",
-            "requirement": "ALTERNATIVE",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "auth-spnego",
-            "requirement": "DISABLED",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "identity-provider-redirector",
-            "requirement": "ALTERNATIVE",
-            "priority": 25,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "requirement": "ALTERNATIVE",
-            "priority": 30,
-            "flowAlias": "forms",
-            "userSetupAllowed": false,
-            "autheticatorFlow": true
-          }
-        ]
-      },
-      {
-        "id": "d616b91c-5e69-4792-a770-41bdbfeca227",
-        "alias": "clients",
-        "description": "Base authentication for clients",
-        "providerId": "client-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "client-secret",
-            "requirement": "ALTERNATIVE",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "client-jwt",
-            "requirement": "ALTERNATIVE",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "7be60a19-1b3e-4255-9ce5-44fa90694e4e",
-        "alias": "direct grant",
-        "description": "OpenID Connect Resource Owner Grant",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "direct-grant-validate-username",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "direct-grant-validate-password",
-            "requirement": "REQUIRED",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "direct-grant-validate-otp",
-            "requirement": "OPTIONAL",
-            "priority": 30,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "ac2fe144-8e41-4c59-be25-38532b7fdc7b",
-        "alias": "first broker login",
-        "description": "Actions taken after first broker login with identity provider account, which is not yet linked to any Keycloak account",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticatorConfig": "review profile config",
-            "authenticator": "idp-review-profile",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticatorConfig": "create unique user config",
-            "authenticator": "idp-create-user-if-unique",
-            "requirement": "ALTERNATIVE",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "requirement": "ALTERNATIVE",
-            "priority": 30,
-            "flowAlias": "Handle Existing Account",
-            "userSetupAllowed": false,
-            "autheticatorFlow": true
-          }
-        ]
-      },
-      {
-        "id": "024d04a3-e497-429b-9599-c7baadb1ddbc",
-        "alias": "forms",
-        "description": "Username, password, otp and other auth forms.",
-        "providerId": "basic-flow",
-        "topLevel": false,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "auth-username-password-form",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "auth-otp-form",
-            "requirement": "OPTIONAL",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "0d08b35b-3aa9-4291-baf2-fd272113bdf5",
-        "alias": "registration",
-        "description": "registration flow",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "registration-page-form",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "flowAlias": "registration form",
-            "userSetupAllowed": false,
-            "autheticatorFlow": true
-          }
-        ]
-      },
-      {
-        "id": "85945bc3-661b-4c0b-bb38-415e71c858d6",
-        "alias": "registration form",
-        "description": "registration form",
-        "providerId": "form-flow",
-        "topLevel": false,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "registration-user-creation",
-            "requirement": "REQUIRED",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "registration-profile-action",
-            "requirement": "REQUIRED",
-            "priority": 40,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "registration-password-action",
-            "requirement": "REQUIRED",
-            "priority": 50,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "registration-recaptcha-action",
-            "requirement": "DISABLED",
-            "priority": 60,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "0603f7b0-5da7-4f06-a5b9-f74b996e6e4a",
-        "alias": "reset credentials",
-        "description": "Reset credentials for a user if they forgot their password or something",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "reset-credentials-choose-user",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "reset-credential-email",
-            "requirement": "REQUIRED",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "reset-password",
-            "requirement": "REQUIRED",
-            "priority": 30,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "reset-otp",
-            "requirement": "OPTIONAL",
-            "priority": 40,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "2053759f-2888-488d-bde2-17470e18973d",
-        "alias": "saml ecp",
-        "description": "SAML ECP Profile Authentication Flow",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "http-basic-authenticator",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      }
-    ],
-    "authenticatorConfig": [
-      {
-        "id": "e8986891-5123-489c-8693-062442567069",
-        "alias": "create unique user config",
-        "config": {
-          "require.password.update.after.registration": "false"
-        }
-      },
-      {
-        "id": "6ad5443c-6b33-4507-a339-e0399c3e5a59",
-        "alias": "review profile config",
-        "config": {
-          "update.profile.on.first.login": "missing"
-        }
-      }
-    ],
-    "requiredActions": [
-      {
-        "alias": "CONFIGURE_TOTP",
-        "name": "Configure OTP",
-        "providerId": "CONFIGURE_TOTP",
-        "enabled": true,
-        "defaultAction": false,
-        "config": {}
-      },
-      {
-        "alias": "UPDATE_PASSWORD",
-        "name": "Update Password",
-        "providerId": "UPDATE_PASSWORD",
-        "enabled": true,
-        "defaultAction": false,
-        "config": {}
-      },
-      {
-        "alias": "UPDATE_PROFILE",
-        "name": "Update Profile",
-        "providerId": "UPDATE_PROFILE",
-        "enabled": true,
-        "defaultAction": false,
-        "config": {}
-      },
-      {
-        "alias": "VERIFY_EMAIL",
-        "name": "Verify Email",
-        "providerId": "VERIFY_EMAIL",
-        "enabled": true,
-        "defaultAction": false,
-        "config": {}
-      },
-      {
-        "alias": "terms_and_conditions",
-        "name": "Terms and Conditions",
-        "providerId": "terms_and_conditions",
-        "enabled": false,
-        "defaultAction": false,
-        "config": {}
-      }
-    ],
-    "browserFlow": "browser",
-    "registrationFlow": "registration",
-    "directGrantFlow": "direct grant",
-    "resetCredentialsFlow": "reset credentials",
-    "clientAuthenticationFlow": "clients",
-    "attributes": {
-      "_browser_header.xFrameOptions": "SAMEORIGIN",
-      "failureFactor": "30",
-      "quickLoginCheckMilliSeconds": "1000",
-      "maxDeltaTimeSeconds": "43200",
-      "_browser_header.xContentTypeOptions": "nosniff",
-      "bruteForceProtected": "false",
-      "maxFailureWaitSeconds": "900",
-      "_browser_header.contentSecurityPolicy": "frame-src 'self'",
-      "minimumQuickLoginWaitSeconds": "60",
-      "waitIncrementSeconds": "60"
-    },
-    "keycloakVersion": "2.2.1.Final"
-  },
-  {
-    "id": "master",
-    "realm": "master",
-    "displayName": "Keycloak",
-    "displayNameHtml": "<div class=\"kc-logo-text\"><span>Keycloak</span></div>",
-    "notBefore": 0,
-    "revokeRefreshToken": false,
-    "accessTokenLifespan": 60,
-    "accessTokenLifespanForImplicitFlow": 900,
-    "ssoSessionIdleTimeout": 1800,
-    "ssoSessionMaxLifespan": 36000,
-    "offlineSessionIdleTimeout": 2592000,
-    "accessCodeLifespan": 60,
-    "accessCodeLifespanUserAction": 300,
-    "accessCodeLifespanLogin": 1800,
-    "enabled": true,
-    "sslRequired": "external",
-    "registrationAllowed": false,
-    "registrationEmailAsUsername": false,
-    "rememberMe": false,
-    "verifyEmail": false,
-    "resetPasswordAllowed": false,
-    "editUsernameAllowed": false,
-    "bruteForceProtected": false,
-    "maxFailureWaitSeconds": 900,
-    "minimumQuickLoginWaitSeconds": 60,
-    "waitIncrementSeconds": 60,
-    "quickLoginCheckMilliSeconds": 1000,
-    "maxDeltaTimeSeconds": 43200,
-    "failureFactor": 30,
-    "privateKey": "MIIEowIBAAKCAQEAiU54OXoCbHy0L0gHn1yasctcnKHRU1pHFIJnWvaI7rClJydet9dDJaiYXOxMKseiBm3eYznfN3cPyU8udYmRnMuKjiocZ77LT2IEttAjXb6Ggazx7loriFHRy0IOJeX4KxXhAPWmxqa3mkFNfLBEvFqVaBgUDHQ60cmnPvNSHYudBTW9K80s8nvmP2pso7HTwWJ1+Xatj1Ey/gTmB3CXlyqBegGWC9TeuErEYpYhdh+11TVWasgMBZyUCtL3NRPaBuhaPg1LpW8lWGk05nS+YM6dvTk3Mppv+z2RygEpxyO09oT3b4G+Zfwit1STqn0AvDTGzINdoKcNtFScV0j8TwIDAQABAoIBAHcbPKsPLZ8SJfOF1iblW8OzFulAbaaSf2pJHIMJrQrw7LKkMkPjVXoLX+/rgr7xYZmWIP2OLBWfEHCeYTzQUyHiZpSf7vgHx7Fa45/5uVQOe/ttHIiYa37bCtP4vvEdJkOpvP7qGPvljwsebqsk9Ns28LfVez66bHOjK5Mt2yOIulbTeEs7ch//h39YwKJv96vc+CHbV2O6qoOxZessO6y+287cOBvbFXmS2GaGle5Nx/EwncBNS4b7czoetmm70+9ht3yX+kxaP311YUT31KQjuaJt275kOiKsrXr27PvgO++bsIyGuSzqyS7G7fmxF2zUyphEqEpalyDGMKMnrAECgYEA1fCgFox03rPDjm0MhW/ThoS2Ld27sbWQ6reS+PBMdUTJZVZIU1D2//h6VXDnlddhk6avKjA4smdy1aDKzmjz3pt9AKn+kgkXqtTC2fD3wp+fC9hND0z+rQPGe/Gk7ZUnTdsqnfyowxr+woIgzdnRukOUrG+xQiP3RUUT7tt6NQECgYEApEz2xvgqMm+9/f/YxjLdsFUfLqc4WlafB863stYEVqlCYy5ujyo0VQ0ahKSKJkLDnf52+aMUqPOpwaGePpu3O6VkvpcKfPY2MUlZW7/6Sa9et9hxNkdTS7Gui2d1ELpaCBe1Bc62sk8EA01iHXE1PpvyUqDWrhNh+NrDICA9oU8CgYBgGDYACtTP11TmW2r9YK5VRLUDww30k4ZlN1GnyV++aMhBYVEZQ0u+y+A/EnijIFwu0vbo70H4OGknNZMCxbeMbLDoJHM5KyZbUDe5ZvgSjloFGwH59m6KTiDQOUkIgi9mVCQ/VGaFRFHcElEjxUvj60kTbxPijn8ZuR5r8l9hAQKBgQCQ9jL5pHWeoIayN20smi6M6N2lTPbkhe60dcgQatHTIG2pkosLl8IqlHAkPgSB84AiwyR351JQKwRJCm7TcJI/dxMnMZ6YWKfB3qSP1hdfsfJRJQ/mQxIUBAYrizF3e+P5peka4aLCOgMhYsJBlePThMZN7wja99EGPwXQL4IQ8wKBgB8Nis1lQK6Z30GCp9u4dYleGfEP71Lwqvk/eJb89/uz0fjF9CTpJMULFc+nA5u4yHP3LFnRg3zCU6aEwfwUyk4GH9lWGV/qIAisQtgrCEraVe4qxz0DVE59C7qjO26IhU2U66TEzPAqvQ3zqey+woDn/cz/JMWK1vpcSk+TKn3K",
-    "publicKey": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiU54OXoCbHy0L0gHn1yasctcnKHRU1pHFIJnWvaI7rClJydet9dDJaiYXOxMKseiBm3eYznfN3cPyU8udYmRnMuKjiocZ77LT2IEttAjXb6Ggazx7loriFHRy0IOJeX4KxXhAPWmxqa3mkFNfLBEvFqVaBgUDHQ60cmnPvNSHYudBTW9K80s8nvmP2pso7HTwWJ1+Xatj1Ey/gTmB3CXlyqBegGWC9TeuErEYpYhdh+11TVWasgMBZyUCtL3NRPaBuhaPg1LpW8lWGk05nS+YM6dvTk3Mppv+z2RygEpxyO09oT3b4G+Zfwit1STqn0AvDTGzINdoKcNtFScV0j8TwIDAQAB",
-    "certificate": "MIICmzCCAYMCBgFXt/Tg9TANBgkqhkiG9w0BAQsFADARMQ8wDQYDVQQDDAZtYXN0ZXIwHhcNMTYxMDEyMDgxMjQxWhcNMjYxMDEyMDgxNDIxWjARMQ8wDQYDVQQDDAZtYXN0ZXIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCJTng5egJsfLQvSAefXJqxy1ycodFTWkcUgmda9ojusKUnJ16310MlqJhc7Ewqx6IGbd5jOd83dw/JTy51iZGcy4qOKhxnvstPYgS20CNdvoaBrPHuWiuIUdHLQg4l5fgrFeEA9abGpreaQU18sES8WpVoGBQMdDrRyac+81Idi50FNb0rzSzye+Y/amyjsdPBYnX5dq2PUTL+BOYHcJeXKoF6AZYL1N64SsRiliF2H7XVNVZqyAwFnJQK0vc1E9oG6Fo+DUulbyVYaTTmdL5gzp29OTcymm/7PZHKASnHI7T2hPdvgb5l/CK3VJOqfQC8NMbMg12gpw20VJxXSPxPAgMBAAEwDQYJKoZIhvcNAQELBQADggEBAC54wFHL8tmrksq4OzatzNUM+R+3Hu/VXX3T44dwg0EvXzGW45sME+gKCuleU1PabIrr6oFm0bBMTdxgE2hbLWpYbU3OcsjArpCeCsOlxrAkqhVQN161J+tp77JkDMgArFdwe3wh5bhvLaOZSt6Fsq+oo16CXG1obe1feyaK3+sU3YuDUIHE01UYtvwtfDsYBC+VDyTdNDbB15WcdRoGljJY/JiT0JHdmAfq8qdGDuxGocIV0lSB8bO5JwF/WCmKqMrnh5j1NfGcE1g26Hbz2RmDs17X0K10Okzs/qz1YZqDjPVYiU//VFQQro71/D35dPOJv8mQMjhjNaXScL44h7w=",
-    "codeSecret": "4c59c2db-d9c3-4023-8cd5-8808fe854e98",
-    "roles": {
-      "realm": [
-        {
-          "id": "40dd3051-9581-479d-9ae0-80abd28b3f94",
-          "name": "create-realm",
-          "description": "${role_create-realm}",
-          "scopeParamRequired": false,
-          "composite": false,
-          "clientRole": false,
-          "containerId": "master"
-        },
-        {
-          "id": "b4693527-02c6-4e26-b1e2-b2249138304c",
-          "name": "master-test-realm-role",
-          "scopeParamRequired": false,
-          "composite": false,
-          "clientRole": false,
-          "containerId": "master"
-        },
-        {
-          "id": "5e030453-7094-42a5-8fd2-ce88c46c1172",
-          "name": "admin",
-          "description": "${role_admin}",
-          "scopeParamRequired": false,
-          "composite": true,
-          "composites": {
-            "realm": [
-              "create-realm"
-            ],
-            "client": {
-              "Migration-realm": [
-                "view-users",
-                "manage-users",
-                "view-clients",
-                "manage-identity-providers",
-                "manage-clients",
-                "impersonation",
-                "create-client",
-                "manage-events",
-                "manage-realm",
-                "view-realm",
-                "view-authorization",
-                "view-events",
-                "manage-authorization",
-                "view-identity-providers"
-              ],
-              "master-realm": [
-                "view-identity-providers",
-                "manage-realm",
-                "create-client",
-                "manage-users",
-                "impersonation",
-                "view-clients",
-                "manage-authorization",
-                "view-realm",
-                "manage-events",
-                "view-authorization",
-                "view-users",
-                "manage-identity-providers",
-                "view-events",
-                "manage-clients"
-              ]
-            }
-          },
-          "clientRole": false,
-          "containerId": "master"
-        },
-        {
-          "id": "311339f9-a82d-4960-a06a-63775649ac50",
-          "name": "uma_authorization",
-          "description": "${role_uma_authorization}",
-          "scopeParamRequired": false,
-          "composite": false,
-          "clientRole": false,
-          "containerId": "master"
-        },
-        {
-          "id": "dc09cba8-f24d-4731-9169-47a951e519eb",
-          "name": "offline_access",
-          "description": "${role_offline-access}",
-          "scopeParamRequired": true,
-          "composite": false,
-          "clientRole": false,
-          "containerId": "master"
-        }
-      ],
-      "client": {
-        "security-admin-console": [],
-        "master-test-client": [
-          {
-            "id": "9c25e418-2415-43f1-90ef-1627272e22ef",
-            "name": "master-test-client-role",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "6268e266-346b-46ba-8408-fe17b5792b10"
-          }
-        ],
-        "admin-cli": [],
-        "Migration-realm": [
-          {
-            "id": "4bd2a237-8e0e-4909-b8d5-f1635d442f3c",
-            "name": "manage-events",
-            "description": "${role_manage-events}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "0b9bb67b-16a3-4490-bd74-bf0aad1c43df",
-            "name": "manage-realm",
-            "description": "${role_manage-realm}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "2038d832-6869-4bdd-94d7-abb605ec117b",
-            "name": "view-realm",
-            "description": "${role_view-realm}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "85bcb1ac-257f-4d95-93e3-7f905c91bda0",
-            "name": "view-authorization",
-            "description": "${role_view-authorization}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "9c31faa8-e91d-4f71-ba5e-0cdb309a6c1b",
-            "name": "view-events",
-            "description": "${role_view-events}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "b7e97e07-c666-4e55-8c2b-127013fb70b2",
-            "name": "manage-authorization",
-            "description": "${role_manage-authorization}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "2567bcf2-532a-4950-95ec-18a8e993cbe8",
-            "name": "view-users",
-            "description": "${role_view-users}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "b3d7e97c-e6fe-418f-a354-7ad0c63efe72",
-            "name": "manage-users",
-            "description": "${role_manage-users}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "4881d187-699e-4130-9ca7-7afd71b7132f",
-            "name": "view-clients",
-            "description": "${role_view-clients}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "c22bb7bf-9a27-40e4-af54-f452a17eb532",
-            "name": "manage-identity-providers",
-            "description": "${role_manage-identity-providers}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "f694e360-1635-479e-b4d6-e71a8a615ab8",
-            "name": "view-identity-providers",
-            "description": "${role_view-identity-providers}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "b2f38b33-aad3-4086-8c23-dafee15439cb",
-            "name": "manage-clients",
-            "description": "${role_manage-clients}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "68b32df6-687f-4dd2-a93e-59f807cb3a4c",
-            "name": "impersonation",
-            "description": "${role_impersonation}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          },
-          {
-            "id": "500cae23-30a8-4221-96ca-1b4d15adae62",
-            "name": "create-client",
-            "description": "${role_create-client}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "c3aca840-5187-406e-9b1a-b62a57eb371a"
-          }
-        ],
-        "broker": [
-          {
-            "id": "fefd0452-1eb5-40f6-aaec-b65fe38ae9b9",
-            "name": "read-token",
-            "description": "${role_read-token}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "5bcab424-560b-4653-b490-b03db075ecda"
-          }
-        ],
-        "master-realm": [
-          {
-            "id": "c0303a3e-0663-4346-8321-85ebe587c0df",
-            "name": "view-events",
-            "description": "${role_view-events}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "08e2c729-09ee-42e0-8106-1a712f0f5d59",
-            "name": "view-identity-providers",
-            "description": "${role_view-identity-providers}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "0c339131-888a-4e00-a999-b2ac5cc8f891",
-            "name": "manage-realm",
-            "description": "${role_manage-realm}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "3310eabb-f4d5-40fd-9aee-84c658f3c66f",
-            "name": "create-client",
-            "description": "${role_create-client}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "e6217299-9180-4be5-83ec-1f92645fbf3e",
-            "name": "manage-users",
-            "description": "${role_manage-users}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "4aeeab55-7859-4fbb-8f98-fb20919c98b4",
-            "name": "impersonation",
-            "description": "${role_impersonation}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "1f8f140a-1574-4ee8-9b91-360b2ae76e1b",
-            "name": "view-clients",
-            "description": "${role_view-clients}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "181269dc-bfec-47d9-9946-6ebb9bbe36d6",
-            "name": "manage-authorization",
-            "description": "${role_manage-authorization}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "1d3757e9-167e-406c-93e6-5d30e9b819de",
-            "name": "view-realm",
-            "description": "${role_view-realm}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "abb6146d-1cd0-4d03-b74f-f448d8675409",
-            "name": "manage-events",
-            "description": "${role_manage-events}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "61486848-4bad-4ba2-bc46-bfae4a0a889f",
-            "name": "view-authorization",
-            "description": "${role_view-authorization}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "e2fc9a91-9415-41f9-b1cd-2f9456edb53e",
-            "name": "manage-clients",
-            "description": "${role_manage-clients}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "85131bab-8020-474f-bb70-76e78886df2b",
-            "name": "view-users",
-            "description": "${role_view-users}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          },
-          {
-            "id": "e8d6d361-b58a-4739-8747-687e5b1628e8",
-            "name": "manage-identity-providers",
-            "description": "${role_manage-identity-providers}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "470a14ef-efb5-4686-85a0-0738edd1f8d3"
-          }
-        ],
-        "account": [
-          {
-            "id": "d2bf38f4-09fe-473a-b33f-18c1ff674705",
-            "name": "manage-account",
-            "description": "${role_manage-account}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "08a0990d-8288-4ba7-ba1e-0828cd1e002a"
-          },
-          {
-            "id": "2f57d1ae-d6ca-488b-9395-ddf3f80e7c9d",
-            "name": "view-profile",
-            "description": "${role_view-profile}",
-            "scopeParamRequired": false,
-            "composite": false,
-            "clientRole": true,
-            "containerId": "08a0990d-8288-4ba7-ba1e-0828cd1e002a"
-          }
-        ]
-      }
-    },
-    "groups": [
-      {
-        "id": "e6a9423c-2140-4c31-ba18-dd517b2b900a",
-        "name": "master-test-group",
-        "path": "/master-test-group",
-        "attributes": {},
-        "realmRoles": [],
-        "clientRoles": {},
-        "subGroups": []
-      }
-    ],
-    "defaultRoles": [
-      "offline_access",
-      "uma_authorization"
-    ],
-    "requiredCredentials": [
-      "password"
-    ],
-    "passwordPolicy": "hashIterations(20000)",
-    "otpPolicyType": "totp",
-    "otpPolicyAlgorithm": "HmacSHA1",
-    "otpPolicyInitialCounter": 0,
-    "otpPolicyDigits": 6,
-    "otpPolicyLookAheadWindow": 1,
-    "otpPolicyPeriod": 30,
-    "users": [
-      {
-        "id": "c345ea0f-1c90-4a45-9b2f-96a381ca5a5b",
-        "createdTimestamp": 1476265539362,
-        "username": "admin",
-        "enabled": true,
-        "totp": false,
-        "emailVerified": false,
-        "credentials": [
-          {
-            "type": "password",
-            "hashedSaltedValue": "YwCkHJ6u5ZROE/WkQgI6NHvg06bkbOy5eaz8M9fnLDTajjZqQfZELI8NmrQecCPXY8/GEI9jN1gL/5Y3yulIVA==",
-            "salt": "MLKqip78LpUnPDBsNDAf8g==",
-            "hashIterations": 20000,
-            "counter": 0,
-            "algorithm": "pbkdf2",
-            "digits": 0,
-            "createdDate": 1476265539000
-          }
-        ],
-        "requiredActions": [],
-        "realmRoles": [
-          "admin",
-          "uma_authorization",
-          "offline_access"
-        ],
-        "clientRoles": {
-          "account": [
-            "manage-account",
-            "view-profile"
-          ]
-        },
-        "groups": []
-      },
-      {
-        "id": "f9d17688-5a5f-40f2-829b-4444ede51f6f",
-        "createdTimestamp": 1476265646817,
-        "username": "master-test-user",
-        "enabled": true,
-        "totp": false,
-        "emailVerified": false,
-        "credentials": [],
-        "requiredActions": [],
-        "realmRoles": [
-          "uma_authorization",
-          "offline_access"
-        ],
-        "clientRoles": {
-          "account": [
-            "manage-account",
-            "view-profile"
-          ]
-        },
-        "groups": [
-          "/master-test-group"
-        ]
-      }
-    ],
-    "scopeMappings": [
-      {
-        "client": "admin-cli",
-        "roles": [
-          "admin"
-        ]
-      },
-      {
-        "client": "security-admin-console",
-        "roles": [
-          "admin"
-        ]
-      }
-    ],
-    "clients": [
-      {
-        "id": "c3aca840-5187-406e-9b1a-b62a57eb371a",
-        "clientId": "Migration-realm",
-        "name": "Migration Realm",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "29958e6c-6f44-47a6-9810-770ea90b7387",
-        "redirectUris": [],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": true,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": false,
-        "serviceAccountsEnabled": false,
-        "publicClient": false,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": true,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "d009ceb4-cb36-4abe-8425-e6df2737e627",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          },
-          {
-            "id": "24981db4-6740-4e08-a505-3aabe8e350c3",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "9ca7f1b4-170d-4d75-a94b-26511318bf2c",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "41482c5e-6c4c-4618-b819-bcb6e693caee",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "df1d77fa-2b6c-49fd-9785-2ee51ff937fd",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "5e90ad8d-98c0-4cc1-a74e-933cb77e82a6",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "08a0990d-8288-4ba7-ba1e-0828cd1e002a",
-        "clientId": "account",
-        "name": "${client_account}",
-        "baseUrl": "/auth/realms/master/account",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "532d4ec6-0ff4-448e-bdfc-11b87efb50d3",
-        "defaultRoles": [
-          "view-profile",
-          "manage-account"
-        ],
-        "redirectUris": [
-          "/auth/realms/master/account/*"
-        ],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": false,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": false,
-        "serviceAccountsEnabled": false,
-        "publicClient": false,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": false,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "bfc0fe7c-1bdb-4d51-8cbb-93f3923683c8",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "6f500b7d-f16a-410f-a567-d4f38fc45c5e",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "b37bfe8a-94de-4893-b86e-b642c267d72b",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          },
-          {
-            "id": "7abb3444-776a-4537-928a-e1caf83c6df8",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "01314df4-5726-4855-b71d-aaedcee9604b",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "4a16b178-40ef-4a88-94e8-330fe92405d2",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "9da2f23b-767b-4d99-8d24-a1cab6afe448",
-        "clientId": "admin-cli",
-        "name": "${client_admin-cli}",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "3b37796a-29ee-46b8-b606-12ea19d40097",
-        "redirectUris": [],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": false,
-        "consentRequired": false,
-        "standardFlowEnabled": false,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": true,
-        "serviceAccountsEnabled": false,
-        "publicClient": true,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": false,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "1631e30c-79b1-4a24-bbd7-a2833100d140",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "7a19f140-f951-4505-b200-46b41ccdeed3",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "d6b5b848-2575-4de6-b2cd-cf692b0daa22",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          },
-          {
-            "id": "94a1d7ad-b103-491e-9b76-65f763420d0a",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "ed2d7ce3-3f24-4412-8ee0-91a8ab22913a",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "c342307c-9fb2-4e7d-9bf7-a18985227483",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "5bcab424-560b-4653-b490-b03db075ecda",
-        "clientId": "broker",
-        "name": "${client_broker}",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "6613ea12-47d2-4e07-bcae-329211df19c9",
-        "redirectUris": [],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": false,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": false,
-        "serviceAccountsEnabled": false,
-        "publicClient": false,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": false,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "eebc4c71-63f9-4c51-abb9-0577f1188399",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "73bbb61d-f87a-4d52-a0ce-3f675b79d808",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "3172c3dd-7253-4546-9ff0-735f4635a5f3",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          },
-          {
-            "id": "895bf3d3-21dc-478c-9aad-dedc148518a3",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "40e1c333-168c-444b-9ae5-5d4fd9f07a82",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "974e0506-401d-4ff0-a43c-6f9d63920473",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "470a14ef-efb5-4686-85a0-0738edd1f8d3",
-        "clientId": "master-realm",
-        "name": "master Realm",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "70bb98e1-51ed-4ebb-a103-1e2cad38a292",
-        "redirectUris": [],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": true,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": false,
-        "serviceAccountsEnabled": false,
-        "publicClient": false,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": true,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "b9f0a1d5-9a56-4c42-938b-54b9aae180e4",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "629ba061-ee90-4893-9a3c-6ebb1cb8586f",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          },
-          {
-            "id": "e02314bb-f3de-4f72-874c-2ccb30727e52",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "c82eaace-135c-4373-ac99-d09469bc1b12",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "a82fe8ca-df8d-4ad7-bbfd-c5f0adfd8cd2",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "44ae3204-8f77-4a7d-ac7f-c44bafed3ad2",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "6268e266-346b-46ba-8408-fe17b5792b10",
-        "clientId": "master-test-client",
-        "name": "master-test-client",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "271c50a7-6a20-4a27-bb94-97136ffb1539",
-        "redirectUris": [],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": false,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": true,
-        "serviceAccountsEnabled": false,
-        "publicClient": true,
-        "frontchannelLogout": false,
-        "protocol": "openid-connect",
-        "attributes": {},
-        "fullScopeAllowed": true,
-        "nodeReRegistrationTimeout": -1,
-        "protocolMappers": [
-          {
-            "id": "191b5693-2fdd-4029-8657-681facc51dfb",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "079b1dba-1ac0-4d3d-94b7-d8468dc55962",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "1fc5cdff-d1ba-4492-83df-f81d3820c31a",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "8a443f85-23c0-4ee6-9e31-4b5ad571aa94",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "7b5f4689-ede2-427b-b8dc-289791ac6cad",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "b1af3b5e-fff1-41c2-b091-0c35a6c84793",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      },
-      {
-        "id": "a27cd9f4-e9f3-45d9-aef1-0509a8337de0",
-        "clientId": "security-admin-console",
-        "name": "${client_security-admin-console}",
-        "baseUrl": "/auth/admin/master/console/index.html",
-        "surrogateAuthRequired": false,
-        "enabled": true,
-        "clientAuthenticatorType": "client-secret",
-        "secret": "f7f2c609-8902-4db2-9350-685b0423457b",
-        "redirectUris": [
-          "/auth/admin/master/console/*"
-        ],
-        "webOrigins": [],
-        "notBefore": 0,
-        "bearerOnly": false,
-        "consentRequired": false,
-        "standardFlowEnabled": true,
-        "implicitFlowEnabled": false,
-        "directAccessGrantsEnabled": false,
-        "serviceAccountsEnabled": false,
-        "publicClient": true,
-        "frontchannelLogout": false,
-        "attributes": {},
-        "fullScopeAllowed": false,
-        "nodeReRegistrationTimeout": 0,
-        "protocolMappers": [
-          {
-            "id": "a7dd5e41-4d47-41fe-b5ad-33e1ad801f31",
-            "name": "given name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${givenName}",
-            "config": {
-              "user.attribute": "firstName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "given_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "4c89dd7c-d865-4557-aa52-d25e83c70789",
-            "name": "family name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${familyName}",
-            "config": {
-              "user.attribute": "lastName",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "family_name",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "d4fa50be-3a2f-4d4c-9123-a5d99b8315e5",
-            "name": "role list",
-            "protocol": "saml",
-            "protocolMapper": "saml-role-list-mapper",
-            "consentRequired": false,
-            "config": {
-              "single": "false",
-              "attribute.nameformat": "Basic",
-              "attribute.name": "Role"
-            }
-          },
-          {
-            "id": "8bf5feae-36bd-49f5-8a2e-19093ee92a29",
-            "name": "email",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${email}",
-            "config": {
-              "user.attribute": "email",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "email",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "2b8281b5-e2a8-4868-92f8-76097648f328",
-            "name": "locale",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-attribute-mapper",
-            "consentRequired": false,
-            "consentText": "${locale}",
-            "config": {
-              "user.attribute": "locale",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "locale",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "20551202-834b-4f9d-9582-6f27d58b604d",
-            "name": "username",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-usermodel-property-mapper",
-            "consentRequired": true,
-            "consentText": "${username}",
-            "config": {
-              "user.attribute": "username",
-              "id.token.claim": "true",
-              "access.token.claim": "true",
-              "claim.name": "preferred_username",
-              "jsonType.label": "String"
-            }
-          },
-          {
-            "id": "f205e545-5b2d-4436-b9c8-88a07de1ea7d",
-            "name": "full name",
-            "protocol": "openid-connect",
-            "protocolMapper": "oidc-full-name-mapper",
-            "consentRequired": true,
-            "consentText": "${fullName}",
-            "config": {
-              "id.token.claim": "true",
-              "access.token.claim": "true"
-            }
-          }
-        ],
-        "useTemplateConfig": false,
-        "useTemplateScope": false,
-        "useTemplateMappers": false
-      }
-    ],
-    "clientTemplates": [],
-    "browserSecurityHeaders": {
-      "xContentTypeOptions": "nosniff",
-      "xFrameOptions": "SAMEORIGIN",
-      "contentSecurityPolicy": "frame-src 'self'"
-    },
-    "smtpServer": {},
-    "eventsEnabled": false,
-    "eventsListeners": [
-      "jboss-logging"
-    ],
-    "enabledEventTypes": [],
-    "adminEventsEnabled": false,
-    "adminEventsDetailsEnabled": false,
-    "components": {},
-    "internationalizationEnabled": false,
-    "supportedLocales": [],
-    "authenticationFlows": [
-      {
-        "id": "7823af6c-d339-4b0c-a786-83d7dbba3052",
-        "alias": "Handle Existing Account",
-        "description": "Handle what to do if there is existing account with same email/username like authenticated identity provider",
-        "providerId": "basic-flow",
-        "topLevel": false,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "idp-confirm-link",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "idp-email-verification",
-            "requirement": "ALTERNATIVE",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "requirement": "ALTERNATIVE",
-            "priority": 30,
-            "flowAlias": "Verify Existing Account by Re-authentication",
-            "userSetupAllowed": false,
-            "autheticatorFlow": true
-          }
-        ]
-      },
-      {
-        "id": "506407b8-40db-4e67-99f7-4d21549a72ea",
-        "alias": "Verify Existing Account by Re-authentication",
-        "description": "Reauthentication of existing account",
-        "providerId": "basic-flow",
-        "topLevel": false,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "idp-username-password-form",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "auth-otp-form",
-            "requirement": "OPTIONAL",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "f5ab7c19-2940-4b1d-8ce3-cca8014501a3",
-        "alias": "browser",
-        "description": "browser based authentication",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "auth-cookie",
-            "requirement": "ALTERNATIVE",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "auth-spnego",
-            "requirement": "DISABLED",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "identity-provider-redirector",
-            "requirement": "ALTERNATIVE",
-            "priority": 25,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "requirement": "ALTERNATIVE",
-            "priority": 30,
-            "flowAlias": "forms",
-            "userSetupAllowed": false,
-            "autheticatorFlow": true
-          }
-        ]
-      },
-      {
-        "id": "a0dca221-6b16-447c-960b-50d0231a579b",
-        "alias": "clients",
-        "description": "Base authentication for clients",
-        "providerId": "client-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "client-secret",
-            "requirement": "ALTERNATIVE",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "client-jwt",
-            "requirement": "ALTERNATIVE",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "2fc9e6fe-23e4-4d5d-8de7-7df4352cc92f",
-        "alias": "direct grant",
-        "description": "OpenID Connect Resource Owner Grant",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "direct-grant-validate-username",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "direct-grant-validate-password",
-            "requirement": "REQUIRED",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "direct-grant-validate-otp",
-            "requirement": "OPTIONAL",
-            "priority": 30,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "8e4c82e6-1981-4877-b97a-4ef5c1981d05",
-        "alias": "first broker login",
-        "description": "Actions taken after first broker login with identity provider account, which is not yet linked to any Keycloak account",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticatorConfig": "review profile config",
-            "authenticator": "idp-review-profile",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticatorConfig": "create unique user config",
-            "authenticator": "idp-create-user-if-unique",
-            "requirement": "ALTERNATIVE",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "requirement": "ALTERNATIVE",
-            "priority": 30,
-            "flowAlias": "Handle Existing Account",
-            "userSetupAllowed": false,
-            "autheticatorFlow": true
-          }
-        ]
-      },
-      {
-        "id": "10f78331-e0d5-4a99-be02-7fc1f5d31215",
-        "alias": "forms",
-        "description": "Username, password, otp and other auth forms.",
-        "providerId": "basic-flow",
-        "topLevel": false,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "auth-username-password-form",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "auth-otp-form",
-            "requirement": "OPTIONAL",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "f6a0beb4-7fd1-4c83-afe9-44518f45ed7b",
-        "alias": "registration",
-        "description": "registration flow",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "registration-page-form",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "flowAlias": "registration form",
-            "userSetupAllowed": false,
-            "autheticatorFlow": true
-          }
-        ]
-      },
-      {
-        "id": "b4029db6-dc6e-44a5-b685-86e394ff7dfb",
-        "alias": "registration form",
-        "description": "registration form",
-        "providerId": "form-flow",
-        "topLevel": false,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "registration-user-creation",
-            "requirement": "REQUIRED",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "registration-profile-action",
-            "requirement": "REQUIRED",
-            "priority": 40,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "registration-password-action",
-            "requirement": "REQUIRED",
-            "priority": 50,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "registration-recaptcha-action",
-            "requirement": "DISABLED",
-            "priority": 60,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "2758d06b-35da-43a7-83dc-ec02e5ffc1be",
-        "alias": "reset credentials",
-        "description": "Reset credentials for a user if they forgot their password or something",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "reset-credentials-choose-user",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "reset-credential-email",
-            "requirement": "REQUIRED",
-            "priority": 20,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "reset-password",
-            "requirement": "REQUIRED",
-            "priority": 30,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          },
-          {
-            "authenticator": "reset-otp",
-            "requirement": "OPTIONAL",
-            "priority": 40,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      },
-      {
-        "id": "b1927d79-54d8-4b5f-a01a-f4d5be8d3769",
-        "alias": "saml ecp",
-        "description": "SAML ECP Profile Authentication Flow",
-        "providerId": "basic-flow",
-        "topLevel": true,
-        "builtIn": true,
-        "authenticationExecutions": [
-          {
-            "authenticator": "http-basic-authenticator",
-            "requirement": "REQUIRED",
-            "priority": 10,
-            "userSetupAllowed": false,
-            "autheticatorFlow": false
-          }
-        ]
-      }
-    ],
-    "authenticatorConfig": [
-      {
-        "id": "e40c22b1-546d-4df6-8798-dca761db8cf0",
-        "alias": "create unique user config",
-        "config": {
-          "require.password.update.after.registration": "false"
-        }
-      },
-      {
-        "id": "bacdeb1b-bfc5-4adc-9a3e-798d8dd6a6da",
-        "alias": "review profile config",
-        "config": {
-          "update.profile.on.first.login": "missing"
-        }
-      }
-    ],
-    "requiredActions": [
-      {
-        "alias": "CONFIGURE_TOTP",
-        "name": "Configure OTP",
-        "providerId": "CONFIGURE_TOTP",
-        "enabled": true,
-        "defaultAction": false,
-        "config": {}
-      },
-      {
-        "alias": "UPDATE_PASSWORD",
-        "name": "Update Password",
-        "providerId": "UPDATE_PASSWORD",
-        "enabled": true,
-        "defaultAction": false,
-        "config": {}
-      },
-      {
-        "alias": "UPDATE_PROFILE",
-        "name": "Update Profile",
-        "providerId": "UPDATE_PROFILE",
-        "enabled": true,
-        "defaultAction": false,
-        "config": {}
-      },
-      {
-        "alias": "VERIFY_EMAIL",
-        "name": "Verify Email",
-        "providerId": "VERIFY_EMAIL",
-        "enabled": true,
-        "defaultAction": false,
-        "config": {}
-      },
-      {
-        "alias": "terms_and_conditions",
-        "name": "Terms and Conditions",
-        "providerId": "terms_and_conditions",
-        "enabled": false,
-        "defaultAction": false,
-        "config": {}
-      }
-    ],
-    "browserFlow": "browser",
-    "registrationFlow": "registration",
-    "directGrantFlow": "direct grant",
-    "resetCredentialsFlow": "reset credentials",
-    "clientAuthenticationFlow": "clients",
-    "attributes": {
-      "_browser_header.xFrameOptions": "SAMEORIGIN",
-      "failureFactor": "30",
-      "quickLoginCheckMilliSeconds": "1000",
-      "maxDeltaTimeSeconds": "43200",
-      "displayName": "Keycloak",
-      "_browser_header.xContentTypeOptions": "nosniff",
-      "bruteForceProtected": "false",
-      "maxFailureWaitSeconds": "900",
-      "_browser_header.contentSecurityPolicy": "frame-src 'self'",
-      "minimumQuickLoginWaitSeconds": "60",
-      "displayNameHtml": "<div class=\"kc-logo-text\"><span>Keycloak</span></div>",
-      "waitIncrementSeconds": "60"
-    },
-    "keycloakVersion": "2.2.1.Final"
-  },
   {
     "id": "authorization",
     "realm": "authorization",
@@ -5550,4 +616,3 @@
     },
     "keycloakVersion": "2.2.1.Final"
   }
-]
\ No newline at end of file