logo       
Google Custom Search
    AddThis Social Bookmark Button

RE: isNewLogin?: msg#00052

Subject: RE: isNewLogin?
> -----Original Message-----
> From: liveuser-bounces-jG1DcbwcvVYUuug7z7PF4w@xxxxxxxxxxxxxxxx 
> [mailto:liveuser-bounces-jG1DcbwcvVYUuug7z7PF4w@xxxxxxxxxxxxxxxx] On Behalf 
> Of Markus Wolff
> Sent: Friday, February 28, 2003 10:03 AM
> To: Discussion of features and further development for PEAR::LiveUser
> Subject: Re: [LiveUser] isNewLogin?
> 
> 
> Am Fri, 28 Feb 2003 09:24:13 +0100 schrieb Björn Kraus 
> <bjoernkraus-S0/GAf8tV78@xxxxxxxxxxxxxxxx>:
> 
> > I'm using liveuser in this stage for a small backoffice with only a 
> > couple of users, so there are no critical processes to 
> protect ;-) I 
> > wondered how I can force the auth part to update users 
> lastLoginTime 
> > each time the user logs is (IMHO it looks nicer). So I check 
> > Auth/Common.php and found $loginTimeout = 12. There is no 
> possibility 
> > to change this value,
> > because:
> > 1. you can't configure it in an XML file.
> 
> Whoops, I simply must have overlooked it. It should 
> definitely be configurable.
> 
> 
> > 2. you only can change the value by accessing 
> > $LoMA->user->loginTimeout - BUT if you call $LoMa->init() to set up 
> > $user the hole auth thing is done
> > 
> > Ergo: Any suggestions to customize this?
> 
> Only one: loginTimeout needs to be added to the configuration 
> options the LoginManager can use.

I took a look at the Auth/Common.php. There are two other options that
should be configurable: allowDuplicateHandles and passwordEncryptionMode.
The question is: How should this be done? Shall I move this three (+
loginTimeout) vars into the LoMa and extend the auth functions for these
params or shall I just read the config, store the vars temporally in the
LoMa and set it for the auth class in LoMa's init process?

Suggestions are welcomed.

Regards
Björn

> 
> Regards,
>   Markus
> 
> -- 
> *21st Media*    | Consulting, Konzeption, Produktion für die Bereiche:
> Markus Wolff    | Internet, Intranet, eCommerce, Content Management,
> Hamburg,Germany | Softwareentwicklung, 3D-Animation, 
> Videostreaming http://21st.de  | Tel. [+49](0)40/6887949-0, 
> Fax: [+49](0)40/6887949-1
> 
> 
> _______________________________________________
> LiveUser mailing list
> LiveUser-jG1DcbwcvVYUuug7z7PF4w@xxxxxxxxxxxxxxxx 
> http://mailman.21st-> hq.de/mailman/listinfo/liveuser
> 



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>