Hi!
<snip/>
> I thought Giacomo had the sample once up and running, but he used the
> latest acegi sources from trunk, which aren't available in a maven
> repository.
> Maybe it's worth to give it a try.
>
> Felix
This was a very usefull hint, I got it up running smoothly ;)
Following steps need to be performed:
1) get the latest trunk from spring-security (acegi) (see [1] for details)
2) compile and install that trunk (mvn install, maybe skip the more than 1000
tests ;)
3) change the pom.xml of cocoon-acegisecurity-sample block:
replace the acegi dependency with:
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>2.0.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>avalon-framework</groupId>
<artifactId>avalon-framework</artifactId>
</exclusion>
</exclusions>
</dependency>
4) replacements in META-INF/cocoon/xpatch/acegi-filter-patch.xweb:
every org.acegi. ... should be replaced by org.springframework.security
5) the same needs to be done for all bean's class attribute inside
META-INF/cocoon/spring/cocoon-acegisecurity.xml
6) mvn install; mvn jetty:run
I would guess, that by making acegi a spring portfolio project, the rework on
that project contains better adoption of spring bean-lifecycles.
I would enjoy to see this little update inside cocoon-trunk for new users.
Maybe one 'little' problem is the aforementioned availability of the
spring-security artifact (2.0.0 RC1) inside mavens repository. Could this be
solved permanently by now?
Best regards,
Patrick
[1] http://www.acegisecurity.org/cvs-usage.html
--
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games!
http://games.entertainment.gmx.net/de/entertainment/games/free
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]