String rawPassword = null;
String encPassword = null;
try {
rawPassword = mEncoder.decode(user.getPassword());
encPassword= encoder.encodePassword(rawPassword, null);
} catch (UnsupportedOperationException ex) {
LOGGER.warning("Cannot recode user: "+user.getUsername()+" password: "+user.getPassword());
encPassword=user.getPassword();
}
GeoServerUser newUser = store.createUserObject(user.getUsername(),encPassword, user.isEnabled());