Le formulaire a été enregistré le 21/04/2008 11:11 avec le numéro 150.
Type Bug
Commentaire / explication SSO depuis un SP -> Ok
SLO depuis le même SP -> Ok
SSO avec isPassive=true -> SSO refusé, Ok
SSO avec isPassive=false -> SSO refusé sans page de login, pas Ok
Un script twill pour reproduire (enfin j'espère, les scripts d'intégration ne fonctionne pas avec ma liblasso paramétré avec --enable-debugging, je ne sais pas si ça a un rapport).
def test_sso_sp_initiated_then_slo_sp_then_is_passive_then_not_is_passive():
twill.commands.reset_browser()
twill.execute_string('''
go http://localhost:10002
submit
fv 1 username fred
fv 1 password fred
url http://localhost:10002
find 'Logged in'
submit slo-soap
url http://localhost:10002
find 'Log on'
go http://localhost:10002
fv 1 is_passive true
submit
url http://localhost:10002
find 'Unknown authentication failure'
go http://localhost:10002
submit
fv 1 username fred
fv 1 password fred
url http://localhost:10002
find 'Logged in'
''')
Script à relire je n'ai pas pris twill seconde langue à l'école...
StatutNouveau
Historique
- 21/04/2008 11:12
- 21/04/2008 11:21 Frédéric Péters
Pas de mise en forme syntaxique ici; mais dans les mails qui sont envoyés c'est okay.
{{{ def test_sso_sp_initiated_then_slo_sp_then_is_passive_then_not_is_passive(): twill.commands.reset_browser() twill.execute_string(''' go http://localhost:10002 submit fv 1 username fred fv 1 password fred url http://localhost:10002 find 'Logged in' submit slo-soap url http://localhost:10002 find 'Log on' go http://localhost:10002 fv 1 is_passive true submit url http://localhost:10002 find 'Unknown authentication failure' go http://localhost:10002 submit fv 1 username fred fv 1 password fred url http://localhost:10002 find 'Logged in' ''') }}}