Skip to content

Commit 667b132

Browse files
committed
Fix name
1 parent c3e696e commit 667b132

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/onelogin/saml2/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class OneLogin_Saml2_ValidationError(Exception):
9999
WRONG_ISSUER = 29
100100
SESSION_EXPIRED = 30
101101
WRONG_SUBJECTCONFIRMATION = 31
102-
NO_SIGNED_RESPONSE = 32
102+
NO_SIGNED_MESSAGE = 32
103103
NO_SIGNED_ASSERTION = 33
104104
NO_SIGNATURE_FOUND = 34
105105
KEYINFO_NOT_FOUND_IN_ENCRYPTED_DATA = 35

src/onelogin/saml2/logout_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def is_valid(self, request_data, raise_exceptions=False):
341341
if 'Signature' not in get_data:
342342
raise OneLogin_Saml2_ValidationError(
343343
'The Message of the Logout Request is not signed and the SP require it',
344-
OneLogin_Saml2_ValidationError.NO_SIGNED_RESPONSE
344+
OneLogin_Saml2_ValidationError.NO_SIGNED_MESSAGE
345345
)
346346

347347
if 'Signature' in get_data:

src/onelogin/saml2/logout_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def is_valid(self, request_data, request_id=None, raise_exceptions=False):
132132
if 'Signature' not in get_data:
133133
raise OneLogin_Saml2_ValidationError(
134134
'The Message of the Logout Response is not signed and the SP require it',
135-
OneLogin_Saml2_ValidationError.NO_SIGNED_RESPONSE
135+
OneLogin_Saml2_ValidationError.NO_SIGNED_MESSAGE
136136
)
137137

138138
if 'Signature' in get_data:

src/onelogin/saml2/response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def is_valid(self, request_data, request_id=None, raise_exceptions=False):
271271
if security.get('wantAssertionsSigned', False) and not has_signed_assertion:
272272
raise OneLogin_Saml2_ValidationError(
273273
'The Assertion of the Response is not signed and the SP require it',
274-
OneLogin_Saml2_ValidationError.NO_SIGNED_RESPONSE
274+
OneLogin_Saml2_ValidationError.NO_SIGNED_MESSAGE
275275
)
276276

277277
if security.get('wantMessagesSigned', False) and not has_signed_response:

0 commit comments

Comments
 (0)