[Yanel-dev] Loading of users

Michael Wechner michael.wechner at wyona.com
Sat May 5 20:27:04 CEST 2007


Josias Thöny wrote:

>On Mon, 2007-04-30 at 15:05 +0200, Michael Wechner wrote:
>  
>
>>Hi
>>
>>I have created a user from the command line and it seems that Yanel 
>>webapp needs to be restarted such that this
>>user is being available. I guess the security lib does handle this, right?
>>
>>Any idea why this is the case? Resp. I assume it's done on purpose in 
>>order to prevent something, right?
>>    
>>
>
>It loads the files only at startup and then works in-memory for
>performance reasons.
>  
>

why do you think there will be performance problems?
Do you think because of profile properties which could be used by every 
request?


>>What if we use LDAP and someone is editing users through some LDAP 
>>client instead through
>>the  Yanel security package?  I guess  we need  a way to notify the 
>>security package to reload?
>>    
>>
>
>I guess one would have to write a modified implementation of
>GroupManager and UserManager.
>  
>

What about introducing a "last-modified" and only checking this with 
every request and in case something has changed reload the user?

Cheers

Michi

>Josias
>
>  
>
>>Thanks
>>
>>Michi
>>
>>    
>>
>
>
>_______________________________________________
>Yanel-development mailing list
>Yanel-development at wyona.com
>http://wyona.com/cgi-bin/mailman/listinfo/yanel-development
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner at wyona.com                        michi at apache.org
+41 44 272 91 61




More information about the Yanel-development mailing list