1 2 Previous Next 18 Replies Latest reply on Apr 29, 2010 3:43 AM by as6o

    Problem building security

    as6o

      I'm attempting to build the security module from sources but am getting the following errors:


      cannot find symbol
      symbol  : class SeamGlobalResolver
      location: package org.jboss.seam.drools


      cannot find symbol
      symbol  : class SeamGlobalResolver
      location: class org.jboss.seam.security.permission.RuleBasedPermissionResolver


      Any idea on how I can get the security stuff built?  Also, are there nightlies available anywhere?


      Thanks,
      -Aaron

        • 1. Re: Problem building security
          dan.j.allen

          Seam security is not one of the modules that builds currently. We need to bring it into compliance with the final CDI API and get it working again.


          We are in the process of getting all the normal project lifecycle artifacts setup, such as nighties. We'll let you know when they are available.

          • 2. Re: Problem building security
            as6o

            Thanks for the update!  I look forward to the nightlies!

            • 3. Re: Problem building security
              dan.j.allen

              Okay, we don't have nightly distributions yet, but we do have Maven snapshots. See the Seam 3 Maven artifacts page for details.

              • 4. Re: Problem building security
                as6o

                Thanks!  But I don't see security there. :(


                I'm sensing more momentum on Seam 3 so I assume it'll be available soon.

                • 5. Re: Problem building security
                  dan.j.allen

                  Aaron Siri wrote on Mar 24, 2010 15:48:


                  Thanks!  But I don't see security there. :(

                  I'm sensing more momentum on Seam 3 so I assume it'll be available soon.


                  Ah, I should have linked to the modules status page as well. Short answer, it's on the TODO list to fix security soon.

                  • 6. Re: Problem building security
                    shane.bryzak

                    I'm currently working on the security module, I should have something functional in SVN within the next week.

                    • 7. Re: Problem building security
                      dan.j.allen

                      Shane Bryzak wrote on Mar 24, 2010 16:26:


                      I'm currently working on the security module, I should have something functional in SVN within the next week.


                      Great news Shane! If you need any help, feel free to ask one of us or the community ;) We'll be hanging out in #seam-dev, among other places.

                      • 8. Re: Problem building security
                        as6o

                        I see a security snapshot.  Is this something that people can start playing with or should we still wait a bit?

                        • 9. Re: Problem building security
                          nickarls

                          If it builds, give it a run and file JIRAs for any bugs you find. If you work for Mastercard etc. please don't put it in production just yet ;-)

                          • 10. Re: Problem building security
                            shane.bryzak

                            The security module only just compiles, which is why there's a snapshot now.  For a much better indicator of whether it's in a usable state you should keep an eye on the SeamSpace example (which I'm currently still working on).

                            • 11. Re: Problem building security
                              as6o

                              Still keeping tabs on security.  Playing with it a little but not expecting much yet. :)


                              However, there seems to be a runtime dependency on org.hibernate.EmptyInterceptor  Is that something that will be removed or is there a dependency on hibernate?

                              • 12. Re: Problem building security
                                shane.bryzak

                                Authentication now works, and authorization works to an extent - rule based permissions are working (see the SeamSpace example for how to configure it), and I believe persistent permissions are working also. 

                                • 13. Re: Problem building security
                                  shane.bryzak

                                  Aaron Siri wrote on Apr 05, 2010 21:50:


                                  However, there seems to be a runtime dependency on org.hibernate.EmptyInterceptor  Is that something that will be removed or is there a dependency on hibernate?


                                  There is a compile-time dependency on Hibernate, and a runtime dependency only if you want to use the security features with Hibernate for entity security.  At the moment I'm not planning on removing this.

                                  • 14. Re: Problem building security
                                    as6o

                                    Great!  How do I turn off the runtime dependency?

                                    1 2 Previous Next