3 Replies Latest reply on Jan 8, 2013 5:23 AM by rodakr

    Change caller principal on server side

    vatpet

      Hi.

       

      When an EJB is called, on server side the EJBContext holds the caller principal.

      For specific methods I want to change the user credentials (switch to other user) and go on with this new credentials.

      How can I do this ?

       

      Thanks for help.