if (checkAuthorized(request, response, false)) {
// set access for each project
String currentUser = (String) request.getSession(true).getAttribute("username");
Collection projects = Project.getAllProjects();
for (Iterator i = projects.iterator(); i.hasNext();) {
ProjectDTO projectDTO = (ProjectDTO)i.next();
(new Project(projectDTO)).loadSecurity(currentUser);
}
request.setAttribute("projects", projects);
return mapping.findForward(Constants.FORWARD_NAME_AUTHORIZED);