<html xmlns:v="urn:schemas-microsoft-com:vml" 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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoPlainText">Thank you, Christopher, that sounds promising. My request definitely doesn't have that attribute, or any of the other Shibboleth attributes. I'm getting a 404 trying to visit the page you linked to, and I didn't see anything relevant
 on any of the five suggested pages. How do I configure HTTPD to add these values? This is my current httpd.conf:<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">#Shibboleth SP configuration<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">LoadModule mod_shib C:/shibboleth-sp/lib/shibboleth/mod_shib_22.so<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">UseCanonicalName On<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&lt;IfModule mod_alias.c&gt;<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&nbsp; &lt;Location /shibboleth-sp&gt;<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp; Allow from all<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&nbsp; &lt;/Location&gt;<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&nbsp; Alias /shibboleth-sp/main.css C:/shibboleth-sp/doc/shibboleth/main.css<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&lt;/IfModule&gt;<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&lt;Location /myapp1&gt;<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&nbsp; AuthType shibboleth<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&nbsp; ShibRequestSetting requireSession 1<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&nbsp; require valid-user<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&lt;/Location&gt;<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&lt;Location /myapp2&gt;<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&nbsp; AuthType shibboleth<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&nbsp; ShibRequestSetting requireSession 1<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&nbsp; require valid-user<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&lt;/Location&gt;<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&lt;Location /Shibboleth.sso&gt;<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&nbsp; SetHandler shib<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&lt;/Location&gt;<o:p></o:p></span></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">-----Original Message-----<br>
From: users-bounces@shibboleth.net [mailto:users-bounces@shibboleth.net] On Behalf Of Christopher Bongaarts<br>
Sent: Thursday, April 18, 2013 12:16 PM<br>
To: users@shibboleth.net<br>
Subject: Re: Attribute not resolving on SP</p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">On 4/18/2013 11:14 AM, Christopher Bongaarts wrote:<o:p></o:p></p>
<p class="MsoPlainText">&gt; On 4/18/2013 11:08 AM, Stein, Eric wrote:<o:p></o:p></p>
<p class="MsoPlainText">&gt;&gt; Thanks for answering, Scott. If the SP has the attribute UID, how
<o:p></o:p></p>
<p class="MsoPlainText">&gt;&gt; does my application get access to that attribute?<o:p></o:p></p>
<p class="MsoPlainText">&gt;&gt; httpRequest.getHeaderNames() also doesn't have a header named 'uid'.<o:p></o:p></p>
<p class="MsoPlainText">&gt;&gt; What specific java call can I make so that my JSPs can see the UID?<o:p></o:p></p>
<p class="MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt; <a href="https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPAttribute">
<span style="color:windowtext;text-decoration:none">https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPAttribute</span></a><o:p></o:p></p>
<p class="MsoPlainText">&gt; Access<o:p></o:p></p>
<p class="MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt; Examples at the bottom include Java...<o:p></o:p></p>
<p class="MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt; request.getAttribute(&quot;Shib-Identity-Provider&quot;)<o:p></o:p></p>
<p class="MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt; or in your case<o:p></o:p></p>
<p class="MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&gt; request.getAttribute(&quot;uid&quot;)<o:p></o:p></p>
<p class="MsoPlainText">&gt;<o:p>&nbsp;</o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">It occurs to me that if you're doing request.getAttributeNames and not seeing any of the Shib-related stuff (you should at a minimum be seeing Shib-Identity-Provider), you might not have configured your web server to apply Shib processing
 to your servlet URL...<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">-- <o:p></o:p></p>
<p class="MsoPlainText">%%&nbsp; Christopher A. Bongaarts&nbsp;&nbsp; %%&nbsp; <a href="mailto:cab@umn.edu">
<span style="color:windowtext;text-decoration:none">cab@umn.edu</span></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %%<o:p></o:p></p>
<p class="MsoPlainText">%%&nbsp; OIT - Identity Management&nbsp; %%&nbsp; <a href="http://umn.edu/~cab">
<span style="color:windowtext;text-decoration:none">http://umn.edu/~cab</span></a>&nbsp; %%<o:p></o:p></p>
<p class="MsoPlainText">%%&nbsp; University of Minnesota&nbsp;&nbsp;&nbsp; %%&nbsp; &#43;1 (612) 625-1809&nbsp;&nbsp;&nbsp; %%<o:p></o:p></p>
<p class="MsoPlainText">--<o:p></o:p></p>
<p class="MsoPlainText">To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">
<span style="color:windowtext;text-decoration:none">users-unsubscribe@shibboleth.net</span></a><o:p></o:p></p>
</div>
</body>
</html>