2015-01-29 02:04:02 +00:00
|
|
|
{
|
2015-01-29 13:57:24 +00:00
|
|
|
"id": "realm-with-saml-idp-basic",
|
|
|
|
"realm": "realm-with-saml-idp-basic",
|
2015-01-29 02:04:02 +00:00
|
|
|
"enabled": true,
|
|
|
|
"requiredCredentials": [ "password" ],
|
|
|
|
"defaultRoles": [ "foo", "bar" ],
|
|
|
|
"privateKey": "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCCPyvTTb14vSMkpe/pds2P5Cqxk7bkeFnQiNMS1vyZ+HS2O79fxzp1eAguHnBTs4XTRT7SZJhIT/6utgqZjmDigKV5N7X5ptq8BM/W1qa1cYBRip261pc+tWf3IywJYQ9yFI9mUQarmIEl0D7GH16NSZklheaWfbodRVarvX+ML0amNtGYVDft/RftYmgbKKrK218qQp9R4GZFtf/Q/RmboNXN7weMINU8GWVkTRrccKBIXSunT6zXGfuj3Wp1YpVq20BWwY2OMM/P+yDAc7LKEO1LJqPBdT4r9BRn2lXiaga3AL24gTKZPKU/tu7uqfFciF+i4Rr58SMDNOzQcnklAgMBAAECggEAc0eibJYEO5d8QXW1kPgcHV2gBChv2mxDYnWYDLbIQSdNdfYP/qABt/MTmm5KkWr16fcCEYoD1w0mqFBrtVn1msSusUmEAYGTXJMNumOmjjX1kzaTQMmqeFBrwqwYz/xehWR5P+A7fSmwNV3KEeW19GvN5w5K96w0TLAQdFV3TQVPSytusDunwuR1yltMe1voaEDZ9z0Pi08YiEk2f6xhj5CMkoiw3mNImzfruphHullxU4FD05fH6tDeJ381527ILpAzDsgYZh4aFLKjUHem96bX4EL7FIzBJ6okgN78AZnUC/EaVfgFTw0qfhoWvZV4ruVXXiMhCg4CMMRDq/k9iQKBgQDBNWsJMT84OnnWmQoJmZogkFV+tsGrSK6Re+aJxLWpishh7dwAnT2OcagZvVdUb0FwNWu1D0B9/SKDDMRnnHBhOGDpH57m/eQdRU0oX1BD27xvffk0lLcfD4BTxnR5e9jss8K4twc9jf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yyhDtSyajwXU+K/QUZ9pV4moGtwC9uIEymTylP7bu7qnxXIhfouEa+fEjAzTs0HJ5JQIDAQAB",
|
2015-04-20 22:04:30 +00:00
|
|
|
"clients": [
|
2015-01-29 02:04:02 +00:00
|
|
|
{
|
2015-04-20 22:04:30 +00:00
|
|
|
"clientId": "http://localhost:8081/auth/realms/realm-with-broker",
|
2015-01-29 02:04:02 +00:00
|
|
|
"enabled": true,
|
2015-04-20 22:04:30 +00:00
|
|
|
"protocol": "saml",
|
2015-01-29 02:04:02 +00:00
|
|
|
"redirectUris": [
|
2015-03-20 16:13:33 +00:00
|
|
|
"http://localhost:8081/auth/realms/realm-with-broker/broker/kc-saml-idp-basic/endpoint"
|
2015-01-29 02:04:02 +00:00
|
|
|
],
|
|
|
|
"attributes": {
|
|
|
|
"saml.authnstatement": "true"
|
2015-04-20 22:04:30 +00:00
|
|
|
},
|
|
|
|
"protocolMappers": [
|
|
|
|
{
|
|
|
|
"name": "role list",
|
|
|
|
"protocol": "saml",
|
|
|
|
"protocolMapper": "saml-role-list-mapper",
|
|
|
|
"consentRequired": false,
|
|
|
|
"config": {
|
|
|
|
"attribute.name": "Role",
|
|
|
|
"attribute.nameformat": "Basic",
|
|
|
|
"single": "false"
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "mobile",
|
|
|
|
"protocol": "saml",
|
|
|
|
"protocolMapper": "saml-user-attribute-mapper",
|
|
|
|
"consentRequired": false,
|
|
|
|
"config": {
|
|
|
|
"user.attribute": "mobile",
|
|
|
|
"attribute.name": "mobile",
|
|
|
|
"attribute.nameformat": "Basic"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
|
2015-01-29 02:04:02 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"users": [
|
2015-01-29 13:57:24 +00:00
|
|
|
{
|
|
|
|
"username" : "test-user",
|
|
|
|
"enabled": true,
|
|
|
|
"email" : "test-user@localhost",
|
|
|
|
"firstName" : "Test",
|
|
|
|
"lastName" : "User",
|
|
|
|
"credentials" : [
|
|
|
|
{ "type" : "password",
|
|
|
|
"value" : "password" }
|
|
|
|
],
|
2015-04-20 22:04:30 +00:00
|
|
|
"realmRoles": ["manager"],
|
|
|
|
"attributes": {
|
|
|
|
"mobile": "617-666-7777"
|
|
|
|
}
|
2015-01-29 18:05:00 +00:00
|
|
|
},
|
2015-03-12 14:04:25 +00:00
|
|
|
{
|
|
|
|
"username" : "test-user-noemail",
|
|
|
|
"enabled": true,
|
|
|
|
"firstName" : "Test",
|
|
|
|
"lastName" : "User",
|
|
|
|
"credentials" : [
|
|
|
|
{ "type" : "password",
|
|
|
|
"value" : "password" }
|
|
|
|
],
|
|
|
|
"realmRoles": ["manager"]
|
|
|
|
},
|
2015-01-29 18:05:00 +00:00
|
|
|
{
|
|
|
|
"username" : "pedroigor",
|
|
|
|
"enabled": true,
|
|
|
|
"email" : "psilva@redhat.com",
|
|
|
|
"credentials" : [
|
|
|
|
{ "type" : "password",
|
|
|
|
"value" : "password" }
|
|
|
|
],
|
|
|
|
"realmRoles": ["manager"]
|
2015-01-29 13:57:24 +00:00
|
|
|
}
|
2015-01-29 02:04:02 +00:00
|
|
|
],
|
|
|
|
"roles" : {
|
|
|
|
"realm" : [
|
|
|
|
{
|
|
|
|
"name": "manager",
|
|
|
|
"description": "Have Manager privileges"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|