Hi john, I have tried your syntax but it's the same things.
I have seen that on cas core 4.1 there are new functions for this. I hope the return of attributes for each services works on 4.0 with ldap… I dont understand why the property of serviceid works but not the property allowedAttribute Best Regards, ----------------------------------------------------------------- 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 6 oct. 2014 à 17:24, John Gasper <jgas...@unicon.net> a écrit : > You might try changing your bean def to use: > <property name="allowedAttributes"> > <list> > <value>mail</value> > </list> > </property> > > On 10/6/14 3:41 AM, daniel.char...@unice.fr wrote: >> Hi guys, >> >> Last work for my cas 4. >> >> I would like to give attributes differents for each services. >> But it doesnt work. >> I use org.jasig.cas.persondir.LdapPersonAttributeDao. >> >> And I have a bean : >> <bean class="org.jasig.cas.services.RegexRegisteredService" >> p:id="1" p:name="HTTP web" p:description=« SERVICE test" >> p:allowedToProxy="true" >> p:serviceId="http://testmydomain/test/test.php" p:evaluationOrder="10000002" >> p:allowedAttributes="mail"/> >> >> But in response... I have all attributes which are in my "bean >> attributeRepository". >> allowedAttributes properties seems do nothing... >> >> Any ideas ? >> >> Thx for your responses >> ----------------------------------------------------------------- >> 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 >> >> >> >> >> >> >> >> >> >> -- >> You are currently subscribed to cas-user@lists.jasig.org as: >> jgas...@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: > daniel.char...@unice.fr > 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