You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Grzegorz Kossakowski (JIRA)" <ji...@apache.org> on 2008/04/26 22:24:55 UTC
[jira] Assigned: (COCOON-2197) Making the cocoon-auth-block
acegi-security-sample work
[ https://issues.apache.org/jira/browse/COCOON-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grzegorz Kossakowski reassigned COCOON-2197:
--------------------------------------------
Assignee: Grzegorz Kossakowski
> Making the cocoon-auth-block acegi-security-sample work
> -------------------------------------------------------
>
> Key: COCOON-2197
> URL: https://issues.apache.org/jira/browse/COCOON-2197
> Project: Cocoon
> Issue Type: Wish
> Components: - Samples
> Affects Versions: 2.2
> Reporter: Patrick Heiden
> Assignee: Grzegorz Kossakowski
> Priority: Minor
> Fix For: 2.2-dev (Current SVN)
>
> Attachments: cocoon-acegi-sample-svn-diff.patch
>
>
> The current acegi-security-sample doesn't work with acegi version used!
> So an update to spring-security (2.0.0-SNAPSHOT) fixed that problem.
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.