I have configured the management services but attributes do not appear on the client
De: Fco Javier Carreras Calero [mailto:[email protected]] Enviado el: martes, 07 de septiembre de 2010 9:07 Para: [email protected] Asunto: RE: [cas-user] Help with Saml11TicketValidationFilter I have not seen anything referring to this tool in a manual. What is this tool? How do I set? Thanks. De: Scott Battaglia [mailto:[email protected]] Enviado el: martes, 07 de septiembre de 2010 3:31 Para: [email protected] Asunto: Re: [cas-user] Help with Saml11TicketValidationFilter 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.SingleRowJdbcPersonAttribut eDao"> <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 -- 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
