0 Replies Latest reply on Feb 1, 2010 9:00 PM by Daniel Wachter


    Daniel Wachter Newbie

      Hello together!

      I tried to get the RunAsOperation() working, but without success!
      Can the RunAsOperation() be used with real roles?
      Real role means, that i have a role in my permission-store (created to work with seam security) and some permissions granted on that role.

      If i have a role named myRole and i implement the RunAsOperation() like follow:

      new RunAsOperation() {       
        public void execute() {
          // do stuff here

      The function call inside the RunAsOperation() did not success cause of a seam security access exception.

      Can the RunAsOperation() only be used with a droles file, like in the examples?
      Thanks for helping...