Differences
This shows you the differences between two versions of the page.
— |
documentation:2.1:authremote [2019/01/15 15:55] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Remote ====== | ||
+ | |||
+ | ^ Authentication | ||
+ | | ✔ | ✔ | | | ||
+ | |||
+ | <note warning> | ||
+ | |||
+ | ===== Presentation ===== | ||
+ | |||
+ | * The main portal is configured to use CDA. The secondary portal is declared in the Manager of the main LL::NG structure (else user will be rejected). | ||
+ | * The portal of the secondary LL::NG structure is configured to delegate authentication to a remote portal. A request to the main session database is done (trough [[soapsessionbackend|SOAP session backend]]) to be sure that the session exists. | ||
+ | * If '' | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | - User tries to access to an application in the secondary LL::NG structure without having a session in this area | ||
+ | - Redirection to the portal of the secondary area (transparent) | ||
+ | - Redirection to the portal of the main area and normal authentication (if not done before) | ||
+ | - Redirection to the portal of the secondary area (transparent) | ||
+ | - Secondary portal check if remote session is available. It can be done via direct access to the session database or using SOAP access. Then it creates the session (with attribute filter) | ||
+ | - User can now access to the protected application | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== Configuration ===== | ||
+ | |||
+ | ==== Main LL::NG structure ==== | ||
+ | |||
+ | Go in Manager, and: | ||
+ | * activate CDA in '' | ||
+ | * declare secondary portal in '' | ||
+ | |||
+ | ==== Secondary LL::NG structure ==== | ||
+ | |||
+ | Configure the portal to use the remote LL::NG structure. | ||
+ | |||
+ | In Manager, go in '' | ||
+ | |||
+ | Then, go in '' | ||
+ | * **Portal URL**: remote portal URL | ||
+ | * **Cookie name** (optional): name of the cookie of primary portal, if different from secondary portal | ||
+ | * **Sessions module**: set '' | ||
+ | * **Sessions module options**: | ||
+ | * **proxy**: SOAP sessions end point (see [[soapsessionbackend|SOAP session backend]] documentation) | ||
+ | |||
+ | ==== Example: interoperability between 2 organizations ==== | ||
+ | |||
+ | Using this, we can do a very simple interoperability system between 2 organizations using two LL::NG structures: | ||
+ | * each area has 2 portals: | ||
+ | * One standard portal | ||
+ | * One remote portal that delegates authentication to the second organization (just another file on the same server) | ||
+ | * The normal portal has a link included in the authentication form pointing to the remote portal for the users of the other organization | ||
+ | |||
+ | So on each main portal, internal users can access normally, and users issued from the other organization have just to click on the link: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | - One user tries to access to the portal | ||
+ | - External user clicks to be redirected to the remote type portal | ||
+ | - After redirection, | ||
+ | - Redirection to the remote type portal | ||
+ | - Validation of the session: external user has now a local session | ||