Is it possible to configure different roles for local and remote EJB invocations?

Solution Verified - Updated -

Issue

With EJB2.1 a method was annotated with different role-names for local and remote interfaces.
With EJB3 the bean-method is annotated.

Is it possible to configure different roles for local and remote invocations?
- with @annotation
- with ejb-jar.xml

Environment

  • JBoss Enterprise Application Platform (EAP) 5.x

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.