protected void onFormSubmit(GeoServerUserGroup group) throws IOException {
GeoServerUserGroupStore store = null;
try {
if (hasUserGroupStore(userGroupServiceName)) {
store = new UserGroupStoreValidationWrapper(getUserGroupStore(userGroupServiceName));
store.updateGroup(group);
store.store();
};
} catch (IOException ex) {
try {
//try to reload the store