diff options
-rw-r--r-- | apache-sp/apache-conf/sp.conf | 4 | ||||
-rw-r--r-- | apache-sp/secure/index.shtml | 2 | ||||
-rw-r--r-- | template-config/attribute-filter.xml | 3 |
3 files changed, 7 insertions, 2 deletions
diff --git a/apache-sp/apache-conf/sp.conf b/apache-sp/apache-conf/sp.conf index 9a2d196..5e32cbc 100644 --- a/apache-sp/apache-conf/sp.conf +++ b/apache-sp/apache-conf/sp.conf @@ -44,6 +44,7 @@ SSLHonorCipherOrder on require valid-user Options +Includes Header set X_REMOTE_USER %{eduPersonPrincipalName}e + Header set UID %{uid}e Header set EPPN %{eduPersonPrincipalName}e Header set MAIL %{mail}e Header set GIVENNAME %{givenName}e @@ -51,8 +52,7 @@ SSLHonorCipherOrder on Header set SN %{sn}e Header set AFFILIATION %{affiliation}e Header set UNSCOPED_AFFILIATION %{unscoped_affiliation}e - Header set UID %{uid}e - + Header set EMPLOYEETYPE %{employeeType}e AddType text/html .shtml AddOutputFilter INCLUDES .shtml </Location> diff --git a/apache-sp/secure/index.shtml b/apache-sp/secure/index.shtml index d800991..f22666f 100644 --- a/apache-sp/secure/index.shtml +++ b/apache-sp/secure/index.shtml @@ -10,11 +10,13 @@ <p><!--#echo var="DATE_LOCAL" --></p> <ul> <li>CN: <!--#echo var="CN" --></li> + <li>uid: <!--#echo var="uid" --></li> <li>eduPersonPrincipalName: <!--#echo var="EPPN" --></li> <li>Display name: <!--#echo var="DISPLAYNAME" --></li> <li>Givenname: <!--#echo var="GIVENNAME" --></li> <li>Surname: <!--#echo var="SN" --></li> <li>Mail: <!--#echo var="MAIL" --></li> + <li>employeeType: <!--#echo var="employeeType" --></li> <li>Affiliation: <!--#echo var="AFFILIATION" --></li> <li>Unscoped affiliation: <!--#echo var="UNSCOPED_AFFILIATION" --></li> </ul> diff --git a/template-config/attribute-filter.xml b/template-config/attribute-filter.xml index 0a58df2..f2aa5f7 100644 --- a/template-config/attribute-filter.xml +++ b/template-config/attribute-filter.xml @@ -39,6 +39,9 @@ <AttributeRule attributeID="commonName"> <PermitValueRule xsi:type="ANY" /> </AttributeRule> + <AttributeRule attributeID="employeeType"> + <PermitValueRule xsi:type="ANY" /> + </AttributeRule> <AttributeRule attributeID="email"> <PermitValueRule xsi:type="ANY" /> </AttributeRule> |