arquillian testsuite, migration test: add support for 1.5.1.Final
This commit is contained in:
parent
2c3958ce27
commit
84da341912
3 changed files with 763 additions and 2 deletions
|
@ -45,7 +45,15 @@
|
||||||
<property name="enabled">${migration.kc15}</property>
|
<property name="enabled">${migration.kc15}</property>
|
||||||
<property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property>
|
<property name="adapterImplClass">org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</property>
|
||||||
<property name="jbossHome">${keycloak.migration.homev}</property>
|
<property name="jbossHome">${keycloak.migration.homev}</property>
|
||||||
<property name="javaVmArguments">-Djboss.socket.binding.port-offset=${auth.server.port.offset} -Xms64m -Xmx512m -XX:MaxPermSize=256m</property>
|
<property name="javaVmArguments">
|
||||||
|
-Dkeycloak.migration.action=import
|
||||||
|
-Dkeycloak.migration.provider=singleFile
|
||||||
|
-Dkeycloak.migration.file=${keycloak.migration.file}
|
||||||
|
-Dkeycloak.migration.strategy=OVERWRITE_EXISTING
|
||||||
|
-Dkeycloak.migration.realmName=Migration
|
||||||
|
-Djboss.socket.binding.port-offset=${auth.server.port.offset}
|
||||||
|
-Xms64m -Xmx512m -XX:MaxPermSize=256m
|
||||||
|
</property>
|
||||||
<property name="managementPort">${auth.server.management.port}</property>
|
<property name="managementPort">${auth.server.management.port}</property>
|
||||||
<property name="startupTimeoutInSeconds">${startup.timeout.sec}</property>
|
<property name="startupTimeoutInSeconds">${startup.timeout.sec}</property>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
@ -0,0 +1,751 @@
|
||||||
|
{
|
||||||
|
"id" : "9c3a9824-cc8b-46f6-8922-cd576a92850f",
|
||||||
|
"realm" : "Migration",
|
||||||
|
"notBefore" : 0,
|
||||||
|
"accessTokenLifespan" : 300,
|
||||||
|
"ssoSessionIdleTimeout" : 1800,
|
||||||
|
"ssoSessionMaxLifespan" : 36000,
|
||||||
|
"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" : "MIIEpAIBAAKCAQEA29+/bYOEg+RFlDgKjX0nv+UMkV8X06E1XvRobuQjXKOV613VJIa1F/nGabXthkM3tC7DadJ5y1tBwhF+bJzMA4w38zNfJdjEp3DRND6ypUn0SJZrSw6l3u3w+s5uemgTWUZk463Xr3HbDxtnG+4t5GuHA2Oq6O2OLniVZKbDTpgF1HxzCBQiAxi2jNJm3tMlTdN6D/nV3Rwp2T1250T3ldkM3TDK/Nlup3oOejy+qRGEmh+omuABOOJ8icCULZ5S2AbiqfojP5ZN3WEpyCqcQvsdop4IawUbTDyy9BCE2K5CCZ6ZgQaSnpJZGUy91crPJXnI4tlg5Mh88l8aSrBLsQIDAQABAoIBAA5J7SPNzzfPBuKJ/c2SG5ox5W4xEthS+qfwFDVYqB+mFeEU2PwlsPEc71MBWq1GAwG3pEVlQzr+9DgLcP7X9b4pR52LchyAiM8k2sOda3ioZLKu68wV6JujNOznq3BTASblFztgmcqyCH1j14COKvdUMZL70CiQ/5NvjK3c1IZv5d/S9B7Qhd2o/6cO51xIodE87Lc4Pghq8cQ/AJJUJokyFtjkCpTNAYxcZgyiEMNbyjrbNMMEpiuspZ50eRbi7SOKOg6mSjwuTeK0cQ57JDuMhE/iyaMwh98uqS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v5QxW9P76OgISCutHaEe3UDP+TzIBBxYQFb1ZXA6ob3TFga78mFAkY4g98gEC11QSvZqhaRtLAz6PEisHRV+xDJVROgQ4Qew4qKgwE0gGE=",
|
||||||
|
"codeSecret" : "32f8634c-2be2-4d4d-8118-f4f7fee80b9f",
|
||||||
|
"roles" : {
|
||||||
|
"client" : {
|
||||||
|
"realm-management" : [ {
|
||||||
|
"id" : "dad7b3a4-b533-47c8-aba5-32e6429865a2",
|
||||||
|
"name" : "manage-identity-providers",
|
||||||
|
"description" : "${role_manage-identity-providers}",
|
||||||
|
"composite" : false
|
||||||
|
}, {
|
||||||
|
"id" : "a1dd3971-3906-4f4a-b4cd-3a198d2d7150",
|
||||||
|
"name" : "view-users",
|
||||||
|
"description" : "${role_view-users}",
|
||||||
|
"composite" : false
|
||||||
|
}, {
|
||||||
|
"id" : "6c2d766f-cfa5-4cae-b1ca-81f1f9f242c8",
|
||||||
|
"name" : "view-clients",
|
||||||
|
"description" : "${role_view-clients}",
|
||||||
|
"composite" : false
|
||||||
|
}, {
|
||||||
|
"id" : "60bb5b3e-8067-43fe-803e-a7e367967c7c",
|
||||||
|
"name" : "manage-realm",
|
||||||
|
"description" : "${role_manage-realm}",
|
||||||
|
"composite" : false
|
||||||
|
}, {
|
||||||
|
"id" : "c55cb35a-2602-47a6-a628-fc5a55341426",
|
||||||
|
"name" : "manage-users",
|
||||||
|
"description" : "${role_manage-users}",
|
||||||
|
"composite" : false
|
||||||
|
}, {
|
||||||
|
"id" : "4dc834d0-766b-45aa-ab3b-b7b976baa65d",
|
||||||
|
"name" : "realm-admin",
|
||||||
|
"description" : "${role_realm-admin}",
|
||||||
|
"composite" : true,
|
||||||
|
"composites" : {
|
||||||
|
"client" : {
|
||||||
|
"realm-management" : [ "view-users", "manage-identity-providers", "view-clients", "manage-realm", "manage-users", "impersonation", "view-realm", "view-events", "manage-clients", "manage-events", "view-identity-providers" ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "d444a98f-ab5e-4857-9300-496e04e498f5",
|
||||||
|
"name" : "impersonation",
|
||||||
|
"description" : "${role_impersonation}",
|
||||||
|
"composite" : false
|
||||||
|
}, {
|
||||||
|
"id" : "2f6f1407-f334-434f-becf-771e3ebb5625",
|
||||||
|
"name" : "view-realm",
|
||||||
|
"description" : "${role_view-realm}",
|
||||||
|
"composite" : false
|
||||||
|
}, {
|
||||||
|
"id" : "a40d3211-5244-4d92-80c0-0d3215580250",
|
||||||
|
"name" : "manage-events",
|
||||||
|
"description" : "${role_manage-events}",
|
||||||
|
"composite" : false
|
||||||
|
}, {
|
||||||
|
"id" : "d11c407e-504f-4923-b243-e794afa0247e",
|
||||||
|
"name" : "view-events",
|
||||||
|
"description" : "${role_view-events}",
|
||||||
|
"composite" : false
|
||||||
|
}, {
|
||||||
|
"id" : "3ef6ace4-4e87-4c30-a8b3-1f0df25868c6",
|
||||||
|
"name" : "manage-clients",
|
||||||
|
"description" : "${role_manage-clients}",
|
||||||
|
"composite" : false
|
||||||
|
}, {
|
||||||
|
"id" : "fa2a4972-b8d0-452e-8e13-d2cf7eaac7aa",
|
||||||
|
"name" : "view-identity-providers",
|
||||||
|
"description" : "${role_view-identity-providers}",
|
||||||
|
"composite" : false
|
||||||
|
} ],
|
||||||
|
"security-admin-console" : [ ],
|
||||||
|
"broker" : [ {
|
||||||
|
"id" : "1bc5aeb4-1df1-4402-8195-e2a72f6dca30",
|
||||||
|
"name" : "read-token",
|
||||||
|
"description" : "${role_read-token}",
|
||||||
|
"composite" : false
|
||||||
|
} ],
|
||||||
|
"account" : [ {
|
||||||
|
"id" : "71b5b5ff-b372-41a1-a427-7883fa64a8c7",
|
||||||
|
"name" : "manage-account",
|
||||||
|
"description" : "${role_manage-account}",
|
||||||
|
"composite" : false
|
||||||
|
}, {
|
||||||
|
"id" : "04daa556-8aeb-43ba-99c6-b393ec2a32d4",
|
||||||
|
"name" : "view-profile",
|
||||||
|
"description" : "${role_view-profile}",
|
||||||
|
"composite" : false
|
||||||
|
} ]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"requiredCredentials" : [ "password" ],
|
||||||
|
"otpPolicyType" : "totp",
|
||||||
|
"otpPolicyAlgorithm" : "HmacSHA1",
|
||||||
|
"otpPolicyInitialCounter" : 0,
|
||||||
|
"otpPolicyDigits" : 6,
|
||||||
|
"otpPolicyLookAheadWindow" : 1,
|
||||||
|
"otpPolicyPeriod" : 30,
|
||||||
|
"clientScopeMappings" : {
|
||||||
|
"realm-management" : [ {
|
||||||
|
"client" : "security-admin-console",
|
||||||
|
"roles" : [ "realm-admin" ]
|
||||||
|
} ]
|
||||||
|
},
|
||||||
|
"clients" : [ {
|
||||||
|
"id" : "ba27336f-3f89-471d-98d2-b8856bd6dbf1",
|
||||||
|
"clientId" : "realm-management",
|
||||||
|
"name" : "${client_realm-management}",
|
||||||
|
"surrogateAuthRequired" : false,
|
||||||
|
"enabled" : true,
|
||||||
|
"clientAuthenticatorType" : "client-secret",
|
||||||
|
"secret" : "26aee4e9-8eec-421b-90a9-238538f5897a",
|
||||||
|
"redirectUris" : [ ],
|
||||||
|
"webOrigins" : [ ],
|
||||||
|
"notBefore" : 0,
|
||||||
|
"bearerOnly" : true,
|
||||||
|
"consentRequired" : false,
|
||||||
|
"serviceAccountsEnabled" : false,
|
||||||
|
"directGrantsOnly" : false,
|
||||||
|
"publicClient" : false,
|
||||||
|
"frontchannelLogout" : false,
|
||||||
|
"attributes" : { },
|
||||||
|
"fullScopeAllowed" : false,
|
||||||
|
"nodeReRegistrationTimeout" : 0,
|
||||||
|
"protocolMappers" : [ {
|
||||||
|
"id" : "5d56eba1-724e-4904-a8f8-86ca264a82cf",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "18a30786-89f9-4744-8f36-4de811a591ae",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "4d1c4456-0c0d-49b9-bfba-c2c83645aeb2",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "1a19db43-2346-4a24-b6f0-1b8d7fc1353e",
|
||||||
|
"name" : "role list",
|
||||||
|
"protocol" : "saml",
|
||||||
|
"protocolMapper" : "saml-role-list-mapper",
|
||||||
|
"consentRequired" : false,
|
||||||
|
"config" : {
|
||||||
|
"single" : "false",
|
||||||
|
"attribute.nameformat" : "Basic",
|
||||||
|
"attribute.name" : "Role"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "a18612f0-9eb3-4d81-af0c-b0749b83fbd3",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "70c26044-c7fc-4090-98e1-670fef006e25",
|
||||||
|
"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" : "3fdddd5e-0022-4f6d-8fdf-212266db7fd4",
|
||||||
|
"clientId" : "security-admin-console",
|
||||||
|
"name" : "${client_security-admin-console}",
|
||||||
|
"baseUrl" : "/auth/admin/Migration/console/index.html",
|
||||||
|
"surrogateAuthRequired" : false,
|
||||||
|
"enabled" : true,
|
||||||
|
"clientAuthenticatorType" : "client-secret",
|
||||||
|
"secret" : "38ce8135-738d-4103-85ac-c3470ac8824d",
|
||||||
|
"redirectUris" : [ "/auth/admin/Migration/console/*" ],
|
||||||
|
"webOrigins" : [ ],
|
||||||
|
"notBefore" : 0,
|
||||||
|
"bearerOnly" : false,
|
||||||
|
"consentRequired" : false,
|
||||||
|
"serviceAccountsEnabled" : false,
|
||||||
|
"directGrantsOnly" : false,
|
||||||
|
"publicClient" : true,
|
||||||
|
"frontchannelLogout" : false,
|
||||||
|
"attributes" : { },
|
||||||
|
"fullScopeAllowed" : false,
|
||||||
|
"nodeReRegistrationTimeout" : 0,
|
||||||
|
"protocolMappers" : [ {
|
||||||
|
"id" : "be58fe30-b767-4566-9192-a4fa81fafa2c",
|
||||||
|
"name" : "role list",
|
||||||
|
"protocol" : "saml",
|
||||||
|
"protocolMapper" : "saml-role-list-mapper",
|
||||||
|
"consentRequired" : false,
|
||||||
|
"config" : {
|
||||||
|
"single" : "false",
|
||||||
|
"attribute.nameformat" : "Basic",
|
||||||
|
"attribute.name" : "Role"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "c97523fd-fd4f-48d7-8937-bd434fa374fd",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "2323a85d-2686-46d4-bea8-e36524920f2e",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "56f8a80e-9e99-4add-b918-b864ca3f6f5c",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "f9f51e8d-d5af-456c-be5a-3019fb8c0910",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "3d8fbb0c-9058-4dde-b675-ca77a153ceb8",
|
||||||
|
"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" : "068fcf1a-7048-43df-b3dd-e6c484e8b051",
|
||||||
|
"clientId" : "broker",
|
||||||
|
"name" : "${client_broker}",
|
||||||
|
"surrogateAuthRequired" : false,
|
||||||
|
"enabled" : true,
|
||||||
|
"clientAuthenticatorType" : "client-secret",
|
||||||
|
"secret" : "041b50a6-54b5-4cff-84ef-1b7c388d3395",
|
||||||
|
"redirectUris" : [ ],
|
||||||
|
"webOrigins" : [ ],
|
||||||
|
"notBefore" : 0,
|
||||||
|
"bearerOnly" : false,
|
||||||
|
"consentRequired" : false,
|
||||||
|
"serviceAccountsEnabled" : false,
|
||||||
|
"directGrantsOnly" : false,
|
||||||
|
"publicClient" : false,
|
||||||
|
"frontchannelLogout" : false,
|
||||||
|
"attributes" : { },
|
||||||
|
"fullScopeAllowed" : false,
|
||||||
|
"nodeReRegistrationTimeout" : 0,
|
||||||
|
"protocolMappers" : [ {
|
||||||
|
"id" : "57c6f779-c96b-4f03-b268-354af2a8731e",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "f17a7b9f-9363-44bd-8320-df36f22ca712",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "ec1bf022-9e98-4f29-9bf0-f0a49bd844ad",
|
||||||
|
"name" : "role list",
|
||||||
|
"protocol" : "saml",
|
||||||
|
"protocolMapper" : "saml-role-list-mapper",
|
||||||
|
"consentRequired" : false,
|
||||||
|
"config" : {
|
||||||
|
"single" : "false",
|
||||||
|
"attribute.nameformat" : "Basic",
|
||||||
|
"attribute.name" : "Role"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "0d54c616-326b-4fe7-bbfa-af9a28304dc5",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "89ce95b9-a268-4306-a1ad-86066d0cdd03",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "8236274d-af69-4fc4-8804-a02d4af66157",
|
||||||
|
"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" : "717b9e58-87ed-402d-a8f8-a37fd5e7c951",
|
||||||
|
"clientId" : "account",
|
||||||
|
"name" : "${client_account}",
|
||||||
|
"baseUrl" : "/auth/realms/Migration/account",
|
||||||
|
"surrogateAuthRequired" : false,
|
||||||
|
"enabled" : true,
|
||||||
|
"clientAuthenticatorType" : "client-secret",
|
||||||
|
"secret" : "9ea62eb5-5478-454a-a479-4012f8967f9c",
|
||||||
|
"defaultRoles" : [ "view-profile", "manage-account" ],
|
||||||
|
"redirectUris" : [ "/auth/realms/Migration/account/*" ],
|
||||||
|
"webOrigins" : [ ],
|
||||||
|
"notBefore" : 0,
|
||||||
|
"bearerOnly" : false,
|
||||||
|
"consentRequired" : false,
|
||||||
|
"serviceAccountsEnabled" : false,
|
||||||
|
"directGrantsOnly" : false,
|
||||||
|
"publicClient" : false,
|
||||||
|
"frontchannelLogout" : false,
|
||||||
|
"attributes" : { },
|
||||||
|
"fullScopeAllowed" : false,
|
||||||
|
"nodeReRegistrationTimeout" : 0,
|
||||||
|
"protocolMappers" : [ {
|
||||||
|
"id" : "bfb4a165-2a55-4e4b-9b13-05e68822f5d6",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "c505e313-d478-4b1d-94df-c2c9b6036a95",
|
||||||
|
"name" : "role list",
|
||||||
|
"protocol" : "saml",
|
||||||
|
"protocolMapper" : "saml-role-list-mapper",
|
||||||
|
"consentRequired" : false,
|
||||||
|
"config" : {
|
||||||
|
"single" : "false",
|
||||||
|
"attribute.nameformat" : "Basic",
|
||||||
|
"attribute.name" : "Role"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "12fc43f0-19b7-4b4a-b50a-40b6fc344ede",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "250f3bf3-2655-4482-a814-3adcc7cef5a4",
|
||||||
|
"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" : "6cf70d19-6a9e-4abf-8917-38b87bac15d6",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"id" : "6cdeae21-ca97-4723-b880-d5aa35fa77b0",
|
||||||
|
"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",
|
||||||
|
"Claim JSON Type" : "String"
|
||||||
|
}
|
||||||
|
} ]
|
||||||
|
} ],
|
||||||
|
"browserSecurityHeaders" : {
|
||||||
|
"contentSecurityPolicy" : "frame-src 'self'",
|
||||||
|
"xFrameOptions" : "SAMEORIGIN"
|
||||||
|
},
|
||||||
|
"smtpServer" : { },
|
||||||
|
"eventsEnabled" : false,
|
||||||
|
"eventsListeners" : [ "jboss-logging" ],
|
||||||
|
"enabledEventTypes" : [ ],
|
||||||
|
"adminEventsEnabled" : false,
|
||||||
|
"adminEventsDetailsEnabled" : false,
|
||||||
|
"identityFederationEnabled" : false,
|
||||||
|
"internationalizationEnabled" : false,
|
||||||
|
"supportedLocales" : [ ],
|
||||||
|
"authenticationFlows" : [ {
|
||||||
|
"alias" : "registration form",
|
||||||
|
"description" : "registration form",
|
||||||
|
"providerId" : "form-flow",
|
||||||
|
"topLevel" : false,
|
||||||
|
"builtIn" : true,
|
||||||
|
"authenticationExecutions" : [ {
|
||||||
|
"authenticator" : "registration-user-creation",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "REQUIRED",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 20
|
||||||
|
}, {
|
||||||
|
"authenticator" : "registration-profile-action",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "REQUIRED",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 40
|
||||||
|
}, {
|
||||||
|
"authenticator" : "registration-password-action",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "REQUIRED",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 50
|
||||||
|
}, {
|
||||||
|
"authenticator" : "registration-recaptcha-action",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "DISABLED",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 60
|
||||||
|
} ]
|
||||||
|
}, {
|
||||||
|
"alias" : "direct grant",
|
||||||
|
"description" : "OpenID Connect Resource Owner Grant",
|
||||||
|
"providerId" : "basic-flow",
|
||||||
|
"topLevel" : true,
|
||||||
|
"builtIn" : true,
|
||||||
|
"authenticationExecutions" : [ {
|
||||||
|
"authenticator" : "direct-grant-validate-username",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "REQUIRED",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 10
|
||||||
|
}, {
|
||||||
|
"authenticator" : "direct-grant-validate-password",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "REQUIRED",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 20
|
||||||
|
}, {
|
||||||
|
"authenticator" : "direct-grant-validate-otp",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "OPTIONAL",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 30
|
||||||
|
} ]
|
||||||
|
}, {
|
||||||
|
"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",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "REQUIRED",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 10
|
||||||
|
}, {
|
||||||
|
"authenticator" : "reset-credential-email",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "REQUIRED",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 20
|
||||||
|
}, {
|
||||||
|
"authenticator" : "reset-password",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "REQUIRED",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 30
|
||||||
|
}, {
|
||||||
|
"authenticator" : "reset-otp",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "OPTIONAL",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 40
|
||||||
|
} ]
|
||||||
|
}, {
|
||||||
|
"alias" : "forms",
|
||||||
|
"description" : "Username, password, otp and other auth forms.",
|
||||||
|
"providerId" : "basic-flow",
|
||||||
|
"topLevel" : false,
|
||||||
|
"builtIn" : true,
|
||||||
|
"authenticationExecutions" : [ {
|
||||||
|
"authenticator" : "auth-username-password-form",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "REQUIRED",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 10
|
||||||
|
}, {
|
||||||
|
"authenticator" : "auth-otp-form",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "OPTIONAL",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 20
|
||||||
|
} ]
|
||||||
|
}, {
|
||||||
|
"alias" : "clients",
|
||||||
|
"description" : "Base authentication for clients",
|
||||||
|
"providerId" : "client-flow",
|
||||||
|
"topLevel" : true,
|
||||||
|
"builtIn" : true,
|
||||||
|
"authenticationExecutions" : [ {
|
||||||
|
"authenticator" : "client-secret",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "ALTERNATIVE",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 10
|
||||||
|
}, {
|
||||||
|
"authenticator" : "client-jwt",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "ALTERNATIVE",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 20
|
||||||
|
} ]
|
||||||
|
}, {
|
||||||
|
"alias" : "browser",
|
||||||
|
"description" : "browser based authentication",
|
||||||
|
"providerId" : "basic-flow",
|
||||||
|
"topLevel" : true,
|
||||||
|
"builtIn" : true,
|
||||||
|
"authenticationExecutions" : [ {
|
||||||
|
"authenticator" : "auth-cookie",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "ALTERNATIVE",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 10
|
||||||
|
}, {
|
||||||
|
"authenticator" : "auth-spnego",
|
||||||
|
"autheticatorFlow" : false,
|
||||||
|
"requirement" : "DISABLED",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 20
|
||||||
|
}, {
|
||||||
|
"flowAlias" : "forms",
|
||||||
|
"autheticatorFlow" : true,
|
||||||
|
"requirement" : "ALTERNATIVE",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 30
|
||||||
|
} ]
|
||||||
|
}, {
|
||||||
|
"alias" : "registration",
|
||||||
|
"description" : "registration flow",
|
||||||
|
"providerId" : "basic-flow",
|
||||||
|
"topLevel" : true,
|
||||||
|
"builtIn" : true,
|
||||||
|
"authenticationExecutions" : [ {
|
||||||
|
"authenticator" : "registration-page-form",
|
||||||
|
"flowAlias" : "registration form",
|
||||||
|
"autheticatorFlow" : true,
|
||||||
|
"requirement" : "REQUIRED",
|
||||||
|
"userSetupAllowed" : false,
|
||||||
|
"priority" : 10
|
||||||
|
} ]
|
||||||
|
} ],
|
||||||
|
"authenticatorConfig" : [ ],
|
||||||
|
"requiredActions" : [ {
|
||||||
|
"alias" : "CONFIGURE_TOTP",
|
||||||
|
"name" : "Configure Totp",
|
||||||
|
"providerId" : "CONFIGURE_TOTP",
|
||||||
|
"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" : { }
|
||||||
|
}, {
|
||||||
|
"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" : { }
|
||||||
|
} ],
|
||||||
|
"browserFlow" : "browser",
|
||||||
|
"registrationFlow" : "registration",
|
||||||
|
"directGrantFlow" : "direct grant",
|
||||||
|
"resetCredentialsFlow" : "reset credentials",
|
||||||
|
"clientAuthenticationFlow" : "clients"
|
||||||
|
}
|
|
@ -477,7 +477,7 @@
|
||||||
<profile>
|
<profile>
|
||||||
<id>migration-kc16</id>
|
<id>migration-kc16</id>
|
||||||
<properties>
|
<properties>
|
||||||
<server.version>1.6.0.Final</server.version>
|
<server.version>1.6.1.Final</server.version>
|
||||||
<server.artifactId>integration-arquillian-server-wildfly-kc16</server.artifactId>
|
<server.artifactId>integration-arquillian-server-wildfly-kc16</server.artifactId>
|
||||||
</properties>
|
</properties>
|
||||||
<build>
|
<build>
|
||||||
|
@ -518,6 +518,8 @@
|
||||||
<migration>true</migration>
|
<migration>true</migration>
|
||||||
<migration.kc15>true</migration.kc15>
|
<migration.kc15>true</migration.kc15>
|
||||||
<keycloak.migration.home>${containers.home}/keycloak-${server.version}</keycloak.migration.home>
|
<keycloak.migration.home>${containers.home}/keycloak-${server.version}</keycloak.migration.home>
|
||||||
|
<keycloak.migration.file>src/test/resources/migration-test/migration-realm-15.json</keycloak.migration.file>
|
||||||
|
<version>${server.version}</version>
|
||||||
</systemPropertyVariables>
|
</systemPropertyVariables>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
Loading…
Reference in a new issue