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 } }.addRole("myRole") .run()
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...