2 Replies Latest reply on Mar 17, 2009 12:27 AM by jeckhart

    Seam Container Managed Security

    chadws

      I know from the documentation and other forum messages that seam security does not integrate with container managed security, but does seam work with container managed security at all?


      I have a log in form that uses the standard container managed authentication form fields. It appears that I can authenticate successfully, but upon going to a facelets page that checks to see if a user is in a given role it always says I am authenticated as annoymous and that I have no roles.


      I would like to know if this is a limitation is seam or whether this should work and I am doing something wrong.


      Basically, I want to be able to log into the server using container managed security and then annotate the ejb methods with the standard @RequireRoles annotation to limit what methods a user can call on the EJB. My ejb also provides a few method that my JSF components can call in the rendered method to handle page specific authentication based on roles. Does anyone know if this should work with seam?


      Thanks,
      Chad

        • 1. Re: Seam Container Managed Security
          chadws

          Does anyone know the answer to this? I have been working on it for a few weeks and need to know if this is possible or whether I am going to have to find another solution.

          • 2. Re: Seam Container Managed Security
            jeckhart

            Hi Shane,


               I realize that you posted your questions almost a year ago without response. Were you able to work through any of your questions? Do you have any further insights surround container managed security in Seam?


               I've posted a separate forum topic to (hopefully) resurrect the discussion, any insights you have gained would be greatly appreciated: wiki://67263


            Thanks,
               John