This content has been marked as final.
Show 1 reply
-
1. Re: Execute as different person
beckers Jul 29, 2011 3:15 AM (in response to beckers)The problem was, that security was turned of because the security domain defined in jboss.xml is not yet supported.
So @RunAs works. But @RunAsPrincipal doesn't seem to work or I might use it incorrectly.
@RunAsPrincipal doesn't change anything, that might be as specified.
@RunAs and @RunAsPrincipal together changes the Role but not the principal name, I keep getting "run-as-principal".
Yours,
Andreas