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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.