Re: Ideas on Auth, pls advise

From: Date: Mon, 08 Sep 2003 16:35:26 +0000
Subject: Re: Ideas on Auth, pls advise
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-21191@lists.php.net to get a copy of this message
> -----Original Message----- > From: Yavor Shahpasov [mailto:yavo@siava.org] > Sent: Monday, September 08, 2003 6:55 AM > To: jsWalter > Cc: pear-dev@lists.php.net > Subject: Re: [PEAR-DEV] Ideas on Auth, pls advise > > > Hello, > > that is usefull functionality indeed <login attempt limit>, Thanks. I have it fully functional in my EXTENDED Class of Auth. You can see my code at... http://www.braverock.com/cvs/index.cgi/authUser/Auth/AuthUser.php This Class does... - gets|sets Login Attempt limit. if ZERO (default) no limit - does a preliminary addUser check before adding user, via listUsers. this is being re-thought through since many containers do not have that method - newPassword(), this can now update the password for auth-ed user. current version only handle DB, but expanding it to handle other containers that should be able to change the password. Certain containers should not be allowed to change the password outside their original system. i.e. IMAP, POP3, etc - get|setAttributes() working on this for DB right now, will expand to FILE as well. The other containers should not have that ability. - there are a few other "features" I have shelled out for but have not worked on. The source file documents what my intentions are. > > I have just added a new callback to auth, failedLoginCallback <snip> Thanks, I'll check it out and work this it, Thanks > I have also modified all callbacks to send a second argument a reference > to the auth object, so you can access whatever you need there, without > having to hack on he main class. Sounds like a good idea! > I think it should be easy to do what you are trying to that way. wasn't too hard. finished it a just over a days work. > Check out the latest CVS copy and give it a try. You bet, do it right now! Thanks Walter

« previous php.pear.dev (#21191) next »