File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -611,10 +611,9 @@ def condition_ok(self, lax=False):
611
611
else :
612
612
self .not_on_or_after = 0
613
613
614
- if not self .allow_unsolicited :
615
- if not for_me (conditions , self .entity_id ):
616
- if not lax :
617
- raise Exception ("Not for me!!!" )
614
+ if not for_me (conditions , self .entity_id ):
615
+ if not lax :
616
+ raise Exception ("Not for me!!!" )
618
617
619
618
if conditions .condition : # extra conditions
620
619
for cond in conditions .condition :
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ def test_unpack_nested_eptid(self):
162
162
</saml:Subject>
163
163
<saml:Conditions NotBefore="2016-09-23T14:00:44Z">
164
164
<saml:AudienceRestriction>
165
- <saml:Audience>https://sp. example.com</saml:Audience>
165
+ <saml:Audience>urn:mace: example.com:saml:roland:sp </saml:Audience>
166
166
</saml:AudienceRestriction>
167
167
</saml:Conditions>
168
168
<saml:AuthnStatement AuthnInstant="2016-09-23T13:55:40Z"
@@ -222,7 +222,7 @@ def test_multiple_attribute_statement(self):
222
222
</saml:Subject>
223
223
<saml:Conditions NotBefore="2016-09-23T14:00:44Z">
224
224
<saml:AudienceRestriction>
225
- <saml:Audience>https://sp. example.com</saml:Audience>
225
+ <saml:Audience>urn:mace: example.com:saml:roland:sp </saml:Audience>
226
226
</saml:AudienceRestriction>
227
227
</saml:Conditions>
228
228
<saml:AuthnStatement AuthnInstant="2016-09-23T13:55:40Z"
You can’t perform that action at this time.
0 commit comments