shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ludovic Garcia <ludovic.garci...@gmail.com>
Subject TextConfigurationRealm does not remove user - Patch included
Date Mon, 23 Jul 2012 10:33:40 GMT
I'm using a PropertiesRealm which reload users, and i find that users and/or
roles removed from the properties files are not removed from users / roles
DB in TextConfigurationRealm. 

I included a two patch that should correct it in two different ways.
This one stores users and roles before update, and remove items which was
not in the new properties file
http://shiro-developer.582600.n2.nabble.com/file/n7577577/SHIRO-TextConfigurationRealm-DIFF.txt
SHIRO-TextConfigurationRealm-DIFF.txt 

This patch simply clear users and roles before processing Roles and Users.
http://shiro-developer.582600.n2.nabble.com/file/n7577577/SHIRO-TextConfigurationRealm-DIFF-2.txt
SHIRO-TextConfigurationRealm-DIFF-2.txt 



--
View this message in context: http://shiro-developer.582600.n2.nabble.com/TextConfigurationRealm-does-not-remove-user-Patch-included-tp7577577.html
Sent from the Shiro Developer mailing list archive at Nabble.com.

Mime
View raw message