* This file is part of WebGoat, an Open Web Application Security Project utility. For details,
* please see http://www.owasp.org/
- *
+ *
* Copyright (c) 2002 - 20014 Bruce Mayhew
- *
+ *
* This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License along with this program; if
* not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
- *
+ *
* Getting Source ==============
- *
+ *
* Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software
* projects.
*
* @author Bruce Mayhew WebGoat
- * @since October 28, 2003
* @version $Id: $Id
+ * @since October 28, 2003
*/
public abstract class AbstractLesson extends Screen implements Comparable
*
@@ -383,9 +386,9 @@ public abstract class AbstractLesson extends Screen implements ComparableReturns the default "path" portion of a lesson's URL.
- *
- *
+ *
+ *
* Legacy webgoat lesson links are of the form
* "attack?Screen=Xmenu=Ystage=Z". This method returns the path portion of
* the url, i.e., "attack" in the string above.
- *
+ *
* Newer, Spring-Controller-based classes will override this method to
* return "*.do"-styled paths.
*
@@ -630,7 +635,7 @@ public abstract class AbstractLesson extends Screen implements Comparable
* Rendering the link in the browser may result in Javascript sending
* additional requests to perform necessary actions or to obtain data
* relevant to the lesson or the element of the lesson selected by the
@@ -645,13 +650,13 @@ public abstract class AbstractLesson extends Screen implements Comparable
* Unlike getLink() this method does not require rendering the output of
* the request to the link in order to execute the servlet's method with
* conventional HTTP query parameters.
@@ -662,8 +667,8 @@ public abstract class AbstractLesson extends Screen implements ComparablesetCurrentAction.
*
- * @param s a {@link org.owasp.webgoat.session.WebSession} object.
+ * @param s a {@link org.owasp.webgoat.session.WebSession} object.
* @param lessonScreen a {@link java.lang.String} object.
*/
public abstract void setCurrentAction(WebSession s, String lessonScreen);
@@ -711,7 +716,7 @@ public abstract class AbstractLesson extends Screen implements ComparableSetter for the field lessonPlanFileName.
*
- * @param lang a {@link java.lang.String} object.
+ * @param lang a {@link java.lang.String} object.
* @param lessonPlanFileName a {@link java.lang.String} object.
*/
public void setLessonPlanFileName(String lang, String lessonPlanFileName) {
@@ -999,6 +1004,4 @@ public abstract class AbstractLesson extends Screen implements ComparableGetter for the field personName.
- *
- * @return a {@link java.lang.String} object.
- */
- public String getPersonName() {
- return personName;
- }
-
- /**
- *
Setter for the field personName.
- *
- * @param personName a {@link java.lang.String} object.
- */
- public void setPersonName(String personName) {
- this.personName = personName;
- }
-}
diff --git a/webgoat-container/src/main/java/org/owasp/webgoat/lessons/model/SourceListing.java b/webgoat-container/src/main/java/org/owasp/webgoat/lessons/model/SourceListing.java
deleted file mode 100644
index 0e7e3272c..000000000
--- a/webgoat-container/src/main/java/org/owasp/webgoat/lessons/model/SourceListing.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package org.owasp.webgoat.lessons.model;
-
-/**
- *
- *
- * @param source the source to set
- */
- public void setSource(String source) {
- this.source = source;
- }
-
-}
diff --git a/webgoat-container/src/main/java/org/owasp/webgoat/service/ApplicationService.java b/webgoat-container/src/main/java/org/owasp/webgoat/service/ApplicationService.java
deleted file mode 100644
index d05d5be84..000000000
--- a/webgoat-container/src/main/java/org/owasp/webgoat/service/ApplicationService.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- * *************************************************************************************************
- *
- *
- * This file is part of WebGoat, an Open Web Application Security Project
- * utility. For details, please see http://www.owasp.org/
- *
- * Copyright (c) 2002 - 20014 Bruce Mayhew
- *
- * This program is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
- * details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
- * Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * Getting Source ==============
- *
- * Source for this application is maintained at
- * https://github.com/WebGoat/WebGoat, a repository for free software projects.
- *
- */
-package org.owasp.webgoat.service;
-
-import org.owasp.webgoat.application.Application;
-import org.springframework.stereotype.Controller;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.ResponseBody;
-
-import javax.servlet.http.HttpSession;
-
-/**
- *