0 Replies Latest reply on Feb 8, 2006 7:26 AM by Tomcy John

    Method equivalent to weblogic.security.Security.runAs

    Tomcy John Newbie

      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