First attempt at moving to Spring Boot 2

This commit is contained in:
Nanne Baars
2019-09-12 17:22:03 +02:00
parent a56f41e0ea
commit 361249c666
33 changed files with 271 additions and 398 deletions

View File

@ -1,7 +1,6 @@
package org.owasp.webgoat.plugin;
import org.owasp.webgoat.assignments.Endpoint;
import org.owasp.webgoat.session.UserSessionData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
@ -12,7 +11,6 @@ import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
@ -46,7 +44,7 @@ import java.util.Map;
* @since January 3, 2017
*/
public class IDORViewOwnProfile extends Endpoint{
public class IDORViewOwnProfile {
@Autowired
UserSessionData userSessionData;
@ -74,8 +72,8 @@ public class IDORViewOwnProfile extends Endpoint{
return details;
}
@Override
public String getPath() {
return "/IDOR/profile";
}
// @Override
// public String getPath() {
// return "/IDOR/profile";
// }
}