-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add group support to header mapping (#15)
* Added support to header_map_file for group names, to match on groups too * Updated tests * Fixed tests
- Loading branch information
1 parent
079b343
commit 3f17689
Showing
6 changed files
with
34 additions
and
10 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
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 |
---|---|---|
|
@@ -2,5 +2,11 @@ | |
"[email protected]": { | ||
"Authorization": "ThisIsATestHeaderFromTheHeaderMapping", | ||
"X-test-Header": "another test" | ||
}, | ||
"test-header-group": { | ||
"TestHeaderFromGroup": "TestHeaderFromGroup" | ||
}, | ||
"test-header-group-absent": { | ||
"TestAbsentHeaderFromGroup": "TestAbsentHeaderFromGroup" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -7,7 +7,8 @@ | |
"userPrincipalName": "[email protected]", | ||
"id": "[email protected]", | ||
"groups": [ | ||
"All Users" | ||
"All Users", | ||
"test-header-group" | ||
] | ||
} | ||
} |
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