@Action( value = "/admin/selectSystemsForCompositeTerms", results = {@Result(name = "success", location = "/admin/secure_shell.jsp")}) public String selectSystemsForCompositeTerms() { Long userId = AuthUtil.getUserId(servletRequest.getSession()); // exit any previous terms exitTerms(); if (systemSelectId != null && !systemSelectId.isEmpty()) { SystemStatusDB.setInitialSystemStatus(systemSelectId, userId); pendingSystemStatus = SystemStatusDB.getNextPendingSystem(userId); AuthUtil.setSessionId(servletRequest.getSession(), SessionAuditDB.createSessionLog(userId)); } return SUCCESS; }