Skip to content

Commit

Permalink
Update shibM.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
khazelton authored Jul 2, 2021
1 parent aa8cbb9 commit bb0e6e0
Showing 1 changed file with 36 additions and 3 deletions.
39 changes: 36 additions & 3 deletions shibM.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,43 @@

All that’s needful

. Protect the admin GUI with shib
.. Edit .../midpoint.conf.auth.shibboleth to match this file: https://github.internet2.edu/docker/midPoint_container/blob/master/container_files/httpd/conf/midpoint.conf.auth.shibboleth
* Protect the admin GUI with shib
** Edit .../midpoint.conf.auth.shibboleth to match this file: https://github.internet2.edu/docker/midPoint_container/blob/master/container_files/httpd/conf/midpoint.conf.auth.shibboleth
** Set the user name header to REMOTE_USER: Edit .../SecurityPolicy.xml
[source,xml]
----
<modules>
...
<httpHeader>
<name>httpHeader</name>
<logoutUrl>https://localhost:8443/Shibboleth.sso/Logout</logoutUrl>
<usernameHeader>REMOTE_USER</usernameHeader>
</httpHeader>
</modules>...
----
** Set authentication via Shibboleth in the flexible authentication section of SecurityPolicy.xml. Include the following in the list of <sequence> statements that follow after </modules>

[source,xml]
----
<sequence>
<name>admin-gui-default</name>
<description>
Special GUI authentication sequence using Shibboleth SP
</description>
<channel>
<channelId>http://midpoint.evolveum.com/xml/ns/public/common/channels-3#user</channelId>
<default>true</default>
<urlSuffix>shib</urlSuffix>
</channel>
<module>
<name>httpHeader</name>
<order>30</order>
<necessity>sufficient</necessity>
</module>
</sequence>
----

. mP sec pol: HTTP header module to use REMOTE_USER

### Links to documentation

Expand Down

0 comments on commit bb0e6e0

Please sign in to comment.