Re: [Zope-PAS] New to PAS

2006-06-27 Thread Andreas Pauley
Jeff Peterson wrote: Chris McDonough wrote: I'm afraid there's nowhere to go from here except to read the existing plugins and peruse the interfaces to get a sense of what hooks your code needs to provide to be a PAS plugin. I searched a bit to try to find some example code that uses a

[Zope-PAS] Re: PAS instance

2006-06-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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 in

[Zope-PAS] PAS instance

2006-06-27 Thread Jeff Peterson
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 t

Re: [Zope-PAS] New to PAS

2006-06-27 Thread Jeff Peterson
Chris McDonough wrote: PAS makes no assumptions about where data exists. In most configurations, it creates a user object on the fly for each request which isn't persisted anywhere (IUserFactory). You can ideed prompt for a login (by writing an IChallengePlugin or using an existing one) an

Re: [Zope-PAS] New to PAS

2006-06-27 Thread Chris McDonough
PAS makes no assumptions about where data exists. In most configurations, it creates a user object on the fly for each request which isn't persisted anywhere (IUserFactory). You can ideed prompt for a login (by writing an IChallengePlugin or using an existing one) and gather the username a

[Zope-PAS] Re: New to PAS

2006-06-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff Peterson wrote: > Ok, > > After poking around PAS for a while I think I have a bit of a handle on it. > This seems to be built primarily for managing Zope users. My solution > needs to be able to manage a group of existing users not in Zope > cu

Re: [Zope-PAS] New to PAS

2006-06-27 Thread Jeff Peterson
Ok, After poking around PAS for a while I think I have a bit of a handle on it. This seems to be built primarily for managing Zope users. My solution needs to be able to manage a group of existing users not in Zope currently. Is this something that can be done? I know I can create SQL me

Re: [Zope-PAS] New to PAS

2006-06-27 Thread Jeff Peterson
Chris McDonough wrote: Jeff, FWIW, PAS is a framework, which is shorthand for "software that is meant to be built upon that is not documented very well" ;-) If you give us an idea of what you want to do, I'm sure somebody can point you in the right direction (even if the instruction is "look

Re: [Zope-PAS] New to PAS

2006-06-27 Thread Tino Wildenhain
Jeff Peterson wrote: > Hi all, > > Is there any localized documentation for using PAS? > > I read this one: > http://tech.canterburyschool.org/tech/UsingPluggableAuthentication and > that helped me to get it installed and give me the general idea that I > could use this. But some more specific d

Re: [Zope-PAS] New to PAS

2006-06-27 Thread Chris McDonough
Jeff, FWIW, PAS is a framework, which is shorthand for "software that is meant to be built upon that is not documented very well" ;-) If you give us an idea of what you want to do, I'm sure somebody can point you in the right direction (even if the instruction is "look at this source code

[Zope-PAS] New to PAS

2006-06-27 Thread Jeff Peterson
Hi all, Is there any localized documentation for using PAS? I read this one: http://tech.canterburyschool.org/tech/UsingPluggableAuthentication and that helped me to get it installed and give me the general idea that I could use this. But some more specific documentation would be nice. I l