boolean autoe = false;
if (bean.getAutoE().compareTo("1")==0) {
autoe = true;</BUG>
}
<BUG>rna.setAutoEnable(autoe);
RWSClientApi.createOrUpdateRWSAuthNode(cp,rna);
log().debug("AdminRancidCloginController ModelAndView onSubmit changes submitted");</BUG>
String redirectURL = request.getHeader("Referer");
response.sendRedirect(redirectURL);
return super.onSubmit(request, response, command, errors);

InventoryService m_inventoryService;
RWSConfig m_rwsConfig;
protected ModelAndView onSubmit(HttpServletRequest request, HttpServletResponse response,
Object command, BindException errors) throws ServletException, IOException, Exception {
log().debug("AdminRancidCloginController ModelAndView onSubmit");
AdminRancidCloginCommClass bean = (AdminRancidCloginCommClass) command;
boolean done = m_inventoryService.updateClogin(bean.getDeviceName(), bean.getGroupName(), bean.getUserID(), bean.getPass(),
bean.getEnpass(), bean.getLoginM(), bean.getAutoE());
if (!done){
log().debug("AdminRancidCloginController error on submitting cLogin changes");
}
String redirectURL = request.getHeader("Referer");
response.sendRedirect(redirectURL);
return super.onSubmit(request, response, command, errors);
