Hi All,
What is the equivalent method to weblogics
weblogic.security.Security.runAs method in JBoss.
The requirement is that:
Whenever i go to the server i would like to run the method as logged in subject so that each user runs with his/her own subject when running any particular method in the server.
Some like runAs(new Subject(), the method to be run)
The subject is the authenticated subject.
Thanks
Tomcy