*
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 Soft Skills this week in the Jobs Discussion 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