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 y

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? -Scot

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 c

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 thi

Re: [Acegisecurity-developer] CasPasswordHandler bean setup woes

2006-02-21 Thread Per Ejeklint
Thanks Scott,I promise to dig into the documentation so I get better understanding of how it all comes together. :)/Per21 feb 2006 kl. 02-21 | v.8 |14.39 skrev 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-protect

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 to

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 protect

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 Ba

Re: [Acegisecurity-developer] CasPasswordHandler bean setup woes

2006-02-21 Thread Scott Battaglia
Per, To purely demo, you can actually just use the demo war included with CAS (in the target directory). It is configured with a handler that merely matches username and password. Otherwise, you can configure one of the included handlers that authenticate against LDAP or a database (or a si

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 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 somethi

[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 'casPa