[Yanel-dev] Caching of users

Michael Wechner michael.wechner at wyona.com
Thu Nov 8 15:55:20 CET 2007


Michael Wechner wrote:

> Hi
>
> I have taken a closer look at
>
> src/impl/java/org/wyona/security/impl/yarep/YarepUserManager.java
>
> and agree that caching makes a lot of sense, but I think we need to 
> refactor the implementation, which means the exists method should 
> check within the cache, but also within the repo and if the user does 
> not exist within the cache, but only within the repo, then the cache 
> should be redone.


This is has now been implemented within SVN

>
> Also one might to think about introducing an API to invalidate such a 
> implementation specific cache and also to introduce a lastModified 
> method,
> whereas I am not sure if one can check LDAP re lastModifieds


The security package has now additional iterfaces where one can set 
refresh true and is now for instance used within the YanelServlet.

Cheers

Michi

>
> WDYT?
>
> Cheers
>
> Michi
>


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



More information about the Yanel-development mailing list