About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
configuration:shibboleth

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
configuration:shibboleth [2020/06/30 14:36] – [Shibboleth Setup] demiankatzconfiguration:shibboleth [2022/10/28 11:09] (current) – [Shibboleth Setup] demiankatz
Line 1: Line 1:
 +====== Shibboleth Configuration ======
 +
 ===== Shibboleth Setup ===== ===== Shibboleth Setup =====
  
Line 10: Line 12:
     </If>     </If>
     <Else>     <Else>
 +      ShibRequestSetting requireSession false
       AuthType shibboleth       AuthType shibboleth
       Require shibboleth       Require shibboleth
Line 84: Line 87:
 </code> </code>
  
 +==== Testing the Logout Handler ====
 +
 +A logout request can be simulated to verify that the logout handler works:
 +
 +  - Start a session in VuFind. 
 +  - Do a search and check that it shows up in the search history.
 +  - Take note of the session id by e.g. checking cookies with browser's developer tools.
 +  - Add a mapping from an external ID ("Shibboleth session ID") to the external session database table with the mysql cli client (replace SESSION_ID with the ID from step 3): <code sql>
 +insert into external_session (session_id, external_session_id) values ('SESSION_ID', 'EXTERNAL_SESSION_ID');
 +</code>
 +  - Use the following command to issue a logout request (replace `https://localhost` with your VuFind's address if necessary): <code bash>
 +curl -X POST --header "Content-Type: text/xml;charset=UTF-8" \
 +--data \
 +'<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> \
 +  <s:Body> \
 +    <LogoutNotification xmlns="urn:mace:shibboleth:2.0:sp:notify" type="global"> \
 +      <SessionID>EXTERNAL_SESSION_ID</SessionID> \
 +    </LogoutNotification> \
 +  </s:Body> \
 +</s:Envelope>' \
 +'https://localhost/soap/shiblogout'
 +</code>
 +===== Advanced Options =====
 +
 +See the [[:configuration:shibboleth:library_cards|Shibboleth and Library Cards]] page for details on setting up Shibboleth with VuFind's optional "Library Cards" feature.
 ---- struct data ---- ---- struct data ----
 +properties.Page Owner : emaijala
 ---- ----
  
configuration/shibboleth.1593527795.txt.gz · Last modified: 2020/06/30 14:36 by demiankatz