Projet

Général

Profil

« Précédent | Suivant » 

Révision c8e50d30

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

saml2: SSO post test if the session contents unique_id

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'):
237
            return _500('singleSignOnPost', 'Unable to find request_id in session')
236 238
        saml_request_id = env['beaker.session']['request_id']
237 239
        check = saml2utils.authnresponse_checking(login, subject_confirmation,
238 240
            logger, saml_request_id=saml_request_id)

Formats disponibles : Unified diff