Skip to content

Commit

Permalink
[ci skip] Autodoc commit for f71f218.
Browse files Browse the repository at this point in the history
  • Loading branch information
oscwiag committed Aug 5, 2024
1 parent cf852df commit 14c5c84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions develop/_sources/authentication/shibboleth.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ such:
logout_redirect: /Shibboleth.sso/Logout?return=https%3A%2F%2Fidp.my-center.edu%2Fidp%2Fprofile%2FLogout
# Capture system user name from authenticated user name
user_map_cmd: "/opt/ood/ood_auth_map/bin/ood_auth_map.regex --regex='^(\\w+)@my-center.edu'"
user_map_match: '([^@]+)@my-center.edu'
In the example above:

- The ``user_map_cmd`` uses regular expressions to map the authenticated user
- The ``user_map_match`` uses regular expressions to map the authenticated user
``[email protected]`` to their system user name ``bob``.
- The ``RequestHeader`` settings are used to strip private session information
from being sent to the backend web servers.
Expand Down
4 changes: 2 additions & 2 deletions develop/authentication/shibboleth.html
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,12 @@
<span class="nt">logout_redirect</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">/Shibboleth.sso/Logout?return=https%3A%2F%2Fidp.my-center.edu%2Fidp%2Fprofile%2FLogout</span><span class="w"></span>

<span class="c1"># Capture system user name from authenticated user name</span><span class="w"></span>
<span class="nt">user_map_cmd</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;/opt/ood/ood_auth_map/bin/ood_auth_map.regex</span><span class="nv"> </span><span class="s">--regex=&#39;^(\\w+)@my-center.edu&#39;&quot;</span><span class="w"></span>
<span class="nt">user_map_match</span><span class="p">:</span><span class="w"> </span><span class="s">&#39;([^@]+)@my-center.edu&#39;</span><span class="w"></span>
</pre></div>
</div>
<p>In the example above:</p>
<ul class="simple">
<li><p>The <code class="docutils literal notranslate"><span class="pre">user_map_cmd</span></code> uses regular expressions to map the authenticated user
<li><p>The <code class="docutils literal notranslate"><span class="pre">user_map_match</span></code> uses regular expressions to map the authenticated user
<code class="docutils literal notranslate"><span class="pre">bob&#64;my-center.edu</span></code> to their system user name <code class="docutils literal notranslate"><span class="pre">bob</span></code>.</p></li>
<li><p>The <code class="docutils literal notranslate"><span class="pre">RequestHeader</span></code> settings are used to strip private session information
from being sent to the backend web servers.</p></li>
Expand Down
2 changes: 1 addition & 1 deletion develop/searchindex.js

Large diffs are not rendered by default.

0 comments on commit 14c5c84

Please sign in to comment.