Restructured the baseline to remove extra src/main directory structure. Added eclipes project file
git-svn-id: http://webgoat.googlecode.com/svn/branches/webgoat-6.0@485 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
@ -0,0 +1,29 @@
|
||||
|
||||
package org.owasp.webgoat.lessons.GoatHillsFinancial;
|
||||
|
||||
import org.owasp.webgoat.session.ParameterNotFoundException;
|
||||
import org.owasp.webgoat.session.UnauthenticatedException;
|
||||
import org.owasp.webgoat.session.UnauthorizedException;
|
||||
import org.owasp.webgoat.session.ValidationException;
|
||||
import org.owasp.webgoat.session.WebSession;
|
||||
|
||||
|
||||
public interface LessonAction
|
||||
{
|
||||
public void handleRequest(WebSession s) throws ParameterNotFoundException, UnauthenticatedException,
|
||||
UnauthorizedException, ValidationException;
|
||||
|
||||
public String getNextPage(WebSession s);
|
||||
|
||||
public String getActionName();
|
||||
|
||||
public boolean requiresAuthentication();
|
||||
|
||||
public boolean isAuthenticated(WebSession s);
|
||||
|
||||
public boolean isAuthorized(WebSession s, int employeeId, String functionId);
|
||||
|
||||
public int getUserId(WebSession s) throws ParameterNotFoundException;
|
||||
|
||||
public String getUserName(WebSession s) throws ParameterNotFoundException;
|
||||
}
|
Reference in New Issue
Block a user