attribute repository - newbie question

Scott Battaglia scott.battaglia at gmail.com
Thu Oct 30 12:02:43 EDT 2008


Let me rephrase that... the default response doesn't display attributes.
You need to write the snippit of code that will represent them in XML (or
use the SAML1.1 response).

-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia


On Thu, Oct 30, 2008 at 12:02 PM, Scott Battaglia <scott.battaglia at gmail.com
> wrote:

> Have you modified the response to retrieve those additional attributes?
>
> -Scott
>
> -Scott Battaglia
> PGP Public Key Id: 0x383733AA
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
>
>
> On Thu, Oct 30, 2008 at 11:51 AM, Ulys <deneve.e at gmail.com> wrote:
>
>>
>> Hello all,
>>
>> I'm trying to configure a CAS for my internship, and I'm having some
>> trouble
>> to get the user's team in the the cas:serviceResponse.
>>
>> This is what I use to get them :
>>
>> <bean id="attributeRepository"
>>
>>
>> class="org.jasig.services.persondir.support.jdbc.SingleRowJdbcPersonAttributeDao">
>>
>>                <constructor-arg ref="dataSource"/>
>>                <constructor-arg>
>>                        <value>username</value>
>>                </constructor-arg>
>>                <constructor-arg>
>>                        <value>SELECT team FROM user WHERE name = ?</value>
>>                </constructor-arg>
>>
>>                <property name="columnsToAttributes">
>>                        <map>
>>                                <entry key="team">
>>                                        <value>team</value>
>>                                </entry>
>>                        </map>
>>                </property>
>>        </bean>
>>
>> I don't understand why the xml only contains my name and not my team :
>>
>> <cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
>>  <cas:authenticationSuccess>
>>  <cas:user>edouard</cas:user>
>>
>>
>>  </cas:authenticationSuccess>
>> </cas:serviceResponse>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/attribute-repository---newbie-question-tp20249160p20249160.html
>> Sent from the CAS Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Yale CAS mailing list
>> cas at tp.its.yale.edu
>> http://tp.its.yale.edu/mailman/listinfo/cas
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20081030/372b650b/attachment.html 


More information about the cas mailing list