-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle the affiliation attribute from SAML being an array
- Loading branch information
1 parent
dccc09c
commit f060790
Showing
3 changed files
with
36 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
'exampleauth:UserPass', | ||
'user1:password' => array_merge($test_user_base, array( | ||
'urn:oid:2.16.840.1.113730.3.1.241' => 'Sally M. Submitter', | ||
'urn:oid:1.3.6.1.4.1.5923.1.1.1.9' => '[email protected]', | ||
'urn:oid:1.3.6.1.4.1.5923.1.1.1.9' => array('[email protected]', '[email protected]'), | ||
'urn:oid:0.9.2342.19200300.100.1.3' => '[email protected]', | ||
'urn:oid:1.3.6.1.4.1.5923.1.1.1.6' => '[email protected]', | ||
'urn:oid:2.5.4.42' => 'Sally', | ||
|
@@ -29,7 +29,7 @@ | |
)), | ||
'user2:password' => array_merge($test_user_base, array( | ||
'urn:oid:2.16.840.1.113730.3.1.241' => 'Thomas L. Submitter', | ||
'urn:oid:1.3.6.1.4.1.5923.1.1.1.9' => '[email protected]', | ||
'urn:oid:1.3.6.1.4.1.5923.1.1.1.9' => array('[email protected]'), | ||
'urn:oid:0.9.2342.19200300.100.1.3' => '[email protected]', | ||
'urn:oid:1.3.6.1.4.1.5923.1.1.1.6' => '[email protected]', | ||
'urn:oid:2.5.4.42' => 'Tom', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,8 @@ public void testLoggedInUser() throws IOException { | |
|
||
expected.setDisplayName("Sally M. Submitter"); | ||
expected.setEmail("[email protected]"); | ||
expected.setAffiliation(new HashSet<>(List.of("[email protected]", "johnshopkins.edu"))); | ||
expected.setAffiliation(new HashSet<>(List.of("[email protected]", | ||
"[email protected]", "johnshopkins.edu"))); | ||
expected.setFirstName("Sally"); | ||
expected.setLastName("Submitter"); | ||
expected.setLocatorIds(List.of("johnshopkins.edu:unique-id:sms123456789", | ||
|