예제 #1
0
파일: tests.py 프로젝트: dv10den/saml2test
 def pre_processing(self, message, **kwargs):
     message.assertion.issue_instant = a_while_ago(hours=24)
     return message
예제 #2
0
파일: tests.py 프로젝트: dv10den/saml2test
 def pre_processing(self, message, **kwargs):
     _confirmation = message.assertion.subject.subject_confirmation[0]
     _confirmation.subject_confirmation_data.not_on_or_after = a_while_ago(
         hours=5)
     return message
예제 #3
0
파일: tests.py 프로젝트: dv10den/saml2test
 def pre_processing(self, message, **kwargs):
     _statement = message.assertion.authn_statement[0]
     _statement.session_not_on_or_after = a_while_ago(hours=5)
     return message
예제 #4
0
파일: tests.py 프로젝트: dv10den/saml2test
 def pre_processing(self, message, **kwargs):
     conditions = message.assertion.conditions
     # Valid up until five hours ago
     conditions.not_on_or_after = a_while_ago(hours=5)
     return message
예제 #5
0
파일: tests.py 프로젝트: HaToHo/pysaml2
 def pre_processing(self, message, **kwargs):
     message.assertion.issue_instant = a_while_ago(hours=24)
     return message
예제 #6
0
파일: tests.py 프로젝트: HaToHo/pysaml2
 def pre_processing(self, message, **kwargs):
     _statement = message.assertion.authn_statement[0]
     _statement.session_not_on_or_after = a_while_ago(hours=5)
     return message
예제 #7
0
파일: tests.py 프로젝트: HaToHo/pysaml2
 def pre_processing(self, message, **kwargs):
     _confirmation = message.assertion.subject.subject_confirmation[0]
     _confirmation.subject_confirmation_data.not_on_or_after = a_while_ago(
         hours=5)
     return message
예제 #8
0
파일: tests.py 프로젝트: HaToHo/pysaml2
 def pre_processing(self, message, **kwargs):
     conditions = message.assertion.conditions
     # Valid up until five hours ago
     conditions.not_on_or_after = a_while_ago(hours=5)
     return message