Projet

Général

Profil

« Précédent | Suivant » 

Révision 85bffa2b

Ajouté par Jérôme Schneider il y a presque 11 ans

saml2: fix the test ...

Fixes #2997

Voir les différences:

mandaye/auth/saml2.py
233 233
            return _500('singleSignOnPost', 'Unable to proces authnresponse message.')
234 234

  
235 235
        subject_confirmation = utils.get_absolute_uri(env)
236
        if env['beaker.session'].has_key('request_id'):
236
        if not env['beaker.session'].has_key('request_id'):
237 237
            return _500('singleSignOnPost', 'Unable to find request_id in session')
238 238
        saml_request_id = env['beaker.session']['request_id']
239 239
        check = saml2utils.authnresponse_checking(login, subject_confirmation,

Formats disponibles : Unified diff