-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeff Peterson wrote: > Jeff Peterson wrote: >> So how do I get PAS to prompt for credentials? I created a PAS >> object, and inside that a scriptable plugin. Inside that a script >> called challenge and a loginForm which challenge redirects to for >> input, I set that as my interface and activated it. Then I went to >> the folder level and changed the permissions like I would for the >> userFolder to prompt for a user/pass but it just pulls up the acquired >> start page. >> >> What am I doing wrong? No errors are generated that I can see, but I >> am not getting to my login screen either. Should this work similarly >> to the standard user folder? Or, do I have to specifically call >> something? >> >> TIA, >> >> _______________________________________________ >> Zope-PAS mailing list >> Zope-PAS@zope.org >> http://mail.zope.org/mailman/listinfo/zope-pas >> > Hi all, > > Can the challenge method be overridden by a script(python) object in a > scriptable plugin? My thought was to write a script and redirect to my > login form. I get an error though about the arguments. It's looking > for request and response, and scripts already know about those > intrinsically. Passing them as arguments clears the error but the > script just hangs, so I am a little unsure what is happening.
Look at how the CookieAuthPlugin works (in fact, you might just use it). Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEorMW+gerLs4ltQ4RArxVAJwL4yu5jFnPXq6FYxnvs+MkiGxdAQCfTYbZ liIo4J8I+prQ44xd70cQSbw= =pFzt -----END PGP SIGNATURE----- _______________________________________________ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas