@@ -366,7 +366,7 @@ def pre_processing(self, message, **kwargs):
366
366
OPERATIONS = {
367
367
'sp-00' : {
368
368
"name" : 'Basic Login test' ,
369
- "descr" : 'GET startpage from SP, verify authentication request, verify ' \
369
+ "descr" : 'GET startpage from SP, verify authentication request, verify '
370
370
'HTTP-Response after sending the SAML response' ,
371
371
"sequence" : [(Login , AuthnRequest , AuthnResponse , None )],
372
372
"tests" : {"pre" : [], "post" : []}
@@ -377,15 +377,24 @@ def pre_processing(self, message, **kwargs):
377
377
"sequence" : [(Login , AuthnRequest , AuthnResponse , check .VerifyEchopageContents )],
378
378
"tests" : {"pre" : [], "post" : []}
379
379
},
380
+ 'sp-08' : {
381
+ "name" : "SP should accept a Response without a "
382
+ "SubjectConfirmationData element. If confirmation method"
383
+ "is SCM_SENDER_VOUCHES" ,
384
+ "sequence" : [(Login , AuthnRequest ,
385
+ AuthnResponse_without_SubjectConfirmationData_2 ,
386
+ check .ErrorResponse )],
387
+ "tests" : {"pre" : [], "post" : []}
388
+ },
380
389
'FL02' : {
381
390
"name" : 'Verify various aspects of the generated AuthnRequest message' ,
382
391
"descr" : 'Basic Login test' ,
383
392
"sequence" : [],
384
393
"tests" : {"pre" : [], "post" : []}
385
394
},
386
395
'FL03' : {
387
- "name" : """ SP should not accept a Response as valid, when the
388
- StatusCode is not success"" " ,
396
+ "name" : "SP should not accept a Response as valid, when the StatusCode"
397
+ " is not success" ,
389
398
"sequence" : [(Login , AuthnRequest , ErrorResponse , check .ErrorResponse )],
390
399
"tests" : {"pre" : [], "post" : []}
391
400
},
@@ -408,41 +417,32 @@ def pre_processing(self, message, **kwargs):
408
417
"tests" : {"pre" : [], "post" : []}
409
418
},
410
419
'FL07' : {
411
- "name" : ( "SP should accept a Response without a " ,
412
- "SubjectConfirmationData element. If confirmation method" ,
413
- "is SCM_SENDER_VOUCHES" ) ,
420
+ "name" : "SP should accept a Response without a "
421
+ "SubjectConfirmationData element. If confirmation method "
422
+ "is SCM_SENDER_VOUCHES" ,
414
423
"sequence" : [(Login , AuthnRequest ,
415
424
AuthnResponse_without_SubjectConfirmationData_1 , None )],
416
425
"tests" : {"pre" : [], "post" : []}
417
426
},
418
427
'FL09' : {
419
- "name" : ( "SP should not accept a response InResponseTo " ,
420
- "which is chosen randomly" ) ,
428
+ "name" : "SP should not accept a response InResponseTo "
429
+ "which is chosen randomly" ,
421
430
"sequence" : [(Login , AuthnRequest ,
422
431
AuthnResponse_rnd_Response_inresponseto ,
423
432
check .ErrorResponse )],
424
433
"tests" : {"pre" : [], "post" : []}
425
434
},
426
435
'FL10' : {
427
- "name" : ( "SP should not accept an assertion InResponseTo " ,
428
- "which is chosen randomly" ) ,
436
+ "name" : "SP should not accept an assertion InResponseTo "
437
+ "which is chosen randomly" ,
429
438
"sequence" : [(Login , AuthnRequest ,
430
439
AuthnResponse_rnd_Response_assertion_inresponseto ,
431
440
check .ErrorResponse )],
432
441
"tests" : {"pre" : [], "post" : []}
433
442
},
434
- 'sp-08' : {
435
- "name" : ("SP should accept a Response without a " ,
436
- "SubjectConfirmationData element. If confirmation method" ,
437
- "is SCM_SENDER_VOUCHES" ),
438
- "sequence" : [(Login , AuthnRequest ,
439
- AuthnResponse_without_SubjectConfirmationData_2 ,
440
- check .ErrorResponse )],
441
- "tests" : {"pre" : [], "post" : []}
442
- },
443
443
'FL12' : {
444
- "name" : ( "Do the SP allow the InResponseTo attribute to be missing" ,
445
- "from the SubjectConfirmationData element?" ) ,
444
+ "name" : "Do the SP allow the InResponseTo attribute to be missing"
445
+ "from the SubjectConfirmationData element?" ,
446
446
"sequence" : [(Login , AuthnRequest ,
447
447
AuthnResponse_SubjectConfirmationData_no_inresponse ,
448
448
check .ErrorResponse )],
0 commit comments