Attribute not resolving on SP
Christopher Bongaarts
cab at umn.edu
Thu Apr 18 12:16:14 EDT 2013
On 4/18/2013 11:14 AM, Christopher Bongaarts wrote:
> On 4/18/2013 11:08 AM, Stein, Eric wrote:
>> Thanks for answering, Scott. If the SP has the attribute UID, how
>> does my application get access to that attribute?
>> httpRequest.getHeaderNames() also doesn't have a header named 'uid'.
>> What specific java call can I make so that my JSPs can see the UID?
>
> https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPAttributeAccess
>
>
> Examples at the bottom include Java...
>
> request.getAttribute("Shib-Identity-Provider")
>
> or in your case
>
> request.getAttribute("uid")
>
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...
--
%% Christopher A. Bongaarts %% cab at umn.edu %%
%% OIT - Identity Management %% http://umn.edu/~cab %%
%% University of Minnesota %% +1 (612) 625-1809 %%
More information about the users
mailing list