<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Menlo;
        panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
p.p1, li.p1, div.p1
        {mso-style-name:p1;
        margin:0in;
        font-size:8.5pt;
        font-family:Menlo;
        color:black;}
span.s1
        {mso-style-name:s1;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">I found guidance on AJP here:
<a href="https://shibboleth.atlassian.net/wiki/spaces/SP3/pages/2067400159/JavaHowTo">
https://shibboleth.atlassian.net/wiki/spaces/SP3/pages/2067400159/JavaHowTo</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Will pursue that to try to solve my issue!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Woolf, Carl <Carl_Woolf@hms.harvard.edu><br>
<b>Date: </b>Wednesday, August 3, 2022 at 10:39 AM<br>
<b>To: </b>users@shibboleth.net <users@shibboleth.net><br>
<b>Subject: </b>passing headers and attributes with AJP<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:14.0pt">Greetings, happily my team has decided to let Apache use AJP rather than HTTP in proxying to our tomcat.</span><span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"> </span><span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt">We are using shibd 3.3.0, and Apache 2.4.6. (Tomcat 9.)</span><span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"> </span><span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt">Our Apache configuration has</span><span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"> </span><span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="p1"><span class="s1">ProxyPass "/our-app/" "ajp://shrine-sso-node01.catalyst.harvard.edu:8009/our-app/"</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:14.0pt"> </span><span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="p1"><span class="s1"><LocationMatch "/shrine-api/"></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space">  </span><span class="s1">AuthType shibboleth</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space">  </span><span class="s1">ShibRequestSetting requireSession 1</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space">  </span><span class="s1">Require valid-user local</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space">  </span><span class="s1">ShibUseEnvironment On</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space">  </span><span class="s1">ShibUseHeaders On</span><o:p></o:p></p>
<p class="p1"><span class="s1"></LocationMatch></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:14.0pt"> </span><span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt">Our tomcat is receiving request-headers, including those corresponding to Attributes being sent by our IdP.
</span><span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"> </span><span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt">We thought that ShibUseEnvironment would also send the information as request-attributes. But we do not seem to receive any request-attributes.</span><span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"> </span><span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt">Any advice on how to get request-attributes sent? (We would then probably turn off ShibUseHeaders.)
</span><span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"> </span><span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt">Thanks, - Carl</span><span style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
</body>
</html>