git-svn-id: http://webgoat.googlecode.com/svn/trunk@6 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
@ -0,0 +1,27 @@
|
||||
package org.owasp.webgoat.lessons;
|
||||
|
||||
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