forked from active-group/saml-idp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
88 lines (85 loc) · 1.9 KB
/
config.js
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
/**
* User Profile
*/
var profile = {
userName: 'KIM_Dev',
nameIdFormat: 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent',
access_readappend: ['2014DE05SFOP013:21.08qsz01.01.0.', 'A'],
access_readonly: ['2014DE05SFOP013:22.09asz05.01.3.', 'B'],
ressort: "IB",
referat: "Prüfer PB - Dev"/*,
firstName: 'Saml',
lastName: 'Jackson',
displayName: 'saml jackson',
email: '[email protected]',
mobilePhone: '+1-415-555-5141',
groups: 'Simple IdP Users, West Coast Users, Cloud Users'*/
}
/**
* SAML Attribute Metadata
*/
var metadata = [{
id: "access_readappend",
optional: true,
displayName: 'RA',
description: 'Readappend Access',
multiValue: true
}, {
id: "access_readonly",
optional: true,
displayName: 'RO',
description: 'Readonly Access',
multiValue: true
}, {
id: "ressort",
optional: true,
displayName: 'Ressort',
description: 'Ressort',
multiValue: false
}, {
id: "referat",
optional: true,
displayName: 'Referat',
description: 'Referat',
multiValue: false
}/*, {
id: "lastName",
optional: false,
displayName: 'Last Name',
description: 'The surname of the user',
multiValue: false
}, {
id: "displayName",
optional: true,
displayName: 'Display Name',
description: 'The display name of the user',
multiValue: false
}, {
id: "email",
optional: false,
displayName: 'E-Mail Address',
description: 'The e-mail address of the user',
multiValue: false
},{
id: "mobilePhone",
optional: true,
displayName: 'Mobile Phone',
description: 'The mobile phone of the user',
multiValue: false
}, {
id: "groups",
optional: true,
displayName: 'Groups',
description: 'Group memberships of the user',
multiValue: true
}, {
id: "userType",
optional: true,
displayName: 'User Type',
description: 'The type of user',
options: ['Admin', 'Editor', 'Commenter']
}*/];
module.exports = {
user: profile,
metadata: metadata
}