Implemented lesson information which gives a mapping between the menu and the actual WebGoat-Lessons project.

This commit is contained in:
Nanne Baars
2015-10-04 11:51:27 +02:00
parent a6a1b32939
commit e1829e209c
2 changed files with 165 additions and 1 deletions

View File

@ -235,7 +235,7 @@ public class Course {
* @param role a {@link java.lang.String} object.
* @return a {@link java.util.List} object.
*/
public List getLessons(WebSession s, String role) {
public List<AbstractLesson> getLessons(WebSession s, String role) {
List<String> roles = new ArrayList<String>();
roles.add(role);
return getLessons(s, roles);