I researched this a little more. My example above is actually wrong. I tried
to simplify my actual problem, and simplified it too far.
According to EJB 3.0 Section 17.2.5.2:
anonymous wrote :
| Note that isCallerInRole(String roleName) tests the principal that
represents the
| caller of t
In addition to what Andrew said -
>From what i remember, the @RunAs comes into picture only when you have secured
>the bean with a @SecurityDomain. Something like:
@Stateless
| @TransactionManagement(TransactionManagementType.CONTAINER)
| @Remote(TestSessionBean.class)
| @Local(TestSession
Definitely give it a spin on AS 5.0.1.GA or 5.1.0.Beta1; we've got integration
tests for this kind of thing. If it turns out you've still got a problem we'll
look into either 1) Fixing your config or 2) Addressing a gap in our test
coverage / possible bug.
S,
ALR
View the original post :
htt