2013-07-19 21:59:36 +00:00
|
|
|
{
|
|
|
|
"realm" : "demo",
|
|
|
|
"enabled" : true,
|
|
|
|
"tokenLifespan" : 6000,
|
|
|
|
"accessCodeLifespan" : 30,
|
|
|
|
"requiredCredentials" : [
|
|
|
|
{
|
|
|
|
"type" : "Password",
|
|
|
|
"input" : true,
|
|
|
|
"secret" : true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"users" : [
|
|
|
|
{
|
2013-07-22 20:34:14 +00:00
|
|
|
"username" : "bburke@redhat.com",
|
2013-07-19 21:59:36 +00:00
|
|
|
"enabled" : true,
|
|
|
|
"attributes" : {
|
|
|
|
"email" : "bburke@redhat.com"
|
|
|
|
},
|
|
|
|
"credentials" : [
|
|
|
|
{ "type" : "Password",
|
2013-07-22 20:34:14 +00:00
|
|
|
"value" : "password" }
|
2013-07-19 21:59:36 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2013-07-22 20:34:14 +00:00
|
|
|
"username" : "customer-portal",
|
2013-07-19 21:59:36 +00:00
|
|
|
"enabled" : true,
|
|
|
|
"credentials" : [
|
|
|
|
{ "type" : "Password",
|
2013-07-22 20:34:14 +00:00
|
|
|
"value" : "password" }
|
2013-07-19 21:59:36 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2013-07-22 20:34:14 +00:00
|
|
|
"username" : "product-portal",
|
2013-07-19 21:59:36 +00:00
|
|
|
"enabled" : true,
|
|
|
|
"credentials" : [
|
|
|
|
{ "type" : "Password",
|
2013-07-22 20:34:14 +00:00
|
|
|
"value" : "password" }
|
2013-07-19 21:59:36 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"roleMappings" : [
|
|
|
|
{
|
2013-07-22 20:34:14 +00:00
|
|
|
"username" : "bburke@redhat.com",
|
|
|
|
"roles" : ["user"]
|
2013-07-19 21:59:36 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"scopeMappings" : [
|
|
|
|
{
|
2013-07-22 20:34:14 +00:00
|
|
|
"username" : "customer-portal",
|
2013-07-19 21:59:36 +00:00
|
|
|
"roles" : ["*"]
|
|
|
|
},
|
2013-07-22 20:34:14 +00:00
|
|
|
{
|
|
|
|
"username" : "product-portal",
|
|
|
|
"roles" : ["*"]
|
|
|
|
}
|
2013-07-19 21:59:36 +00:00
|
|
|
]
|
|
|
|
}
|