{ "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, "directAccessGrantsEnabled": true, "redirectUris": [ "/servlet-authz-app/*" ], "secret": "secret" } ] }