Debian Codegraph @

doc/sources/admin/issuerdbget.rst

raw
1 Get parameters Provider
2 =======================
3
4 Presentation
5 ------------
6
7 For application not managing other provider protocols (CAS, OpenID
8 Connect, SAML,...) it is possible to configure LL::NG as a provider of
9 GET parameters:
10
11 - An application can call LL::NG portal with a redirection url, such as
12 ``http://auth.example.com/get/login?url=base64(application_url)``
13 - When computing redirection, LL::NG portal will transmit any GET
14 parameter you have configured for this application. (session id for
15 example)
16
17
18 .. danger::
19
20 Passing such sensitive information can be dangerous. Using
21 other well-known secured protocols is recommended.
22
23 There is also the possibility to trigger a logout action by passing the
24 return url , such as
25 ``http://auth.example.com/get/logout?url=base64(return_url)``
26
27 Configuration
28 -------------
29
30 In the Manager, go in ``General Parameters`` » ``Issuer modules`` »
31 ``GET`` and configure:
32
33 - **Activation**: set to ``On``.
34 - **Path**: keep ``^/get/`` unless you have change
35 :ref:`Apache portal configuration<configlocation-portal>` file.
36 - **Use rule**: a rule to allow user to use this module, set to 1 to
37 always allow.
38
39
40 .. tip::
41
42 For example, to allow only users with a strong authentication
43 level:
44
45 ::
46
47 $authenticationLevel > 2
48
49
50
51 Then go in ``Get parameters`` to define variables to transmit:
52
53 - Define a new virtual host
54 - Declare all get parameters you need. You have access to any
55 :doc:`variable or macro<exportedvars>` (but no perl expression).
56
57 For example:
58
59 ::
60
61 "test1.example.com" => {
62 "id" => "_session_id",
63 }
64
65
66 .. danger::
67
68 In the previous example, \_session_id is quite sensitive,
69 thus it is encouraged that the application revalidate \_session_id using
70 getCookie() SOAP call to avoid some security problems
71
72
73 .. tip::
74
75 If host is not already registered in virtual hosts, you need
76 to declare it in
77 :ref:`trusted domains<security-configure-security-settings>` to allow
78 redirection