Hi,
I have specified the SAML ticket validator on the client. I removed the
filter
"org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter"
in the web.xml and I added the following code:
<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://pc_1.nameEmp.local/CAS/</param-value>
</init-param>
<init-param>
<param-name>serverName</param-name>
<param-value>https://192.168.1.14:8443</param-value>
</init-param>
</filter>
I also added the libraries opensaml1.1 and log4j on the client, and I do
not get any error but I do not display attributes.
What can happen?
Thanks
-----Mensaje original-----
De: Marvin Addison [mailto:[email protected]]
Enviado el: martes, 31 de agosto de 2010 15:46
Para: [email protected]
Asunto: Re: [cas-user] Attribute Person
Your second attempt has the correct constructor signature:
> <bean id=" attributeRepository "
>
>
class="org.jasig.services.persondir.support.jdbc.SingleRowJdbcPersonAttribu
teDao">
>
> <constructor-arg index="0" ref="dataSource" />
>
> <constructor-arg index="1" value=" SELECT surname FROM
users
> WHERE lower(user) = lower(?)"/>/>
I will assume your attribute mappings are correct. Have you specified
the SAML ticket validator on the client? Attributes are only
transmitted to the client via the SAML 1.1 protocol.
M
--
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