2016-07-29 15:42:53 +00:00
|
|
|
{
|
|
|
|
"realm": "servlet-authz",
|
|
|
|
"enabled": true,
|
|
|
|
"requiredCredentials": [
|
|
|
|
"password"
|
|
|
|
],
|
|
|
|
"users": [
|
|
|
|
{
|
|
|
|
"username": "alice",
|
|
|
|
"enabled": true,
|
|
|
|
"credentials": [
|
|
|
|
{
|
|
|
|
"type": "password",
|
|
|
|
"value": "alice"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"realmRoles": [
|
|
|
|
"user"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"username": "jdoe",
|
|
|
|
"enabled": true,
|
|
|
|
"credentials": [
|
|
|
|
{
|
|
|
|
"type": "password",
|
|
|
|
"value": "jdoe"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"realmRoles": [
|
|
|
|
"user",
|
|
|
|
"user_premium"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"username": "admin",
|
|
|
|
"enabled": true,
|
|
|
|
"credentials": [
|
|
|
|
{
|
|
|
|
"type": "password",
|
|
|
|
"value": "admin"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"realmRoles": [
|
|
|
|
"user",
|
|
|
|
"admin"
|
|
|
|
],
|
|
|
|
"clientRoles": {
|
|
|
|
"realm-management": [
|
|
|
|
"realm-admin"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"username": "service-account-servlet-authz-app",
|
|
|
|
"enabled": true,
|
|
|
|
"serviceAccountClientId": "servlet-authz-app",
|
|
|
|
"clientRoles": {
|
|
|
|
"servlet-authz-app" : ["uma_protection"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"roles": {
|
|
|
|
"realm": [
|
|
|
|
{
|
|
|
|
"name": "user",
|
|
|
|
"description": "User privileges"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "admin",
|
|
|
|
"description": "Administrator privileges"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "user_premium",
|
|
|
|
"description": "User Premium privileges"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"clients": [
|
|
|
|
{
|
|
|
|
"clientId": "servlet-authz-app",
|
|
|
|
"enabled": true,
|
|
|
|
"baseUrl": "/servlet-authz-app",
|
|
|
|
"adminUrl": "/servlet-authz-app",
|
|
|
|
"bearerOnly": false,
|
|
|
|
"authorizationServicesEnabled": true,
|
2019-12-17 23:41:36 +00:00
|
|
|
"directAccessGrantsEnabled": true,
|
2016-07-29 15:42:53 +00:00
|
|
|
"redirectUris": [
|
|
|
|
"/servlet-authz-app/*"
|
|
|
|
],
|
2023-05-27 10:36:08 +00:00
|
|
|
"secret": "secret",
|
|
|
|
"attributes" : {
|
|
|
|
"exclude.issuer.from.auth.response": "true"
|
|
|
|
}
|
2016-07-29 15:42:53 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|