aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes calling a secured ejb from an unsecured one Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "calling a secured ejb from an unsecured one" Watch "calling a secured ejb from an unsecured one" New topic
Author

calling a secured ejb from an unsecured one

Abhinav Srivastava
Ranch Hand

Joined: Nov 19, 2002
Posts: 349

I have one EJB EB1 which is secured and can only be accessed by a particular role. Another EJB EB2 which is not secured. EB2 calls EB1 and fails.
The problem I have is there is no authentication happening when EB2 is accessed by the client hence there is no Role in question. How to get around this -
would Run-As work in this case.. or is there another way.



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calling a secured ejb from an unsecured one
 
Similar Threads
passing identity of a plain java program to an ejb
Startup Servlet invoking secure EJB in JBoss
help required specifying Transation attributes for this scenario
How to servlet invoked secured EJB in JBOSS
Accessing self's EJBObject from EntityBean?