Shibboleth Service Provider - Additional Configuration
Modified on: Tue, Sep 17 2024 9:24 AMDescription
This article describes additional configurations to be added to a Shibboleth Service Provider.
Contents
Attributes
The attribute map and attribute extractor function in the Shibboleth Service Provider enables you to read attributes from an authenticated users' session and use those for the purpose of access restriction, profile population, and general user experience.
Shibboleth Attribute Map
By default, all members of the CSU Federation receive a large list of attributes from authenticated users. The shipped attribute-map file that comes with the Shibboleth installation does not automatically capture all of these attributes. To learn more about the attributes provided to CSU Federation members, review the file attached to this article (attribute-map.xml), and follow these instructions to update your configuration.
- In your Shibboleth Service Provider configuration, navigate to the location of your attribute-map.xml file
- Windows/IIS: C:\opt\shibboleth-sp\etc\shibboleth\attribute-map.xml
- Linux: /etc/shibboleth/attribute-map.xml
- Back up the current file
- Replace the attribute-map.xml file with the one attached to this article.
-
Restart shibboleth to enable the updated file.
- Windows/IIS: Services > Shibboleth Daemon > Right-click > Restart
- Linux: systemctl restart shibd
Review the Shibboleth XMLAttributeExtractor Guide on how to extract users' attributes from their assertion
Shibboleth Sessions Handler
The Shibboleth Sessions Handler element displays data about the authenticated user's session, including passed attributes, to a web-page used for debugging. By default, the configuration masks these values (indicated with showAttributeValues="false") in this web page:
- Configuration in shibboleth2.xml (All handler elements contained in Sessions element):
- Windows/IIS: C:\opt\shibboleth-sp\etc\shibboleth\shibboleth2.xml
- Linux: /etc/shibboleth/shibboleth2.xml
- Published location: (Valid authentication required first): <Service Provider domain>/Shibboleth.sso/Session
- Example page display with values masked:
With a completed attribute map and the Sessions Attribute values displayed, the attribute-values will also populate in the Sessions page:
- Attribute Values enabled
-
Example page display with values displayed