Skip to content

Commit

Permalink
Updated shibboleth cfg properties (firstname, lastname, netid, email) (
Browse files Browse the repository at this point in the history
…#558)

* Updated shibboleth cfg properties (firstname, lastname, netid, email)

* Keep vanilla shib headers for the integration tests
  • Loading branch information
milanmajchrak authored Mar 18, 2024
1 parent dd978aa commit f08b0eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions dspace-api/src/test/data/dspaceFolder/config/local.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ featured.service.teitok.description = A web-based platform for viewing, creating


##### Shibboleth #####
authentication-shibboleth.netid-header = SHIB-NETID
authentication-shibboleth.email-header = SHIB-MAIL
authentication-shibboleth.firstname-header = SHIB-GIVENNAME
authentication-shibboleth.lastname-header = SHIB-SURNAME
# Turn off the discofeed, it is allowed by default
shibboleth.discofeed.allowed = false
# File where is DiscoJuiceFeed response
Expand Down
8 changes: 4 additions & 4 deletions dspace/config/modules/authentication-shibboleth.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ authentication-shibboleth.lazysession.secure = true

# Authentication headers for Mail, NetID, and Tomcat's Remote User.
# Supply all parameters possible.
authentication-shibboleth.netid-header = SHIB-NETID
authentication-shibboleth.email-header = SHIB-MAIL
authentication-shibboleth.netid-header = eppn
authentication-shibboleth.email-header = mail
authentication-shibboleth.email-use-tomcat-remote-user = false

# Should we allow new users to be registered automatically?
Expand Down Expand Up @@ -127,8 +127,8 @@ authentication-shibboleth.sword.compatibility = false

# Metadata Headers
# Shibboleth-based headers for the first and last name attirbutes
authentication-shibboleth.firstname-header = SHIB-GIVENNAME
authentication-shibboleth.lastname-header = SHIB-SURNAME
authentication-shibboleth.firstname-header = givenName
authentication-shibboleth.lastname-header = sn

# Additional user attributes mapping, multiple attributes may be stored
# for each user. The left side is the Shibboleth-based metadata Header
Expand Down

0 comments on commit f08b0eb

Please sign in to comment.