forked from SAP-samples/btp-industry-use-cases
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxs-security.json
104 lines (104 loc) · 2.54 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"xsappname": "wpm-app",
"tenant-mode": "shared",
"description": "Security profile of Workplace Management Application",
"scopes": [
{
"name": "$XSAPPNAME.mtcallback",
"description": "Subscription via SaaS Registry",
"grant-as-authority-to-apps": [
"$XSAPPNAME(application,sap-provisioning,tenant-onboarding)"
]
},
{
"name": "$XSAPPNAME.cds.Subscriber",
"description": "Subscribe to applications"
},
{
"name": "uaa.user",
"description": "UAA"
},
{
"name": "$XSAPPNAME.FacilitiesManager",
"description": "Facilities Manager"
},
{
"name": "$XSAPPNAME.EmployeeManager",
"description": "Employee Manager"
},
{
"name": "$XSAPPNAME.Employee",
"description": "Employee"
}
],
"attributes": [],
"foreign-scope-references": [
"$ACCEPT_GRANTED_SCOPES"
],
"authorities-inheritance": false,
"authorities": [
"$XSAPPNAME.cds.Subscriber"
],
"role-templates": [
{
"name": "Token_Exchange",
"description": "UAA",
"scope-references": [
"uaa.user"
]
},
{
"name": "WPMApp_FacilitiesManager",
"description": "Facilities Manager authorization",
"scope-references": [
"$XSAPPNAME.FacilitiesManager"
]
},
{
"name": "WPMApp_EmployeeManager",
"description": "Employee Manager authorization",
"scope-references": [
"$XSAPPNAME.EmployeeManager"
]
},
{
"name": "WPMApp_Employee",
"description": "Employee authorization",
"scope-references": [
"$XSAPPNAME.Employee"
]
}
],
"role-collections": [
{
"name": "WPMApp_FacilitiesManager",
"description": "Administrator of the Workplace Management application",
"role-template-references": [
"$XSAPPNAME.WPMApp_Employee",
"$XSAPPNAME.WPMApp_FacilitiesManager"
]
},
{
"name": "WPMApp_EmployeeManager",
"description": "User Manager of the Workplace Management application",
"role-template-references": [
"$XSAPPNAME.WPMApp_Employee",
"$XSAPPNAME.WPMApp_EmployeeManager"
]
},
{
"name": "WPMApp_Employee",
"description": "User of the Workplace Management application",
"role-template-references": [
"$XSAPPNAME.WPMApp_Employee"
]
}
],
"oauth2-configuration": {
"token-validity": 3600,
"redirect-uris": [
"https://*.hana.ondemand.com/**",
"https://*.applicationstudio.cloud.sap/**"
]
}
}