Thank you Scott.Now it works.it does not throw exception,but another problem
comes up.
when I visit my application,http://qing:8888/TCMManager ,it doesn't redirect me
to the
cas server side.
Is it the problem that I didn't configuer the client side properly or the cas
server
side also need some other configuration?
I'm using cas-server-3.2 and cas-client-2.0.I copy the refenrence guide,and
only change
a little as below:
<bean id="serviceProperties"
class="org.acegisecurity.ui.cas.ServiceProperties">
<property name="service">
<value>https://qing:8443/TCMManager/j_acegi_cas_security_check</value>
</property>
<property name="sendRenew"><value>false</value></property>
</bean>
<bean id="casProcessingFilterEntryPoint"
class="org.acegisecurity.ui.cas.CasProcessingFilterEntryPoint">
<property name="loginUrl"> <value>https://qing:8443/cas/login</value>
</property>
<property name="serviceProperties"> <ref bean="serviceProperties"/>
</property>
</bean>
<bean id="casProxyTicketValidator"
class="org.acegisecurity.providers.cas.ticketvalidator.CasProxyTicketValidator">
<property
name="casValidate"><value>https://qing:8443/cas/proxyValidate</value></property>
<property
name="proxyCallbackUrl"><value>https://qing:8443/TCMManager/casPorxy/receptor</value></property>
<property name="serviceProperties"><ref bean="serviceProperties"/>
</property>
</bean>
I just change urls to my own hostname(qing) and application
name(TCMManager).Is the url not right?I dont't know what
/j_acegi_cas_security_check mean?
By the way cas server can authenticate Hello applicaion which not using
springsecurity and spring .
qingzhao,
---------------------------------
雅虎邮箱,您的终生邮箱!_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas