[Zope-PAS] PAS instance

Jeff Peterson jpeterso at crary.com
Wed Jun 28 11:39:50 EDT 2006


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 at 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. 

TIA,

-- 
Jeffrey D Peterson

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jpeterso.vcf
Type: text/x-vcard
Size: 294 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-pas/attachments/20060628/479b8ad6/jpeterso.vcf


More information about the Zope-PAS mailing list