Projet

Général

Profil

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

Christophe LEON, 15/10/2013 07:41

1 1 Christophe LEON
h1. Fédération SAML entre Seshat et vos Scribes
2 1 Christophe LEON
3 2 Christophe LEON
Nous allons expliquer comment mettre en oeuvre une fédération SAML entre Seshat et les Scribes d'établissements.
4 2 Christophe LEON
5 2 Christophe LEON
+Rappel:+ 
6 2 Christophe LEON
* FI: Fournisseur d'Identité (Seshat ici)
7 2 Christophe LEON
* FS: Fournisseur de Services
8 2 Christophe LEON
9 2 Christophe LEON
h2. Sur Seshat
10 2 Christophe LEON
11 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.
12 2 Christophe LEON
Dans le filtre suivant, nous faisons comme hypothèse que
13 2 Christophe LEON
* Le service EoleSSO des Scribes est sur le port 8443
14 2 Christophe LEON
15 2 Christophe LEON
+*NOTE:*+ Il vous appartient de changer ce port si vos scribes n'écoutent pas sur le 8443.
16 2 Christophe LEON
17 2 Christophe LEON
*/usr/share/sso/app_filters/envole_saml_apps.ini*
18 2 Christophe LEON
19 2 Christophe LEON
-
20 2 Christophe LEON
21 2 Christophe LEON
22 2 Christophe LEON
    @[envole_saml]
23 2 Christophe LEON
port=8443
24 2 Christophe LEON
baseurl=/saml/acs
25 2 Christophe LEON
scheme=https
26 2 Christophe LEON
addr=0/0
27 2 Christophe LEON
typeaddr=ip
28 2 Christophe LEON
filter=envole_saml@
29 2 Christophe LEON
30 2 Christophe LEON
Il est possible d'affiner ce filtre d'application,
31 2 Christophe LEON
Prenons pas exemple la configuration de la Réunion
32 2 Christophe LEON
* Tous les collèges ont pour DNS: portail.college-XXXX.re
33 2 Christophe LEON
* Tous les lycées ont pour DNS: portail.ZZZZ.ac-reunion.fr
34 2 Christophe LEON
35 2 Christophe LEON
    @[lycees_saml]
36 2 Christophe LEON
port=8443
37 2 Christophe LEON
baseurl=/saml/acs
38 2 Christophe LEON
scheme=https
39 2 Christophe LEON
addr=^portail.*.ac-reunion.fr$
40 2 Christophe LEON
typeaddr=regex
41 2 Christophe LEON
filter=envole_saml@
42 2 Christophe LEON
43 2 Christophe LEON
    @[colleges_saml]
44 2 Christophe LEON
port=8443
45 2 Christophe LEON
baseurl=/saml/acs
46 2 Christophe LEON
scheme=https
47 2 Christophe LEON
addr=^portail.college.*.re$
48 2 Christophe LEON
typeaddr=regex
49 2 Christophe LEON
filter=envole_saml@
50 2 Christophe LEON
51 2 Christophe LEON
52 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
53 2 Christophe LEON
54 2 Christophe LEON
Configuration du jeu d'attributs a envoyer
55 2 Christophe LEON
56 2 Christophe LEON
*/usr/share/sso/app_filters/envole_saml.ini*
57 2 Christophe LEON
58 2 Christophe LEON
-
59 2 Christophe LEON
60 2 Christophe LEON
    @[utilisateur]
61 2 Christophe LEON
intid=RUNENTPersonJointure@
62 2 Christophe LEON
63 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.
64 2 Christophe LEON
65 2 Christophe LEON
h2. Sur Scribe
66 3 Christophe LEON
67 3 Christophe LEON
attribute_sets/associations.ini
68 3 Christophe LEON
69 3 Christophe LEON
Ajouter d'une section
70 3 Christophe LEON
71 3 Christophe LEON
    @[envole]
72 3 Christophe LEON
attribute_set = envole_set@
73 3 Christophe LEON
74 3 Christophe LEON
75 3 Christophe LEON
attribute_sets/envole_set.ini
76 3 Christophe LEON
77 3 Christophe LEON
    @[user_attrs]
78 3 Christophe LEON
vecteur = intid@