summaryrefslogtreecommitdiff
path: root/apache-sp
diff options
context:
space:
mode:
Diffstat (limited to 'apache-sp')
-rw-r--r--apache-sp/apache-conf/sp.conf5
-rw-r--r--apache-sp/secure/index.shtml1
2 files changed, 4 insertions, 2 deletions
diff --git a/apache-sp/apache-conf/sp.conf b/apache-sp/apache-conf/sp.conf
index 6678f8e..587004d 100644
--- a/apache-sp/apache-conf/sp.conf
+++ b/apache-sp/apache-conf/sp.conf
@@ -45,9 +45,9 @@ SSLHonorCipherOrder on
ShibRequireSession On
require valid-user
Options +Includes
- Header set X_REMOTE_USER %{eduPersonPrincipalName}e
+ Header set X_REMOTE_USER %{eppn}e
Header set UID %{uid}e
- Header set EPPN %{eduPersonPrincipalName}e
+ Header set EPPN %{eppn}e
Header set MAIL %{mail}e
Header set GIVENNAME %{givenName}e
Header set DISPLAYNAME %{displayName}e
@@ -55,6 +55,7 @@ SSLHonorCipherOrder on
Header set AFFILIATION %{affiliation}e
Header set UNSCOPED_AFFILIATION %{unscoped_affiliation}e
Header set EMPLOYEETYPE %{employeeType}e
+ Header set EDU_PERSON_ENTITLEMENT %{entitlement}e
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</Location>
diff --git a/apache-sp/secure/index.shtml b/apache-sp/secure/index.shtml
index f22666f..bd8233d 100644
--- a/apache-sp/secure/index.shtml
+++ b/apache-sp/secure/index.shtml
@@ -19,6 +19,7 @@
<li>employeeType: <!--#echo var="employeeType" --></li>
<li>Affiliation: <!--#echo var="AFFILIATION" --></li>
<li>Unscoped affiliation: <!--#echo var="UNSCOPED_AFFILIATION" --></li>
+ <li>eduPersonEntitlement: <!--#echo var="EDU_PERSON_ENTITLEMENT" --></li>
</ul>
<pre><!--#printenv --></pre>
</div>