Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-571

Webflow integration does not work for secured flows - version incompatibility

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.0.RELEASE
    • Fix Version/s: 1.0.2.RELEASE
    • Component/s: SECURITY, WEB MVC
    • Labels:
      None

      Description

      Roo 1.0.0 references Web Flow 2.0.8 but uses Spring Security 3.0.0.RC2
      These versions do not work together as far as secured flows are concerned.

      If you define a secured flow the following Exception occurs:

      Caused by: java.lang.ClassNotFoundException: org.springframework.security.vote.AffirmativeBased
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
      ... 65 more

      This is caused be the org.springframework.webflow.security.SecurityFlowExecutionListener which relies on Spring Security 2.

      Currently there is a yet unapproved workaround in the SWF bug tracker (http://jira.springframework.org/browse/SWF-1182) which works for me.

      This bug should be fixed when Roo upgrades references to the new version of web flow which takes into account the changed package structure of spring security 3.0.0!

      Regards
      Alex

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sschmidt Stefan Schmidt
                Reporter:
                aheusingfeld Alexander Heusingfeld
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: