-
-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support single-label-domains as valid. New security parameter allowSi…
…ngleLabelDomains
- Loading branch information
Showing
8 changed files
with
43 additions
and
9 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
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
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 |
---|---|---|
|
@@ -714,7 +714,6 @@ def testDoesNotAllowSignatureWrappingAttack(self): | |
self.assertFalse(response.is_valid(self.get_request_data())) | ||
self.assertEqual('[email protected]', response.get_nameid()) | ||
|
||
|
||
def testDoesNotAllowSignatureWrappingAttack2(self): | ||
# Signature Wraping attack 2 | ||
settings = OneLogin_Saml2_Settings(self.loadSettingsJSON()) | ||
|
@@ -724,7 +723,6 @@ def testDoesNotAllowSignatureWrappingAttack2(self): | |
self.assertFalse(response.is_valid(self.get_request_data())) | ||
self.assertEquals("SAML Response must contain 1 assertion", response.get_error()) | ||
|
||
|
||
def testNodeTextAttack(self): | ||
""" | ||
Tests the get_nameid and get_attributes methods of the OneLogin_Saml2_Response | ||
|
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