Sorry, I misunderstood your question. The value you get from getUserPrincipal() 
matches with the subject in the SAML token.

Oli



------

Oliver Wulff

Blog: http://owulff.blogspot.com
Solution Architect
http://coders.talend.com

Talend Application Integration Division http://www.talend.com

________________________________________
From: frank [[email protected]]
Sent: 05 September 2012 17:44
To: [email protected]
Subject: Re: getUserPrincipal mapping in Fediz plugin

Hi Oli,

I don't quite see how "role" would influence the value returned in
getUserPrincipal. In the simple sample I tried changing the .../role claim
in the configuration to the .../givennname claim, but this does not change
the value that getUserPrincipal returns.

Looking at the SAML token, it seems that the principal is extracted from
the subject than one of the claims.

So how does this work?

Cheers,

Frank

On Wed, Sep 5, 2012 at 10:55 AM, Oliver Wulff <[email protected]> wrote:

> Hi Frank
>
> It depends on the value you configure for roleURI. See the advanced
> example here:
> http://cxf.apache.org/fediz-configuration.html
>
> Thanks
> Oli
>
> ------
>
> Oliver Wulff
>
> Blog: http://owulff.blogspot.com
> Solution Architect
> http://coders.talend.com
>
> Talend Application Integration Division http://www.talend.com
>
> ________________________________________
> From: frank [[email protected]]
> Sent: 04 September 2012 22:24
> To: [email protected]
> Subject: getUserPrincipal mapping in Fediz plugin
>
> Hi,
>
> Which claim is mapped to getUserPrincipal? I.e. Which claim is returned
> when this function is called?
>
> Cheers,
>
> Frank
>

Reply via email to