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

    Seam Container Managed Security

    Chad Skinner Newbie

      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