How do I send Subject->NameID in "clear" text

Christopher Bongaarts cab at umn.edu
Wed Dec 28 21:22:03 GMT 2011


On 12/28/2011 3:06 PM, Jason Holland wrote:

> I went back and scoured the documentation and followed it to the best of
> my ability and I think I created a bug or found a bug or screwed
> something up even more. For the NameID (which I have "9185551212"
> hard-coded in a static attribute) I'm getting something like this
> "org.opensaml.saml2.core.impl.NameIDImpl at 9403a3" where the alphanumeric
> code after the @ sign changes at each login test I do.
> $IDPHOME/conf/attribute-resolver.xml
> ======================================================================
> <resolver:AttributeDefinition
>    xsi:type="SAML2NameID"

I think you want the Simple xsi:type, not the SAML2NameID type here. 
The Encoder is what makes it a NameID on the way out, not the type.

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