On Tue, 13 Apr 2004, Tres Seaver wrote:
Given that you trust yourself ;), you can add a security context from
within the second thread; you could pass the user ID to the thread via
one of several forms of currying, e.g. via instance variables::
I'm not sure if I trust myself in real
Toby Gustafson wrote:
Your code below did not work for me because I could not find the
newSecurityContext method. However, I was able to use the
SecurityManagement.newSecurityManager instead, and that worked great.
Thanks for pointing me in the right direction.
Great! Sorry for leaving off the
Toby Gustafson wrote:
Hi,
Within a python file I do a call to thread.start_new_thread(...).
Before this call, I am the admin user (verified by calling
AccessControl.getSecurityManager().getuser().getUserName()). After the
call, however, in the new thread, the user is now Anonymous User.
Is