my dog learned polymorphism
The moose likes EJB and other Java EE Technologies and the fly likes RUNAS delegation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "RUNAS delegation" Watch "RUNAS delegation" New topic

RUNAS delegation

serge picard

Joined: Mar 19, 2003
Posts: 1
Is there a way to 'programaticaly' delegate a J2EE role. For exemple, I am running under roleA in an EJB and have to access a method of another EJB that requires roleB ? I know it can be acheived with declarative delegation but I am whishing to accomplish it directly in the code. (ps sorry for the poor english... french !!!)
Thanks !
I agree. Here's the link:
subject: RUNAS delegation
jQuery in Action, 3rd edition