diff options
author | Markus Krogh <markus@nordu.net> | 2017-09-27 17:30:38 +0200 |
---|---|---|
committer | Markus Krogh <markus@nordu.net> | 2017-09-27 17:30:38 +0200 |
commit | af0294d5f773bc071128b1ec1712c62f587c7b0a (patch) | |
tree | cc645c6a43ab8a65d584349ec4175db69703e825 /apache-sp | |
parent | 76d9e04a39c27133a2dcba3edea4ef232c1f09d5 (diff) |
eduPersonEntitlement without scritpt :)
Diffstat (limited to 'apache-sp')
-rw-r--r-- | apache-sp/apache-conf/sp.conf | 5 | ||||
-rw-r--r-- | apache-sp/secure/index.shtml | 1 |
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> |