46 lines
1.2 KiB
JSON
46 lines
1.2 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
|
||
|
}
|
||
|
]
|
||
|
}
|