0 Replies Latest reply on May 16, 2010 10:37 PM by christian2hass

    Call EJB with different Security Context

    christian2hass

      Hi there,


      I developed a little seam web project and I wanted to use some function of an EJB component which I developed a few months ago. Both are deployed on a jboss server. To use the function of the old EJB component I have to authenticate a special user because the old functions are declared with a @Role- annotation.


      The question is, is there any way to set security context programmatically that allow me to use the function of the old EJB component ?


      Thank you for helping


      Christian