powered by Jive Software

Locked out accounts cache

Can someone tell me what property corresponds to the Locked out accounts cache size and lifetime? I found no information on the forum (maybe this doc should be completed: http://www.igniterealtime.org/community/docs/DOC-1673).

I need to set this cache size to 0 because I set the locks directly in the mySQL database and it has to take effect immediately.

Thank you for your help.

Chanlô

Hi,

I assume that this is stored in the user table, so the user cache may be the rigth one. Testing this may be more easy than looking up the source code.

LG

LG, in fact the lockout status of the user accounts are stored in the ofuserflag table. And in the cache summary page in the admin console there is a special cache for locked out accounts, that is totally different from the user cache (see attached image).

Hi,

so http://www.igniterealtime.org/fisheye/browse/svn-org/openfire/trunk/src/java/org /jivesoftware/util/cache/CacheFactory.java?r=11608 should help you. It seems to contain all cache names, also “cache.lockOutCache.”.

LG

Thank you very muche for your help LG. I found the corresponding properties in the source code you posted the link to.

The properties to change the locked out accounts cache are:

 _ cache.lockOutCache.maxLifetime

 _ cache.lockOutCache.size