This document describes the NameID formats and attributes that can be released by the UW Shibboleth Identity Provider (IdP) to Shibboleth Service Providers (SPs) and other SAML 2.0 relying parties.
In addition to providing user authentication and single sign-on (SSO) for web applications, Shibboleth provides the capability for an IdP to release additional user information to an SP at authentication time. The user information is presented as a nameID and assertion attributes. Attributes are useful for access control decisions and personalization within the SP application. When integrating an application with Shibboleth, it is helpful to know which NameID formats and attributes are available, where they come from, and what they look like. This guide provides that information.
NameIds are returned to an SP in the IdP's authentication response. They are enclosed within the <Subject></Subject>
block of XML.
1 All NameID formats the UW IdP releases have three parts: IDP entityID|SP entityID|value
. For example, an eppnNameID might look like urn:mace:incommon:washington.edu|https://dept.uw.edu/shibboleth|netid@washington.edu
. Only the last part is shown in the "Example Value" column.
2 See ePPN description in table below.
3 See uwNetID description in table below.
4 See uwEduEmail description in table below.
Attributes are returned to an SP in the IdP's authentication response. They are enclosed within the <AttributeStatement></AttributeStatement>
block of XML.
For the most part, the IdP provides attributes defined by the Internet2 eduPerson specification. Easier to read might be InCommon's Attribute Overview.
- You request release of attributes via the UW Service Provider Registry, which uses the local name. See instruction for requesting attributes for more information.
- In the table below, "Local name" is how the attributes are labeled in the UW's SP registry. "SAML2 name/OID" or "eduPerson name" are how the attributes are labeled in the SAML response from the IdP.
- Refer to the SAML2/OID name when mapping attributes to environment variables in your SP.
- Multi-valued string attributes normally show up in the environment as a string of semi-colon separated values.
- Several attributes are sourced from the Person Directory Service (PDS). See the PDS Attribute Reference for more information.
Local name | eduPerson name | SAML2 name (OID) | Type | Source | Example Value |
---|
affiliation | eduPersonAffiliation | urn:oid:1.3.6.1.4.1.5923.1.1.1.1 | multi-value string | PDS: eduPersonAffiliation | member;staff;employee |
attributePersistentID2 | eduPersonTargetedID | urn:oid:1.3.6.1.4.1.5923.1.1.1.10 | string | computed | See nameIDPersistentID in table above. |
cn | cn | urn:oid:2.5.4.3 | string | PDS: "uwPersonPreferredFirst uwPersonPreferredMiddle uwPersonPreferredSurname" will be used if available, otherwise PDS: cn. | John P. Smith |
displayName | displayName | urn:oid:2.16.840.1.113730.3.1.241 | string | PDS: displayName | John P. Smith |
email | mail | urn:oid:0.9.2342.19200300.100.1.3 | string | Returns first match from: PDS: uwEWPEmail1 (employee) PDS: uwSWPEmail (student) Computed: uwNetID@uw.edu | smith@uw.edu smith@u.washington.edu smith@chem.washington.edu smith@somedomain.com (May contain alternate emails for employees self-managed inside Workday and https://identity.uw.edu) |
employeeNumber | employeeNumber | urn:oid:2.16.840.1.113730.3.1.3 | string | PDS: uwEmployeeID | 880000000 |
entitlement_lib | eduPersonEntitlement | urn:oid:1.3.6.1.4.1.5923.1.1.1.7 | multi-value string | computed | urn:mace:dir:entitlement:common-lib-terms3 |
entitlement_sln | eduPersonEntitlement | urn:oid:1.3.6.1.4.1.5923.1.1.1.7 | multi-value string | computed | urn:mace:washington.edu:courses:win2012:17417 |
ePPN | eduPersonPrincipalName | urn:oid:1.3.6.1.4.1.5923.1.1.1.6 | string | computed | smith@washington.edu |
ePTID | eduPersonTargetedID | urn:oid:1.3.6.1.4.1.5923.1.1.1.10 | string | computed | 0920ddf277bb2a06162e469631147f69@washington.edu4 |
givenName | givenName | urn:oid:2.5.4.42 | string | PDS: "uwPersonPreferredFirst uwPersonPreferredMiddle" will be used if set by user, otherwise PDS: uwPersonRegisteredFirstMiddle | John P. |
gws_groups5 | isMemberOf | urn:oid:1.3.6.1.4.1.5923.1.5.1.1 | multi-value string | GWS | urn:mace:washington.edu:groups:uw_employee |
homeDepartment | ou | urn:oid:2.5.4.11 | string | PDS: uwEmployeeHomeDepartment | OFFICE OF PROGRESS6 |
mailstop | postOfficeBox | urn:oid:2.5.4.18 | string | PDS: uwEmployeeMailstop | 359000 |
phone | telephoneNumber | urn:oid:2.5.4.20 | string | PDS: uwEWPPhone1 | +1 206 221-50007 |
preferredFirst
| n/a | urn:oid:1.2.840.113994.200.47 | string | PDS: uwPersonPreferredFirst | John |
preferredMiddle
| n/a | urn:oid:1.2.840.113994.200.48 | string | PDS: uwPersonPreferredMiddle | P. |
preferredSurname
| n/a | urn:oid:1.2.840.113994.200.49 | string | PDS: uwPersonPreferredSurname | Smith |
registeredGivenName | n/a | urn:oid:1.2.840.113994.200.32 | string | PDS: uwPersonRegisteredFirstMiddle (does not incorporate preferred name) | John |
registeredSurname | n/a | urn:oid:1.2.840.113994.200.31 | string | PDS: uwPersonRegisteredSurname (does not incorporate preferred name)
| Smith-Jones |
scopedAffiliation | eduPersonScopedAffiliation | urn:oid:1.3.6.1.4.1.5923.1.1.1.9 | multi-value string | PDS: eduPersonAffiliation | member@washington.edu |
surname | sn | urn:oid:2.5.4.4 | string | PDS: uwPersonPreferredSurname will be used if set by user, otherwise uwPersonRegisteredSurname | Smith |
title | title | urn:oid:2.5.4.12 | string | PDS: uwEWPTitle1 | Technical Lead |
uwEduEmail | none | urn:oid:1.2.840.113994.200.45 | string | Computed: uwNetID@uw.edu | smith@uw.edu8 |
uwNetID | uid | urn:oid:0.9.2342.19200300.100.1.1 | string | PDS: uwNetID | smith |
uwRegID | n/a | urn:oid:1.2.840.113994.200.24 | string | PDS: uwRegID | B778D7CE539311D6B3850004AC494FFE |
uwStudentID | n/a | urn:oid:1.2.840.113994.200.21 | string | PDS: uwStudentID | 1234567 |
uwStudentSystemKey | n/a | urn:oid:1.2.840.113994.200.20 | string | PDS: uwStudentSystemKey | 000524591 |
2 attributePersistentID is the most common way to use the persistent id attribute. It replaces the SAML1 ePTID. TargetedID and PersistentID vales are equivalent. PersistentID is constructed using a combination of the user's ID and the SP's entityID.
3 The entitlement_lib always generates a value of "urn:mace:dir:entitlement:common-lib-terms
"
4 ePTID is a SAML 1 construct that has been replaced with PersistentID in SAML 2. You probably want nameIDPersistentID or attributePersistentID instead.
5 The IdP doesn't normally release all groups to an SP. You will need to specify the particular group(s) or stem(s) that are of interest to your application.
6 This is the best available indicator of departmental affiliation using an employee's home department budget name. If OU information becomes available in the future the contents of this attribute may be updated.
7 Does not include student whitepages phone number data at this time.
8 uwEduEmail is constructed to appear as the new UW email address format. It should not be used as an identifier in environments where the service provider will interact with other federated (InCommon etc) IdPs/SSO providers. In federated environments the UW identifiers must be scoped to 'washington.edu'