cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Wulff <owu...@talend.com>
Subject RE: getUserPrincipal mapping in Fediz plugin
Date Wed, 05 Sep 2012 16:32:24 GMT
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 [franksked@gmail.com]
Sent: 05 September 2012 17:44
To: users@cxf.apache.org
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 <owulff@talend.com> 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 [franksked@gmail.com]
> Sent: 04 September 2012 22:24
> To: users@cxf.apache.org
> 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
>
Mime
View raw message