Are you using the service management tool to release attributes to a client?
On Mon, Sep 6, 2010 at 5:43 AM, Fco Javier Carreras Calero < [email protected]> wrote: > Hi, > > > > I'm configuring a client to receive the attributes of the connected user. I > have replaced the code in the web.xml file of the client by: > > > > <filter> > > <filter-name>CAS Validation Filter</filter-name> > > > <filter-class>org.jasig.cas.client.validation.Saml11TicketValidationFilter</filter-class> > > <init-param> > > <param-name>casServerUrlPrefix</param-name> > > <param-value>https://fjcarreras.diasoftcordoba.local/CAS/ > </param-value> > > </init-param> > > <init-param> > > > <param-name>serverName</param-name> > > <param-value> > https://localhost:8443</param-value> > > </init-param> > > </filter> > > > > I've added the following lines to the file deployerConfigContext.xml of CAS > server. > > > > <bean id="attributeRepository" > class="org.jasig.services.persondir.support.jdbc.SingleRowJdbcPersonAttributeDao"> > > <constructor-arg index="0" ref="dataSource" /> > > <constructor-arg index="1" value="SELECT * FROM USERS WHERE {0}" /> > > <property name="queryAttributeMapping"> > > <map> > > <entry key="user" value="user" /> > > </map> > > </property> > > <property name="resultAttributeMapping"> > > <map> > > <entry key="surname" value="surname" /> > > </map> > > </property> > > </bean> > > > > The problem is not getting the attributes on the client. There is no error > in the logs files, both client and server. I have also tried to modify the > file casServiceValidationSuccess.jsp, but I have not any results. > > > > Should I make any changes or additions to the code? Is there an error in > the added lines? > > > > Thanks > > > > > > -- > 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
