Me yeah, SAML 1.1 with an function php which does just a getAttribute(). ----------------------------------------------------------------- Daniel CHARLOT D.S.I. Université de Nice Sophia-Antipolis Administrateur Systèmes et Réseaux 28, avenue de Valrose - BP 2135 - 06103 NICE Tél : 04-92-07-67-07
Le 13 oct. 2014 à 16:18, Misagh Moayyed <[email protected]> a écrit : > 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:[email protected]] > Sent: Monday, October 13, 2014 5:00 AM > To: [email protected] > Cc: [email protected] > 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 <[email protected]>: > 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, [email protected] 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 [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
