Nothing jumps out at me in your configuration. I’ll run some tests to see if 
I can duplicate the error and provide an explanation.



Do I remember correctly that you said you were using SAML 1.1 to get 
attributes?



From: Carlos Olivera [mailto:carlosroliv...@gmail.com]
Sent: Monday, October 13, 2014 5:00 AM
To: cas-user@lists.jasig.org
Cc: daniel.char...@unice.fr
Subject: Re: [cas-user] Cas Server 4.0 | Understanding Attribute Release



Sorry, the client code to retrieve the attributes is:





AttributePrincipal principal = 
(AttributePrincipal)request.getUserPrincipal();

Map attributes = principal.getAttributes();



2014-10-13 9:50 GMT-02:00 Carlos Olivera <carlosroliv...@gmail.com 
<mailto:carlosroliv...@gmail.com> >:

I tried to debug the code in order to figure out when the principal was 
saved with all the attributes. I got the following Assertion 
(ImmutableAssertion) object created (ServiceValidateController):



*       primaryAuthentication (ImmutableAuthentication): The Principal has an 
empty list of attributes, wich is what I need according to my configuation.
*       chainedAuthentications (List<ImmutableAuthentication>): Return a list 
with 
only one item, but in that case the Principal in the Authentication object 
has ALL the attributes of the user.

Is that the standard behaviour in the login proccess?



Something I haven't said yet, to retrieve the attributes from the client I 
use the following code:

AttributePrincipal principal = (AttributePrincipal)request.

Map attributes = principal.getAttributes();



is that ok???



I don't know if any of that helps, but maybe for an experienced user it 
could mean something.


El lunes, 13 de octubre de 2014 08:51:15 UTC-2, daniel....@unice.fr 
<mailto:daniel....@unice.fr>  escribió:

Hi,



Here my deployerconfig. I have the same problem than carlos. I dont 
understand why i have all attributes..

I have tried both with Attributefilter and allowedattributes but its the 
same.

-- 
You are currently subscribed to cas-...@lists.jasig.org 
<mailto:cas-...@lists.jasig.org>  as: jasig-cas-user...@googlegroups.com 
<mailto:jasig-cas-user...@googlegroups.com>
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to cas-user@lists.jasig.org 
<mailto:cas-user@lists.jasig.org>  as: carlosroliv...@gmail.com 
<mailto:carlosroliv...@gmail.com>
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user




-- 
You are currently subscribed to cas-user@lists.jasig.org 
<mailto:cas-user@lists.jasig.org>  as: mmoay...@unicon.net 
<mailto:mmoay...@unicon.net>
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to