Project

General

Profile

Tâche #26849

Scénario #28959: Traitement express MEN (39-41)

Fédération avec le GAR

Added by Christophe LEON 9 months ago. Updated about 1 month ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
02/14/2019
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Dans le cadre d'une fédération avec le GAR, il est nécessaire de modifier le SSO pour renvoyer

Dans saml_message.py

Vers la ligne 163, il est nécessaire de rajouter cette ligne

assertion.subject.subject_confirmation.subject_confirmation_data.in_response_to = request_id

ce qui donne

        response.status.status_code = samlp.StatusCode(samlp.STATUS_SUCCESS)
response.status.status_message = samlp.StatusMessage()
response.status.status_detail = samlp.StatusDetail()
assertion_id = gen_random_id('_')
assertion = gen_assertion(user_id, attributes, creation_date, \
auth_instant, assertion_consumer, assertion_id, \
issuer, sp_ident, session_index, from_credentials, \
auth_class, client_addr, client_dns)
assertion.subject.subject_confirmation.subject_confirmation_data.in_response_to = request_id # <= ICI
response.assertion.append(assertion)

Associated revisions

Revision 02fccfad (diff)
Added by Joël Cuissinat about 1 month ago

Update SAML for GAR federation

Ref: #26849

History

#1 Updated by Joël Cuissinat about 2 months ago

  • Tracker changed from Anomalie to Demande

#2 Updated by Joël Cuissinat about 2 months ago

  • Parent task set to #28959

#3 Updated by Scrum Master about 2 months ago

  • Project changed from EoleSSO to Distribution EOLE
  • Status changed from Nouveau to En cours

#4 Updated by Scrum Master about 2 months ago

  • Description updated (diff)
  • Assigned To set to Joël Cuissinat

#5 Updated by Joël Cuissinat about 2 months ago

Besoin exprimé pour eole-sso 2.5 et 2.6.

#6 Updated by Joël Cuissinat about 1 month ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

Fait pour EOLE >= 2.5.2 (sauf 2.6.0).

#7 Updated by Joël Cuissinat about 1 month ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0
jojo@jojo-MS-B09611:~/git/eole-sso (master=)$ git branch -r --contains 02fccfad  
  origin/2.5.2/master
  origin/2.6.1/master
  origin/2.6.2/master
  origin/2.7.0/master
  origin/2.7.1/master
  origin/HEAD -> origin/master
  origin/dist/eole/2.5.2/master
  origin/dist/eole/2.6.1/master
  origin/dist/eole/2.6.2/master
  origin/dist/eole/2.7.0/master
  origin/dist/eole/2.7.1/master
  origin/dist/eole/2.7.2/master
  origin/master

Also available in: Atom PDF