Re: [Acegisecurity-developer] CasPasswordHandler bean setup woes

2006-02-22 Thread Per Ejeklint
Yes, I'm working with that now. I got stuck with the cas server install when trying to use 3.0 instead of 2.0 and wanted to resolve that before moving on./Per22 feb 2006 kl. 02-22 | v.8 |00.01 skrev Scott Battaglia:Have you checked out

Re: [Acegisecurity-developer] CasPasswordHandler bean setup woes

2006-02-22 Thread Scott Battaglia
Ben, Do you want me to copy the cas-server-3.0.4.jar to the Acegi maven repository? Or just add a reference to JA-SIGs? We have a repository at: http://developer.ja-sig.org/maven/cas/jars/ -Scott Scott Battaglia Application Developer, Architecture Engineering Team Enterprise Systems and

[Acegisecurity-developer] CasPasswordHandler bean setup woes

2006-02-21 Thread Per Ejeklint
Following the CAS server installation in the documentation, I get the following error and don't know how to continue. All help is appreciated!12:13:58,910 ERROR [ContextLoader] Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name

Re: [Acegisecurity-developer] CasPasswordHandler bean setup woes

2006-02-21 Thread Scott Battaglia
Your exception is that you are trying to convert an org.jasig.cas.AuthenticationManager to a org.acegisecurity.AuthenticationManager and they're not the same class. Its important to note however, that if you're looking at JA-SIG CAS 3.0.x (current version 3.0.4), the CAS adapter is not

Re: [Acegisecurity-developer] CasPasswordHandler bean setup woes

2006-02-21 Thread Per Ejeklint
Thanks! I am indeed trying to use 3.0.4 with Acegi 1.0.0-RC2. Am trying to get a simple but working setup to demo the concept. To get going I can use version 2.0 instead, but it would be nice to have a working demo with 3.0.4 as well. Do you know of any such setup examples out there?

Re: [Acegisecurity-developer] CasPasswordHandler bean setup woes

2006-02-21 Thread Per Ejeklint
Scott,sorry, I should be more clear. I'm trying to demo how CAS+Acegi gives single sign-on with a multi-webapp project I'm working with, so I need to go a bit further with the configuration. The CAS demo itself was easy enough to get working. :-)/Per21 feb 2006 kl. 02-21 | v.8 |14.28 skrev Scott

Re: [Acegisecurity-developer] CasPasswordHandler bean setup woes

2006-02-21 Thread Scott Battaglia
Per, Even if you want to use Acegi to show single sign on, you don't need to configure CAS to use Acegi. An Acegi-protected application can still use CAS without CAS having to call any Acegi classes. The proper filters/entry points just need to be configured on the application being

Re: [Acegisecurity-developer] CasPasswordHandler bean setup woes

2006-02-21 Thread Ben Alex
Scott Battaglia wrote: If there's interest I can write an AuthenticationHandler that delegates to an Acegi AuthenticationManager similar to what the current CAS adapter does. Hi Scott I think it would be good to have a 3.x-series compatible AuthenticationHandler, so that people wanting

Re: [Acegisecurity-developer] CasPasswordHandler bean setup woes

2006-02-21 Thread Andrew Petro
Ben, Scott, I think it would be good to have a 3.x-series compatible AuthenticationHandler, so that people wanting to try out CAS who already have an Acegi Security authentication environment configured can do so without trying to configure one of the CAS-included handlers. Indeed. I think

Re: [Acegisecurity-developer] CasPasswordHandler bean setup woes

2006-02-21 Thread Scott Battaglia
Ben, I'll work on a CAS3/Acegi AuthenticationHandler this week. It shouldn't be too difficultlt. Do you think having both the PasswordHandler and an AuthenticationHandler will cause problems? We are in RC, so I'm not sure we want to remove the handler. I will also add an option to CAS to

Re: [Acegisecurity-developer] CasPasswordHandler bean setup woes

2006-02-21 Thread Scott Battaglia
Per Ejeklint wrote: Thanks Scott, I promise to dig into the documentation so I get better understanding of how it all comes together. :) Have you checked out http://www.acegisecurity.org/docbook/acegi.html#security-cas-install-client on how to configure an Acegi application to use CAS?

Re: [Acegisecurity-developer] CasPasswordHandler bean setup woes

2006-02-21 Thread Ben Alex
Scott Battaglia wrote: Ben, I'll work on a CAS3/Acegi AuthenticationHandler this week. It shouldn't be too difficultlt. Do you think having both the PasswordHandler and an AuthenticationHandler will cause problems? We are in RC, so I'm not sure we want to remove the handler. After reading