* javax.servlet.http.HttpServletRequest,
* javax.servlet.http.HttpServletResponse)
*/
public ActionForward create(ActionMapping mapping, ActionForm form,HttpServletRequest req, HttpServletResponse resp) {
UserSetEnterOrEditForm userSetEnterOrEditForm = (UserSetEnterOrEditForm) form;
Group group = this.getCurrentGroup(req);
UserSet userSet = new UserSet();
userSet.setGroup(group);
userSet.setDescription(userSetEnterOrEditForm.getDescription());
userSet.setName(userSetEnterOrEditForm.getUserSetName());
userSet.setHidden(userSetEnterOrEditForm.getHidden()==true?1:0);
checkAccessRights(req, userSet.getGroup());
UserSetManager userSetManager = new UserSetManager(locale,session);
userSetManager.createUserSet(userSet);
LOGGER.info("User " + req.getUserPrincipal().getName().toLowerCase() + ": Created user set `"+ userSet.getName() + "`" + " in group `" + group.getGroupname() + "`");
return mapping.findForward("created");
}