Minor changes... Tan gets now only updatet after it was correct
git-svn-id: http://webgoat.googlecode.com/svn/trunk@341 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
parent
2649bcb086
commit
314c350079
@ -416,20 +416,21 @@ public class InsecureLogin extends SequentialLessonAdapter
|
||||
Option httpOption = new Option();
|
||||
httpOption.addElement("HTTP");
|
||||
Option tcpOption = new Option();
|
||||
tcpOption.addElement("TCP");
|
||||
tcpOption.addElement("UDP");
|
||||
Option ipsecOption = new Option();
|
||||
ipsecOption.addElement("IPSEC");
|
||||
Option msnmsOption = new Option();
|
||||
msnmsOption.addElement("MSNMS");
|
||||
Option tlsOption = new Option();
|
||||
tlsOption.addElement("TLS");
|
||||
protocolSelect.addElement(httpOption);
|
||||
protocolSelect.addElement(ipsecOption);
|
||||
protocolSelect.addElement(msnmsOption);
|
||||
protocolSelect.addElement(tcpOption);
|
||||
protocolSelect.addElement(tlsOption);
|
||||
td4.addElement(protocolSelect);
|
||||
//div.addElement(new BR());
|
||||
|
||||
|
||||
//div.addElement(new BR());
|
||||
|
||||
div.addElement(selectTable);
|
||||
|
||||
div.addElement(new Input(Input.SUBMIT, "Submit", "Submit"));
|
||||
|
@ -380,7 +380,6 @@ public class MultiLevelLogin1 extends SequentialLessonAdapter
|
||||
ec.addElement(loginDiv);
|
||||
ec.addElement(createLogoutLink());
|
||||
|
||||
updateTan(getLoggedInUser(s), s);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -409,6 +408,7 @@ public class MultiLevelLogin1 extends SequentialLessonAdapter
|
||||
private void createSuccessfulLoginContent(WebSession s, ElementContainer ec)
|
||||
{
|
||||
|
||||
updateTan(getLoggedInUser(s), s);
|
||||
String userDataStyle = "margin-top:50px;";
|
||||
|
||||
Div userDataDiv = new Div();
|
||||
|
@ -383,7 +383,6 @@ public class MultiLevelLogin2 extends LessonAdapter
|
||||
ec.addElement(loginDiv);
|
||||
ec.addElement(createLogoutLink());
|
||||
|
||||
updateTan(user, s);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -404,7 +403,7 @@ public class MultiLevelLogin2 extends LessonAdapter
|
||||
|
||||
private void createSuccessfulLoginContent(WebSession s, ElementContainer ec, String user)
|
||||
{
|
||||
|
||||
updateTan(user, s);
|
||||
String userDataStyle = "margin-top:50px;";
|
||||
|
||||
Div userDataDiv = new Div();
|
||||
|
Loading…
x
Reference in New Issue
Block a user