You have to use the version of the CAS client that corresponds to the
version of Acegi or Spring Security that you are using.

If you are using Acegi, as the documentation states, you'll need to use the
Yale CAS Client. Spring Security (Acegi 2.0+) uses the JASIG client.

-Scott

On Tue, Jul 15, 2008 at 11:26 AM, SMallik <[EMAIL PROTECTED]> wrote:

>
> That's my question, I want to use only one cas client preferrably
> cas-client-core-3.1.3.jar as I have to implement SSOut. But If I dont use
> casclient-2.1.1.jar I get
>
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> wit
> h name 'authenticationManager' defined in ServletContext resource
> [/WEB-INF/aceg
> i-config.xml]: Cannot resolve reference to bean 'casAuthenticationProvider'
> whil
> e setting bean property 'providers' with key [0]; nested exception is
> org.spring
> framework.beans.factory.BeanCreationException: Error creating bean with
> name
> 'ca
> sAuthenticationProvider' defined in ServletContext resource
> [/WEB-INF/acegi-conf
> ig.xml]: Cannot resolve reference to bean 'casProxyTicketValidator' while
> settin
> g bean property 'ticketValidator'; nested exception is
> org.springframework.beans
> .factory.BeanCreationException: Error creating bean with name
> 'casProxyTicketVal
> idator' defined in ServletContext resource [/WEB-INF/acegi-config.xml]:
> Initiali
> zation of bean failed; nested exception is java.lang.NoClassDefFoundError:
> edu/y
> ale/its/tp/cas/client/ProxyTicketValidator
>        at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver
> .resolveReference(BeanDefinitionValueResolver.java:275) ..........
> error.
>
> Is
> <bean id="casProxyTicketValidator"
>
> class="org.acegisecurity.providers.cas.ticketvalidator.CasProxyTicketValidator">
> <property
> name="casValidate"><value>https://testcas:8443/cas/proxyValidate
> </value></property>
> <property
> name="proxyCallbackUrl"><value>
> https://testcas:8443/caswithacegi/casProxy/receptor</value></property>
> <property name="serviceProperties"><ref
> local="serviceProperties"/></property>
> <property
>
> name="trustStore"><value>C:\java\jdk1.5.0_09\jre\lib\security\cacerts</value></property>
> </bean>
> not required in case of cas-client-core-3.1.3 ?
> Is my web.xml correct w.r.t cas-client-core-3.1.3 ? Other config files I
> have already attached .
>
> http://www.nabble.com/file/p18468057/web.xml web.xml
>
>
>
> Why are you trying to use two completely incompatible CAS clients?  Please
> choose one or the other.
>
> On Tue, Jul 15, 2008 at 10:45 AM, SMallik <[EMAIL PROTECTED]>
> wrote:
> > Hi Scott,
> > Can you please look into the config files for any possible
> > mis-configuration
> > ? I could not locate any and still facing the same issues.
> > One more thing to add , may or may not be related to the SSOut problem .
> > In
> > my CAS client I have to use both the jars casclient-2.1.1 and
> > cas-client-core-3.1.3 . If I use cas-client-core-3.1.3 only I am getting
> >
> > java.lang.NoClassDefFoundError:
> > edu/yale/its/tp/cas/client/ProxyTickeValidator error
> >
> > and if I use casclient-2.1.1.jar only , I am getting
> >
> > java.lang.ClassNotFoundException:
> > org.jasig.cas.client.session.SingleSignOutHttpSessionListener.
> >
> > I am using CAS 3.2.1 , how to avoid this 2 jars problem ?
> >
> >
>
>
> > scott_battaglia wrote:
> > >
> > > I don't know how you have anything set up.  All I can tell you is that
> > the
> > > hostname that your application is accessed under MUST match the CN of
> > the
> > > certificate that is being returned when that application is requested.
> > >
> > > -SCott
> > >
> > > -Scott Battaglia
> > > PGP Public Key Id: 0x383733AA
> > > LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
> --
> View this message in context:
> http://www.nabble.com/Logout-problem-tp18407195p18468057.html
> Sent from the CAS Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to