This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calling a secured ejb from an unsecured one

Abhinav Srivastava
Ranch Hand
Posts: 354
Eclipse IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic