• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about ejb security (scbcd1.3)

 
Tontang Bei
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Is it possible to bypass security authorization on method by method basis in ejb? can anyone give me an example of how?


Thanks
 
Vijay Govind
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The tag <uncheked/> overrides all the other settings. I don't think you will be able to do that...Please post the answer if could find a way out...
 
prashanth kumar
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If i understand your question correctly,the answer is
yes..you can bypass method by method security by using isCallerInRole()...In this way you are enforcing security on an instance by instance basis..

Regards
Prashanth
 
Vijay Govind
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. agreed. Initially misunderstood the question. You can bypass security on a method by method basis.

--Vijay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic