Keycloak
/
keycloak-claim-information-point-authz-service.json
33 строки · 803.0 Байт
1{
2"realm": "servlet-authz",
3"auth-server-url" : "http://localhost:8180/auth",
4"ssl-required" : "external",
5"resource" : "servlet-authz-app",
6"public-client" : false,
7"credentials": {
8"secret": "secret"
9},
10"autodetect-bearer-only": true,
11"policy-enforcer": {
12"on-deny-redirect-to" : "/servlet-authz-app/accessDenied.jsp",
13"lazy-load-paths": true,
14"paths": [
15{
16"path": "/protected/context/context.jsp",
17"claim-information-point": {
18"claims": {
19"request-claim": "{request.parameter['request-claim']}"
20}
21}
22},
23{
24"path": "/protected/filter/body",
25"claim-information-point": {
26"claims": {
27"request-claim": "{request.body}"
28}
29}
30}
31]
32}
33}