Skip to content

Commit

Permalink
Revert "comments to identify which users are for which module's tests…
Browse files Browse the repository at this point in the history
… [skip ci]"

This reverts commit 5634a0b.
  • Loading branch information
briskt committed May 15, 2024
1 parent 9856266 commit c4afaf1
Showing 1 changed file with 0 additions and 72 deletions.
72 changes: 0 additions & 72 deletions development/idp-local/config/authsources.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
// Set up example users for testing expirychecker module.
'example-userpass' => [
'exampleauth:UserPass',

// expirychecker test user whose password expires in the distant future
'distant_future:a' => [
'eduPersonPrincipalName' => ['[email protected]'],
'sn' => ['Future'],
Expand All @@ -31,8 +29,6 @@
gmdate('YmdHis\Z', strtotime('+6 months')), // Distant future
],
],

// expirychecker test user whose password expires in the near future
'near_future:b' => [
'eduPersonPrincipalName' => ['[email protected]'],
'sn' => ['Future'],
Expand All @@ -47,8 +43,6 @@
gmdate('YmdHis\Z', strtotime('+1 day')), // Very soon
],
],

// expirychecker test user whose password expires in the past
'already_past:c' => [
'eduPersonPrincipalName' => ['[email protected]'],
'sn' => ['Past'],
Expand All @@ -63,8 +57,6 @@
gmdate('YmdHis\Z', strtotime('-1 day')), // In the past
],
],

// expirychecker test user whose password expiry is missing
'missing_exp:d' => [
'eduPersonPrincipalName' => ['[email protected]'],
'sn' => ['Expiration'],
Expand All @@ -73,8 +65,6 @@
'employeeNumber' => ['44444'],
'cn' => ['MISSING_EXP'],
],

// expirychecker test user whose password expiry is invalid
'invalid_exp:e' => [
'eduPersonPrincipalName' => ['[email protected]'],
'sn' => ['Expiration'],
Expand All @@ -89,8 +79,6 @@
'invalid'
],
],

// profilereview test user whose profile is not due for review
'no_review:e' => [
'eduPersonPrincipalName' => ['NO_REVIEW@idp'],
'eduPersonTargetID' => ['11111111-1111-1111-1111-111111111111'],
Expand Down Expand Up @@ -123,8 +111,6 @@
],
'profile_review' => 'no'
],

// profilereview test user whose profile is flagged for mfa_add review
'mfa_add:f' => [
'eduPersonPrincipalName' => ['MFA_ADD@idp'],
'eduPersonTargetID' => ['22222222-2222-2222-2222-222222222222'],
Expand All @@ -146,8 +132,6 @@
],
'profile_review' => 'no'
],

// profilereview test user whose profile is flagged for method_add review
'method_add:g' => [
'eduPersonPrincipalName' => ['METHOD_ADD@methodidp'],
'eduPersonTargetID' => ['44444444-4444-4444-4444-444444444444'],
Expand Down Expand Up @@ -180,8 +164,6 @@
],
'profile_review' => 'no'
],

// profilereview test user whose profile is flagged for profile review
'profile_review:h' => [
'eduPersonPrincipalName' => ['METHOD_REVIEW@methodidp'],
'eduPersonTargetID' => ['55555555-5555-5555-5555-555555555555'],
Expand Down Expand Up @@ -231,8 +213,6 @@
],
'profile_review' => 'yes'
],

// mfa test user who does not require mfa
'no_mfa_needed:a' => [
'eduPersonPrincipalName' => ['NO_MFA_NEEDED@mfaidp'],
'eduPersonTargetID' => ['11111111-1111-1111-1111-111111111111'],
Expand All @@ -255,8 +235,6 @@
'options' => [],
],
],

// mfa test user who requires mfa to be set up
'must_set_up_mfa:a' => [
'eduPersonPrincipalName' => ['MUST_SET_UP_MFA@mfaidp'],
'eduPersonTargetID' => ['22222222-2222-2222-2222-222222222222'],
Expand All @@ -279,8 +257,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has backup codes
'has_backupcode:a' => [
'eduPersonPrincipalName' => ['HAS_BACKUPCODE@mfaidp'],
'eduPersonTargetID' => ['33333333-3333-3333-3333-333333333333'],
Expand Down Expand Up @@ -311,8 +287,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has backup codes and a manager email
'has_backupcode_and_mgr:a' => [
'eduPersonPrincipalName' => ['HAS_BACKUPCODE@mfaidp'],
'eduPersonTargetID' => ['33333333-3333-3333-3333-333333333333'],
Expand Down Expand Up @@ -344,8 +318,6 @@
],
'manager_email' => ['[email protected]'],
],

// mfa test user who requires mfa and has totp
'has_totp:a' => [
'eduPersonPrincipalName' => ['HAS_TOTP@mfaidp'],
'eduPersonTargetID' => ['44444444-4444-4444-4444-444444444444'],
Expand Down Expand Up @@ -374,8 +346,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has totp and a manager email
'has_totp_and_mgr:a' => [
'eduPersonPrincipalName' => ['HAS_TOTP@mfaidp'],
'eduPersonTargetID' => ['44444444-4444-4444-4444-444444444444'],
Expand Down Expand Up @@ -405,8 +375,6 @@
],
'manager_email' => ['[email protected]'],
],

// mfa test user who requires mfa and has a webauthn
'has_webauthn:a' => [
'eduPersonPrincipalName' => ['HAS_WEBAUTHN@mfaidp'],
'eduPersonTargetID' => ['55555555-5555-5555-5555-555555555555'],
Expand Down Expand Up @@ -440,8 +408,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has webauthn and a manager email
'has_webauthn_and_mgr:a' => [
'eduPersonPrincipalName' => ['HAS_WEBAUTHN@mfaidp'],
'eduPersonTargetID' => ['55555555-5555-5555-5555-555555555555'],
Expand Down Expand Up @@ -471,8 +437,6 @@
],
'manager_email' => ['[email protected]'],
],

// mfa test user who requires mfa and has all forms of mfa
'has_all:a' => [
'eduPersonPrincipalName' => ['has_all@mfaidp'],
'eduPersonTargetID' => ['77777777-7777-7777-7777-777777777777'],
Expand Down Expand Up @@ -514,8 +478,6 @@
],
'manager_email' => ['[email protected]'],
],

// mfa test user who has a rate-limited mfa
'has_rate_limited_mfa:a' => [
'eduPersonPrincipalName' => ['HAS_RATE_LIMITED_MFA@mfaidp'],
'eduPersonTargetID' => ['88888888-8888-8888-8888-888888888888'],
Expand Down Expand Up @@ -546,8 +508,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has 4 backup codes
'has_4_backupcodes:a' => [
'eduPersonPrincipalName' => ['HAS_4_BACKUPCODES@mfaidp'],
'eduPersonTargetID' => ['99999999-9999-9999-9999-999999999999'],
Expand Down Expand Up @@ -578,8 +538,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has 1 backup code remaining
'has_1_backupcode_only:a' => [
'eduPersonPrincipalName' => ['HAS_1_BACKUPCODE_ONLY@mfaidp'],
'eduPersonTargetID' => ['00000010-0010-0010-0010-000000000010'],
Expand Down Expand Up @@ -610,8 +568,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has one backup code plus another option
'has_1_backupcode_plus:a' => [
'eduPersonPrincipalName' => ['HAS_1_BACKUPCODE_PLUS@mfaidp'],
'eduPersonTargetID' => ['00000011-0011-0011-0011-000000000011'],
Expand Down Expand Up @@ -647,8 +603,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has webauthn and totp
'has_webauthn_totp:a' => [
'eduPersonPrincipalName' => ['has_webauthn_totp@mfaidp'],
'eduPersonTargetID' => ['00000012-0012-0012-0012-000000000012'],
Expand Down Expand Up @@ -682,8 +636,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has webauthn, totp and a manager email
'has_webauthn_totp_and_mgr:a' => [
'eduPersonPrincipalName' => ['has_webauthn_totp@mfaidp'],
'eduPersonTargetID' => ['00000012-0012-0012-0012-000000000012'],
Expand Down Expand Up @@ -718,8 +670,6 @@
],
'manager_email' => ['[email protected]'],
],

// mfa test user who requires mfa and has webauthn and backup codes
'has_webauthn_backupcodes:a' => [
'eduPersonPrincipalName' => ['has_webauthn_backupcodes@mfaidp'],
'eduPersonTargetID' => ['00000013-0013-0013-0013-000000000013'],
Expand Down Expand Up @@ -755,8 +705,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has backup codes and a manager email
'has_webauthn_backupcodes_and_mgr:a' => [
'eduPersonPrincipalName' => ['has_webauthn_backupcodes@mfaidp'],
'eduPersonTargetID' => ['00000013-0013-0013-0013-000000000013'],
Expand Down Expand Up @@ -793,8 +741,6 @@
],
'manager_email' => ['[email protected]'],
],

// mfa test user who requires mfa and has totp and backup codes
'has_webauthn_totp_backupcodes:a' => [
'eduPersonPrincipalName' => ['has_webauthn_totp_backupcodes@mfaidp'],
'eduPersonTargetID' => ['00000014-0014-0014-0014-000000000014'],
Expand Down Expand Up @@ -835,8 +781,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has backup codes, totp, and a manager email
'has_webauthn_totp_backupcodes_and_mgr:a' => [
'eduPersonPrincipalName' => ['has_webauthn_totp_backupcodes@mfaidp'],
'eduPersonTargetID' => ['00000014-0014-0014-0014-000000000014'],
Expand Down Expand Up @@ -878,8 +822,6 @@
],
'manager_email' => ['[email protected]'],
],

// mfa test user who requires mfa and has manager code, webauthn, and a more-recently used totp
'has_mgr_code_webauthn_and_more_recently_used_totp:a' => [
'eduPersonPrincipalName' => ['has_mgr_code_webauthn_and_more_recently_used_totp@mfaidp'],
'eduPersonTargetID' => ['00000114-0014-0014-0014-000000000014'],
Expand Down Expand Up @@ -921,8 +863,6 @@
],
'manager_email' => ['[email protected]'],
],

// mfa test user who requires mfa and has webauthn and more recently used totp
'has_webauthn_and_more_recently_used_totp:a' => [
'eduPersonPrincipalName' => ['has_webauthn_and_more_recently_used_totp@mfaidp'],
'eduPersonTargetID' => ['00000214-0014-0014-0014-000000000014'],
Expand Down Expand Up @@ -958,8 +898,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has totp and more recently used webauthn
'has_totp_and_more_recently_used_webauthn:a' => [
'eduPersonPrincipalName' => ['has_totp_and_more_recently_used_webauthn@mfaidp'],
'eduPersonTargetID' => ['00000314-0014-0014-0014-000000000014'],
Expand Down Expand Up @@ -995,8 +933,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has totp and more recently-used backup code
'has_totp_and_more_recently_used_backup_code:a' => [
'eduPersonPrincipalName' => ['has_totp_and_more_recently_used_backup_code@mfaidp'],
'eduPersonTargetID' => ['00000414-0014-0014-0014-000000000014'],
Expand Down Expand Up @@ -1034,8 +970,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has backup code and a more recently used totp
'has_backup_code_and_more_recently_used_totp:a' => [
'eduPersonPrincipalName' => ['has_backup_code_and_more_recently_used_totp@mfaidp'],
'eduPersonTargetID' => ['00000514-0014-0014-0014-000000000014'],
Expand Down Expand Up @@ -1073,8 +1007,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has totp and backup codes
'has_totp_backupcodes:a' => [
'eduPersonPrincipalName' => ['has_totp_backupcodes@mfaidp'],
'eduPersonTargetID' => ['00000015-0015-0015-0015-000000000015'],
Expand Down Expand Up @@ -1110,8 +1042,6 @@
'options' => [],
],
],

// mfa test user who requires mfa and has totp, backup codes, and manager email
'has_totp_backupcodes_and_mgr:a' => [
'eduPersonPrincipalName' => ['has_totp_backupcodes@mfaidp'],
'eduPersonTargetID' => ['00000015-0015-0015-0015-000000000015'],
Expand Down Expand Up @@ -1148,8 +1078,6 @@
],
'manager_email' => ['[email protected]'],
],

// mfa test user who requires mfa and has backup codes and manager code
'has_mgr_code:a' => [
'eduPersonPrincipalName' => ['has_mgr_code@mfaidp'],
'eduPersonTargetID' => ['00000015-0015-0015-0015-000000000015'],
Expand Down

0 comments on commit c4afaf1

Please sign in to comment.