Why is the RunAs role getting removed by the EJB 2 SecurityInterceptor in JBoss?

Solution Verified - Updated -

Issue

  • Why is the RunAs role getting removed by the EJB 2 SecurityInterceptor in JBoss?
  • I am running into an issue where the @RunAs role appears to be getting removed by an unsecured EJB 2:

    standalone ejb3 client --remote-->  ejb3 slsb ->  ejb3 mdb (@RunAs) ->  ejb2 slsb (unsecured) (WORKS) ->  ejb3 slsb (FAILS) -> ejb3 slsb
    

Environment

  • JBoss Enterprise Application Platform
    • 5.1.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content