Módosítások

SLODemo

1 433 bájt hozzáadva, 2009. augusztus 12., 17:07
+ How this demo works
| notes=This is a special SP that has a very short session lifetime (30 sec). If you hit the logout button within 30 sec, it should work but it should fail afterwards, because the principal is no longer known to the SP.
}}
== How this demo works ==
The [https://www.aai.niif.hu/SLODemo/slodemo.php SLO Demo] runs in a separate machine from all the SPs and IdP. So it has no information if the login is succeeded or not, it just hopes, everything goes as expected.
 
Below is a very brief description of the logout demo.
=== Selecting SPs ===
At first the user selects the SPs he/she wants to log in. The order of the login is currently sequential (not sure if it makes any difference).
=== Redirecting to SPs ===
# all SP sessions are initiated by using <code>302 Redirect</code>s to the SPs SessionInitiator by specifying only the IdP entityID (<nowiki>https://sandbox.slotest.aai.niif.hu/idp/shibboleth</nowiki>).
#* the simpleSAMLphp login URL is somewhat similar but not the same
# the SP initiates the session (the first one gets the user logged into the IdP)
# the SP redirects to the homeURL
# homeURL redirects back to the redirection point of the demo interface (by some trivial PHP script)
# the demo interface starts over with the next SP or displays summary page
=== Summary page ===
The (supposedly) logged in SPs are displayed along with their logout urls. Logout opens up in a new window.
=== Logging out ===
User clicks on one of the logout URLs.
=== Start over ===
On page refresh you can start it over. If you are not asked for password by the IdP, it means that your IdP session was not cleared properly, therefore the logout is failed.
== Expected results ==

Navigációs menü