Keycloak
/
servlet-policy-enforcer-lifespan-authz-service.json
106 строк · 3.0 Кб
1{
2"realm": "servlet-policy-enforcer-authz",
3"auth-server-url": "http://localhost:8180/auth",
4"ssl-required": "external",
5"resource": "servlet-policy-enforcer",
6"credentials": {
7"secret": "secret"
8},
9"policy-enforcer": {
10"on-deny-redirect-to": "/servlet-policy-enforcer/denied.jsp",
11"lazy-load-paths": false,
12"path-cache": {
13"lifespan": 5
14},
15"paths": [
16{
17"name": "Welcome Resource",
18"path": "/index.jsp"
19},
20{
21"name": "Welcome Resource",
22"path": "/"
23},
24{
25"name": "Pattern 1",
26"path": "/resource/{pattern}/{sub-resource}"
27},
28{
29"name": "Pattern 2",
30"path": "/{pattern}/resource-a"
31},
32{
33"name": "Pattern 3",
34"path": "/{pattern}/resource-b"
35},
36{
37"name": "Pattern 4",
38"path": "/resource-c"
39},
40{
41"name": "Pattern 5",
42"path": "/a/{pattern}/resource-d"
43},
44{
45"name": "Pattern 6",
46"path": "/resource/{pattern}"
47},
48{
49"name": "Pattern 7",
50"path": "/resource/{pattern}/f/{resource}"
51},
52{
53"name": "Pattern 8",
54"path": "/resource"
55},
56{
57"name": "Pattern 9",
58"path": "/file/*.suffix"
59},
60{
61"name": "Pattern 10",
62"path": "/resource/{pattern}/i/{resource}/*"
63},
64{
65"name": "Pattern 11",
66"path": "/api/{version}/{resource}"
67},
68{
69"name": "Pattern 12",
70"path": "/keycloak_json_uri"
71},
72{
73"name": "Pattern 14",
74"path": "/keycloak-6623/sub-resource/*"
75},
76{
77"name": "Pattern 13",
78"path": "/keycloak-6623/*"
79},
80{
81"name": "Pattern 15",
82"path": "/keycloak-7148/{id}/*"
83},
84{
85"name": "Pattern 16",
86"path": "/keycloak-7269/sub-resource1"
87},
88{
89"name": "Pattern 16",
90"path": "/keycloak-7269/sub-resource2/*"
91},
92{
93"name": "Pattern 16",
94"path": "/keycloak-7269/sub-resource1/{test-pattern}/specialSuffix"
95},
96{
97"name": "Pattern 17",
98"path": "/keycloak-8823/resource/{version}/subresource/{id}/{other}"
99},
100{
101"name": "Pattern 17 Entities",
102"path": "/keycloak-8823/resource/{version}/subresource/{id}/entities"
103}
104]
105}
106}