[Zope] Trouble calling external method from userAuthenticate in GUF

Stuart 'Zen' Bishop zen@cs.rmit.edu.au
Wed, 1 Dec 1999 11:15:03 +1100 (EST)


On Tue, 30 Nov 1999, Andres Corrada wrote:

> 	Here I am banging my head on the wall once again. Zope treats me so
> cruelly, it entices me with goodies but just when the plum is in my
> hand...it vanishes. I'm now trying to use GenericUserFolder to do a
> complex authentication procedure on a "members" page. I've wrapped
> GUF.userAuthenticate around an external method that resides in the
> acl_users folder, but Zope refuses to acknowledge the existence of the
> method.

Make sure:
    You can call the external method successfully when logged on as Manager

    You can call the userAuthenticate method successfully when 
    logged on as Manager

    You have given userAuthenticate a proxy role of 'Manager' (or whatever
    is appropriate)

You can also start up Zope in debugging mode and watch the console
for messages like 'userAuthenticate raised an exception'.

If all this fails, you may have found a bug so let me know.

-- 
 ___
   //     Zen (alias Stuart Bishop)     Work: zen@cs.rmit.edu.au
  // E N  Senior Systems Alchemist      Play: zen@shangri-la.dropbear.id.au
 //__     Computer Science, RMIT 	 WWW: http://www.cs.rmit.edu.au/~zen