Subversion Repositories general

Compare Revisions

Regard whitespace Rev 1043 → Rev 1044

/hostadmiral/trunk/src/ak/hostadmiral/core/model/UserManager.java
21,6 → 21,7
UserDeletingListener
{
private UserStore store;
private UserValidator userValidator;
 
private Collection createdListeners = new ArrayList();
private Collection modifiedListeners = new ArrayList();
99,6 → 100,9
throw new ModelSecurityException();
}
 
if(userValidator != null)
userValidator.validateUser(editor, user);
 
boolean isNew = user.isNew();
 
//user.setModUser(editor); // FIXME: disabled because hb throws exception
375,7 → 379,13
 
Class c = Class.forName((String)params.get("store"));
store = (UserStore)c.newInstance();
 
String userValidatorName = (String)params.get("userValidator");
if(userValidatorName != null) {
Class c2 = Class.forName(userValidatorName);
userValidator = (UserValidator)c2.newInstance();
}
}
catch(Exception ex) {
throw new ModelException(ex);
}