2efd79f982
Closes #20584
49 lines
No EOL
1.3 KiB
JSON
49 lines
No EOL
1.3 KiB
JSON
{
|
|
"realm" : "hello-world-authz",
|
|
"enabled" : true,
|
|
"requiredCredentials" : [ "password" ],
|
|
"users" :
|
|
[
|
|
{
|
|
"username" : "alice",
|
|
"enabled" : true,
|
|
"credentials" : [ {
|
|
"type" : "password",
|
|
"value" : "alice"
|
|
} ],
|
|
"realmRoles" : ["uma_authorization"]
|
|
},
|
|
{
|
|
"username" : "jdoe",
|
|
"enabled" : true,
|
|
"credentials" : [ {
|
|
"type" : "password",
|
|
"value" : "jdoe"
|
|
} ],
|
|
"realmRoles" : ["uma_authorization"]
|
|
},
|
|
{
|
|
"username" : "service-account-hello-world-authz-service",
|
|
"enabled" : true,
|
|
"serviceAccountClientId" : "hello-world-authz-service",
|
|
"clientRoles": {
|
|
"hello-world-authz-service" : ["uma_protection"]
|
|
}
|
|
}
|
|
],
|
|
"clients" : [
|
|
{
|
|
"clientId" : "hello-world-authz-service",
|
|
"secret" : "secret",
|
|
"authorizationServicesEnabled" : true,
|
|
"enabled" : true,
|
|
"redirectUris" : [ "http://localhost:8080/hello-world-authz-service/*" ],
|
|
"baseUrl": "http://localhost:8080/hello-world-authz-service",
|
|
"adminUrl": "http://localhost:8080/hello-world-authz-service",
|
|
"directAccessGrantsEnabled" : true,
|
|
"attributes" : {
|
|
"exclude.issuer.from.auth.response": "true"
|
|
}
|
|
}
|
|
]
|
|
} |