protected void onFormSubmit(GeoServerUserGroup group) throws IOException {
GeoServerUserGroupStore store=null;
try {
store = new UserGroupStoreValidationWrapper(getUserGroupStore(userGroupServiceName));
group = store.createGroupObject(group.getGroupname(),group.isEnabled());
store.addGroup(group);
store.store();
} catch (IOException ex) {
try {
store.load();
} catch (IOException ex2) {};