Do you think it is possible to include DACS (http://dacs.dss.ca/) as a
authentication adapter (just as it is with Yale's CAS)? There were talks
about the future of authorization in OSS GIS GeoServer
(http://docs.codehaus.org/display/GEOS/Home) which heavily uses Spring,
so it would be natural to
Ben answered your original email on this subject...
Is there a reason you cannot use a PropertyPlaceholderConfigurer?
http://www.springframework.org/docs/api/org/springframework/beans/factory/config/PropertyPlaceholderConfigurer.html
On 1/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
If you can find a means to make java code authenticate against DACS,
then it would be easy enough to write an Acegi AuthenticationProvider
that talks to it.
On 1/19/07, Krystian Nowak [EMAIL PROTECTED] wrote:
Do you think it is possible to include DACS (http://dacs.dss.ca/) as a
Sorry Ray, but how can I use PropertyPlaceholderConfigurer for this
scope? Can you explain me with an example please?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Ray Krueger
Sent: 19 gennaio 2007 13.07
To: acegisecurity-developer@lists.sourceforge.net
In using Acegi with Cas in a web application. As you know, I have to set
the serviceProperties property of CasProcessingFilterEntryPoint to the
url that CAS will call after authentication. I don't like to set this
url in applicationContext-acegi-security.xml but I prefere this value Is
build
OK...
Subclassing ServiceProperties isn't going to do any good, because you
don't have access to the HttpRequest.
You can use a PropertyPlaceHolderConfigurer so that your xml looks like...
bean id=serviceProperties class=org.acegisecurity.ui.cas.ServiceProperties
property
One thing to note is that as a security measure, we never recommend that
you construct/retrieve the hostname for a service url from the request
object. You'll notice that neither Acegi nor the other CAS clients
allows you have a completely dynamic service url (the CAS client
requires that you
Here is what I did to resolve the problem:
1) I have create a filter that build the servicesProperties url in a
static property. This is the code:
public class CasAcegiServicePropertyFilter implements Filter {
public static String casAcegiServicePropertyValue=null;
private static final
I also had a similar solution posted back in June 2005, which we've
been using since then.
http://sourceforge.net/mailarchive/message.php?msg_id=12208592
-lenny
-
Take Surveys. Earn Cash. Influence the Future of IT