[Zope] Authentication from a script

Dieter Maurer dieter@handshake.de
Fri, 8 Feb 2002 23:10:48 +0100


Marius Gedminas writes:
 > We are using ZUnit for our automated unit test suite....
 > However we are now planning to switch to the new API (SecurityGetUser
 > etc.), and it is unclear how we can substitute a different user object
 > in our tests.
Look at "AccessControl.SecurityManagement.newSecurityManager".


Dieter