4 Replies Latest reply on Mar 11, 2008 1:59 AM by shane.bryzak

    Identity on Seam 2.1.0 SNAPSHOT

    larshuber

      Since I'm using the snapshot this exception occures by starting seam test environment.



      FAILED CONFIGURATION: @BeforeSuite startSeam
      java.lang.RuntimeException: Could not create Component: org.jboss.seam.security.identity
           at org.jboss.seam.init.Initialization.addComponent(Initialization.java:995)
           at org.jboss.seam.init.Initialization.installComponents(Initialization.java:911)
           at org.jboss.seam.init.Initialization.init(Initialization.java:589)
           at org.jboss.seam.mock.AbstractSeamTest.startSeam(AbstractSeamTest.java:896)
           at org.jboss.seam.mock.SeamTest.startSeam(SeamTest.java:58)
      Caused by: java.lang.IllegalArgumentException: no such setter method: org.jboss.seam.security.Identity.securityRules
           at org.jboss.seam.util.Reflections.getSetterMethod(Reflections.java:236)
           at org.jboss.seam.Component.initInitializers(Component.java:482)
           at org.jboss.seam.Component.<init>(Component.java:268)
           at org.jboss.seam.Component.<init>(Component.java:219)
           at org.jboss.seam.init.Initialization.addComponent(Initialization.java:979)
           ... 19 more
      ... Removed 15 stack frames



      Where I have to change the implementation of the Identity in an existing project (2.0.1.GA). I saw that the implementation class name changed from RuleBasedIdentity to RuleBasedPermissionResolver ?


      greets, Lars