try {
AuthRealm realm = (AuthRealm) rr_realm.lock();
Enumeration e = realm.enumerateUserNames() ;
while (e.hasMoreElements()) {
String uname = (String) e.nextElement() ;
ResourceReference rr_user = realm.loadUser(uname) ;
try {
AuthUser user = (AuthUser) rr_user.lock();
createEntry(user);
} catch (InvalidResourceException ex) {
System.out.println("Invalid user reference : "+uname);