Projet

Général

Profil

Fédération SAML entre Seshat et vos Scribes » Historique » Version 6

Christophe LEON, 15/10/2013 07:46

1 1 Christophe LEON
h1. Fédération SAML entre Seshat et vos Scribes
2 1 Christophe LEON
3 6 Christophe LEON
4 6 Christophe LEON
*+EN COURS DE REDACTION, NE PAS UTILISER CE GUIDE POUR LE MOMENT+*
5 6 Christophe LEON
6 6 Christophe LEON
7 2 Christophe LEON
Nous allons expliquer comment mettre en oeuvre une fédération SAML entre Seshat et les Scribes d'établissements.
8 2 Christophe LEON
9 2 Christophe LEON
+Rappel:+ 
10 2 Christophe LEON
* FI: Fournisseur d'Identité (Seshat ici)
11 2 Christophe LEON
* FS: Fournisseur de Services
12 2 Christophe LEON
13 2 Christophe LEON
h2. Sur Seshat
14 2 Christophe LEON
15 2 Christophe LEON
Nous allons dans un premier temps sur Seshat définir un filtre d'application (envole_saml_apps) , qui permettra de renvoyer un ensemble d'attributs de fédération lorsque le service demandeur sera un scribe.
16 2 Christophe LEON
Dans le filtre suivant, nous faisons comme hypothèse que
17 2 Christophe LEON
* Le service EoleSSO des Scribes est sur le port 8443
18 2 Christophe LEON
19 2 Christophe LEON
+*NOTE:*+ Il vous appartient de changer ce port si vos scribes n'écoutent pas sur le 8443.
20 2 Christophe LEON
21 2 Christophe LEON
*/usr/share/sso/app_filters/envole_saml_apps.ini*
22 2 Christophe LEON
23 2 Christophe LEON
-
24 2 Christophe LEON
25 2 Christophe LEON
26 2 Christophe LEON
    @[envole_saml]
27 2 Christophe LEON
port=8443
28 2 Christophe LEON
baseurl=/saml/acs
29 2 Christophe LEON
scheme=https
30 2 Christophe LEON
addr=0/0
31 2 Christophe LEON
typeaddr=ip
32 2 Christophe LEON
filter=envole_saml@
33 2 Christophe LEON
34 2 Christophe LEON
Il est possible d'affiner ce filtre d'application,
35 2 Christophe LEON
Prenons pas exemple la configuration de la Réunion
36 2 Christophe LEON
* Tous les collèges ont pour DNS: portail.college-XXXX.re
37 2 Christophe LEON
* Tous les lycées ont pour DNS: portail.ZZZZ.ac-reunion.fr
38 2 Christophe LEON
39 2 Christophe LEON
    @[lycees_saml]
40 2 Christophe LEON
port=8443
41 2 Christophe LEON
baseurl=/saml/acs
42 2 Christophe LEON
scheme=https
43 2 Christophe LEON
addr=^portail.*.ac-reunion.fr$
44 2 Christophe LEON
typeaddr=regex
45 2 Christophe LEON
filter=envole_saml@
46 2 Christophe LEON
47 2 Christophe LEON
    @[colleges_saml]
48 2 Christophe LEON
port=8443
49 2 Christophe LEON
baseurl=/saml/acs
50 2 Christophe LEON
scheme=https
51 2 Christophe LEON
addr=^portail.college.*.re$
52 2 Christophe LEON
typeaddr=regex
53 2 Christophe LEON
filter=envole_saml@
54 2 Christophe LEON
55 2 Christophe LEON
56 2 Christophe LEON
Bref l'idée étant de trouver un dénominateur commun a tous vos scribes et d'essayer d'en faire un filtre qui soit le plus cibler possible afin d'éviter que cela ne vienne perturber la fédération avec vos autres FS
57 2 Christophe LEON
58 2 Christophe LEON
Configuration du jeu d'attributs a envoyer
59 2 Christophe LEON
60 2 Christophe LEON
*/usr/share/sso/app_filters/envole_saml.ini*
61 2 Christophe LEON
62 2 Christophe LEON
-
63 2 Christophe LEON
64 2 Christophe LEON
    @[utilisateur]
65 4 Christophe LEON
vecteur=RUNENTPersonJointure@
66 2 Christophe LEON
67 2 Christophe LEON
@RUNENTPersonJointure@ est l'attribut calculé (fourni par le paquet eole-dispatcher) qui va permettre de déterminer le intid (attribut de fédération) qui sera a envoyer vers le Scribe dans la requête SAML.
68 2 Christophe LEON
69 3 Christophe LEON
h2. Sur Scribe
70 3 Christophe LEON
71 3 Christophe LEON
attribute_sets/associations.ini
72 1 Christophe LEON
73 6 Christophe LEON
Ajouter une section, pour votre FI (Seshat)
74 3 Christophe LEON
75 5 Christophe LEON
    @[sp_ident_de_votre_seshat]
76 3 Christophe LEON
attribute_set = envole_set@
77 1 Christophe LEON
78 6 Christophe LEON
79 6 Christophe LEON
*sp_ident_de_votre_seshat*: Est l'identité de votre seshat, il se trouve dans les métadata du Seshat 
80 6 Christophe LEON
(Balise <EntityDescriptor> attribut entityID )
81 3 Christophe LEON
82 3 Christophe LEON
attribute_sets/envole_set.ini
83 3 Christophe LEON
84 3 Christophe LEON
    @[user_attrs]
85 3 Christophe LEON
vecteur = intid@