forked from gregorwolf/bookshop-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xs-security.json
89 lines (89 loc) · 2.1 KB
/
xs-security.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"xsappname": "bookshop-demo",
"tenant-mode": "dedicated",
"scopes": [
{
"name": "$XSAPPNAME.admin",
"description": "admin",
"grant-as-authority-to-apps": [
"$XSAPPNAME(application, xsappforclientapp)"
]
},
{
"name": "$XSAPPNAME.booksadmin",
"description": "booksadmin"
},
{
"name": "$XSAPPNAME.roleadmin",
"description": "roleadmin"
},
{
"name": "uaa.user",
"description": "UAA",
"grant-as-authority-to-apps": [
"$XSAPPNAME(application, xsappforclientapp)"
]
},
{
"name": "$XSAPPNAME.jobscheduler",
"description": "Scope for Job Scheduler",
"grant-as-authority-to-apps": ["jobscheduler"]
},
{
"name": "$XSAPPNAME.job",
"description": "job",
"grant-as-authority-to-apps": [
"$XSAPPNAME(application, bookshop-demo-instance2)"
]
}
],
"attributes": [
{
"name": "level",
"description": "level",
"valueType": "s",
"valueRequired": false
}
],
"role-templates": [
{
"name": "admin",
"description": "generated",
"scope-references": ["$XSAPPNAME.admin"],
"attribute-references": []
},
{
"name": "booksadmin",
"description": "generated",
"scope-references": ["$XSAPPNAME.booksadmin"],
"attribute-references": []
},
{
"name": "roleadmin",
"description": "generated",
"scope-references": ["$XSAPPNAME.roleadmin"],
"attribute-references": []
},
{
"name": "Token_Exchange",
"description": "UAA",
"scope-references": ["uaa.user"]
},
{
"name": "userattributes",
"description": "generated",
"default-role-name": "Attributes of a User",
"scope-references": [],
"attribute-references": ["level"]
}
],
"oauth2-configuration": {
"credential-types": ["binding-secret", "x509"],
"redirect-uris": [
"https://global.consent.azure-apim.net/redirect",
"https://*.hana.ondemand.com/**",
"https://hxehost:*/**",
"http://localhost:*/**"
]
}
}