|
7 | 7 | 'core:AdminPassword', |
8 | 8 | ], |
9 | 9 | 'silauth' => ConfigManager::getSspConfig(), |
10 | | - 'example-userpass' => [ |
11 | | - 'exampleauth:UserPass', |
12 | | - 'nag_for_mfa:a' => [ |
13 | | - 'eduPersonPrincipalName' => ['NAG_FOR_MFA@ssp-hub-idp4.local'], |
14 | | - 'eduPersonTargetID' => ['2b2d424e-8cb0-49c7-8c0b-7f660340f5fa'], |
15 | | - 'sn' => ['Mfas'], |
16 | | - 'givenName' => ['No'], |
17 | | - 'mail' => ['nag_for_mfa@example.com'], |
18 | | - 'employeeNumber' => ['11111'], |
19 | | - 'cn' => ['NAG_FOR_MFA'], |
20 | | - 'schacExpiryDate' => [ |
21 | | - gmdate('YmdHis\Z', strtotime('+6 months')), // Distant future |
22 | | - ], |
23 | | - ], |
24 | | - 'must_set_up_mfa:a' => [ |
25 | | - 'eduPersonPrincipalName' => ['MUST_SET_UP_MFA@ssp-hub-idp4.local'], |
26 | | - 'eduPersonTargetID' => ['ef960c92-09fc-44f4-aadf-2d3aea6e0dbd'], |
27 | | - 'sn' => ['Have'], |
28 | | - 'givenName' => ['Must'], |
29 | | - 'mail' => ['must_set_up_mfa@example.com'], |
30 | | - 'employeeNumber' => ['22222'], |
31 | | - 'cn' => ['MUST_SET_UP_MFA'], |
32 | | - 'schacExpiryDate' => [ |
33 | | - gmdate('YmdHis\Z', strtotime('+6 months')), // Distant future |
34 | | - ], |
35 | | - ], |
36 | | - 'has_backupcode:a' => [ |
37 | | - 'eduPersonPrincipalName' => ['HAS_BACKUPCODE@ssp-hub-idp4.local'], |
38 | | - 'eduPersonTargetID' => ['ef960c92-09fc-44f4-aadf-2d3aea6e0dbd'], |
39 | | - 'sn' => ['BackupCode'], |
40 | | - 'givenName' => ['Has'], |
41 | | - 'mail' => ['has_backupcode@example.com'], |
42 | | - 'employeeNumber' => ['33333'], |
43 | | - 'cn' => ['HAS_BACKUPCODE'], |
44 | | - 'schacExpiryDate' => [ |
45 | | - gmdate('YmdHis\Z', strtotime('+6 months')), // Distant future |
46 | | - ], |
47 | | - ], |
48 | | - 'has_totp:a' => [ |
49 | | - 'eduPersonPrincipalName' => ['HAS_TOTP@ssp-hub-idp4.local'], |
50 | | - 'eduPersonTargetID' => ['7bab90d3-9f54-4187-804d-7f6400021789'], |
51 | | - 'sn' => ['TOTP'], |
52 | | - 'givenName' => ['Has'], |
53 | | - 'mail' => ['has_totp@example.com'], |
54 | | - 'employeeNumber' => ['44444'], |
55 | | - 'cn' => ['HAS_TOTP'], |
56 | | - 'schacExpiryDate' => [ |
57 | | - gmdate('YmdHis\Z', strtotime('+6 months')), // Distant future |
58 | | - ], |
59 | | - ], |
60 | | - 'has_u2f:a' => [ |
61 | | - 'eduPersonPrincipalName' => ['HAS_U2F@ssp-hub-idp4.local'], |
62 | | - 'eduPersonTargetID' => ['6b614606-bbe8-4793-b0db-ca862295c661'], |
63 | | - 'sn' => ['U2F'], |
64 | | - 'givenName' => ['Has'], |
65 | | - 'mail' => ['has_u2f@example.com'], |
66 | | - 'employeeNumber' => ['55555'], |
67 | | - 'cn' => ['HAS_U2F'], |
68 | | - 'schacExpiryDate' => [ |
69 | | - gmdate('YmdHis\Z', strtotime('+6 months')), // Distant future |
70 | | - ], |
71 | | - ], |
72 | | - 'has_webauthn:a' => [ |
73 | | - 'eduPersonPrincipalName' => ['HAS_WEBAUTHN@ssp-hub-idp4.local'], |
74 | | - 'eduPersonTargetID' => ['c818d44a-a322-45f4-a1d0-6afc3c2a54e9'], |
75 | | - 'sn' => ['Webauthn'], |
76 | | - 'givenName' => ['Has'], |
77 | | - 'mail' => ['has_webauthn@example.com'], |
78 | | - 'employeeNumber' => ['66666'], |
79 | | - 'cn' => ['HAS_WEBAUTHN'], |
80 | | - 'schacExpiryDate' => [ |
81 | | - gmdate('YmdHis\Z', strtotime('+6 months')), // Distant future |
82 | | - ], |
83 | | - ], |
84 | | - 'has_all_legacy:a' => [ |
85 | | - 'eduPersonPrincipalName' => ['HAS_ALL_LEGACY@ssp-hub-idp4.local'], |
86 | | - 'eduPersonTargetID' => ['7c695eac-dbca-45d0-b3dc-2df2e1d2294c'], |
87 | | - 'sn' => ['All'], |
88 | | - 'givenName' => ['Has'], |
89 | | - 'mail' => ['has_all_legacy@example.com'], |
90 | | - 'employeeNumber' => ['77777'], |
91 | | - 'cn' => ['HAS_ALL_LEGACY'], |
92 | | - 'schacExpiryDate' => [ |
93 | | - gmdate('YmdHis\Z', strtotime('+6 months')), // Distant future |
94 | | - ], |
95 | | - ], |
96 | | - 'has_all:a' => [ |
97 | | - 'eduPersonPrincipalName' => ['HAS_ALL@ssp-hub-idp4.local'], |
98 | | - 'eduPersonTargetID' => ['7c695eac-dbca-45d0-b3dc-2df2e1d2294c'], |
99 | | - 'sn' => ['All'], |
100 | | - 'givenName' => ['Has'], |
101 | | - 'mail' => ['has_all@example.com'], |
102 | | - 'employeeNumber' => ['77778'], |
103 | | - 'cn' => ['HAS_ALL'], |
104 | | - 'schacExpiryDate' => [ |
105 | | - gmdate('YmdHis\Z', strtotime('+6 months')), // Distant future |
106 | | - ], |
107 | | - ], |
108 | | - 'needs_review:a' => [ |
109 | | - 'eduPersonPrincipalName' => ['NEEDS_REVIEW@ssp-hub-idp4.local'], |
110 | | - 'eduPersonTargetID' => ['7c695eac-dbca-45d0-b3dc-123jkhf23bql'], |
111 | | - 'sn' => ['Needed'], |
112 | | - 'givenName' => ['Review'], |
113 | | - 'mail' => ['needs_review@example.com'], |
114 | | - 'employeeNumber' => ['88888'], |
115 | | - 'cn' => ['NEEDS_REVIEW'], |
116 | | - 'schacExpiryDate' => [ |
117 | | - gmdate('YmdHis\Z', strtotime('+6 months')), // Distant future |
118 | | - ], |
119 | | - ], |
120 | | - 'nag_for_method:a' => [ |
121 | | - 'eduPersonPrincipalName' => ['NAG_FOR_METHOD@ssp-hub-idp4.local'], |
122 | | - 'eduPersonTargetID' => ['7c695eac-dbca-45d0-b3dc-123jkhf23bbq'], |
123 | | - 'sn' => ['For_Method'], |
124 | | - 'givenName' => ['Nag'], |
125 | | - 'mail' => ['nag_for_method@example.com'], |
126 | | - 'employeeNumber' => ['99999'], |
127 | | - 'cn' => ['NAG_FOR_METHOD'], |
128 | | - 'schacExpiryDate' => [ |
129 | | - gmdate('YmdHis\Z', strtotime('+6 months')), // Distant future |
130 | | - ], |
131 | | - ], |
132 | | - ], |
| 10 | + // Test user credentials are in the database migration m991231_235959_insert_mfa_test_users.php |
133 | 11 | ]; |
0 commit comments