How do we implement /serviceValidate with renew option when the client bean doesn’t have the /serviceValidate settings. We are using SAML ticket enabled CAS.
The following is the cas-client-filter file.
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<bean id="SSOAuthenticationFilter"
class="org.jasig.cas.client.authentication.AuthenticationFilter">
<property name="casServerLoginUrl" value="${cas.server.loginurl}"></property>
<property name="serverName" value="${cas.client.url}"></property>
</bean>
<bean id="Saml11TicketValidationFilter"
class="org.jasig.cas.client.validation.Saml11TicketValidationFilter">
<property name="serverName" value="${cas.client.url}"></property>
<property name="redirectAfterValidation" value="false"></property>
<property name="artifactParameterName" value="ticket" />
<property name="useSession" value="false"></property>
<property name="ticketValidator">
<bean class="org.jasig.cas.client.validation.Saml11TicketValidator">
<constructor-arg index="0" value="${cas.server.url}" />
<property name="tolerance" value="${cas.validator.tolerance}" />
</bean>
</property>
</bean>
<bean id="Saml11TicketValidator" class="org.jasig.cas.client.validation.Saml11TicketValidator">
<constructor-arg index="0" value="${cas.server.url}" />
<property name="tolerance" value="${cas.validator.tolerance}" />
</bean>
<bean id="BannerTicketValidationFilter"
class="com.ellucian.sso.client.web.filter.BannerTicketValidationFilter">
<!-- serverName of client to construct serviceURL eg:"thisServer.myDomain.net" -->
<constructor-arg index="0" value="${cas.client.serverName}" />
<!-- serviceUrl of client: either provide serverName or serviceUrl -->
<constructor-arg index="1">
<null />
</constructor-arg>
<!-- ticketValidator implementation (defines protocol version to be used) -->
<constructor-arg index="2"
ref="BannerApplicationTicketValidator" />
</bean>
<bean id="BannerApplicationTicketValidator"
class="com.ellucian.sso.client.web.validation.BannerApplicationTicketValidator">
<constructor-arg index="0" value="${cas.server.url}" />
<constructor-arg index="1" ref="httpClient" />
</bean>
<bean id="httpClient" class="org.jasig.cas.util.HttpClient3FactoryBean">
</bean>
Thanks so much,
Laura
--