Hello,
I followed
https://wiki.jasig.org/display/CASC/Configuring+the+JA-SIG+CAS+Client+for+Java+using+Spring
link trying to set up my application
In web.xml, I have
<filter>
<filter-name>CAS Authentication Filter</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
<init-param>
<param-name>saml1Authenticaion</param-name>
<param-value>authenticationFilter</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>CAS Authentication Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
In Spring applicationContext.xml, I have
<bean id="saml11Authentication"
class="org.jasig.cas.client.authentication.Saml11AuthenticationFilter"/>
<bean
name="authenticationFilter"
class="org.jasig.cas.client.authentication.Saml11AuthenticationFilter"
p:casServerLoginUrl="https://test.server.com:8443/cas/login"<https://localhost:8443/cas/login>
p:renew="false"
p:gateway="false"
p:service="https://web.server.com:8443<https://my.local.service.com/cas-client>"
/>
But Tomcat gives following error
SEVERE: Exception starting filter CAS Authentication Filter
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named
'CAS Authentication Filter' is defined
I went through the linked page multiple times, did I miss anything?
Regards,
Yi
--
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