This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages 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
  • 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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic