Attribute not resolving on SP

Christopher Bongaarts cab at umn.edu
Thu Apr 18 12:14:23 EDT 2013


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")

-- 
%%  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