I might need you help in migrating gwc to Spring security too, if you'd
be so kind and we decide we want to migrate gwc from acegi too.
Cheers,
Gabriel
Of course I would. As far as I understand gwc, all authentication/authorization rules must hold for gwc too. I does not make sense to protect resources within geoserver and not protecting them from the cache. Is my understanding correct here ?.
At the moment I am banging my head against the wall. I migrated all projects needed for a
mvn clean install -PallExtensions.
I altered the class names contained in applicationSecurityContext.xml in the main module.
A "mvn compile" works fine.
But "mvn clean install" results in
ClassNotFoundException for org.springframework.vote.AffirmativeBased
when the applicationSecurityContext.xml file is processed.
Adding a line
System.out.println(System.getProperty("java.class.path"))
in the test case shows that all spring-security jars are in the class path.
The only documentation about migrating I found is here
http://java.dzone.com/tips/pathway-acegi-spring-security-
The author did not migrate the old security xml file, he created a new one, which uses xml name spaces. I tried the same and as result, I get a parsing error "element beans:beans is missing", but it is there. It seems that the XML parser is not namespace aware.
For the moment, I have no further idea, perhaps I have to download all necessary source jars and have an in dept debugging session.
Is there an svn repo for gwc ?. Perhaps I could try with gwc to find the problem.
so far, so good
Christian
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.