SessionFixation and TomcatSetup edited

git-svn-id: http://webgoat.googlecode.com/svn/trunk@333 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
wirth.marcel 2008-04-14 07:50:12 +00:00
parent 11fa11ec87
commit 40a997f6be
2 changed files with 11 additions and 3 deletions

View File

@ -433,7 +433,15 @@ public class SessionFixation extends SequentialLessonAdapter
} }
} catch (Exception e) } catch (Exception e)
{ {
createLogInContent(ec, ""); if((name+password).equals(""))
{
createLogInContent(ec, "");
}
else
{
createLogInContent(ec, "Login Failed! Make sure user name and password is correct!");
}
} }
return ec; return ec;

View File

@ -63,7 +63,7 @@ public class TomcatSetup extends LessonAdapter
return Category.INTRODUCTION; return Category.INTRODUCTION;
} }
private final static Integer DEFAULT_RANKING = new Integer(9); private final static Integer DEFAULT_RANKING = new Integer(11);
protected Integer getDefaultRanking() protected Integer getDefaultRanking()
{ {
@ -77,7 +77,7 @@ public class TomcatSetup extends LessonAdapter
*/ */
public String getTitle() public String getTitle()
{ {
return ("Tomcat Setup"); return ("Tomcat Configuration");
} }
public Element getCredits() public Element getCredits()