Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ public void handleRequest(WebSession s)
{
// Here is where dispatching to the various action handlers happens.
// It would be a good place verify authorization to use an action.
public void handleRequest(WebSession s) {
If(!isAuthorized(s, userId, requestedActionname){
throw new UnauthorizedException();
}
}

// System.out.println("RoleBasedAccessControl.handleRequest()");
if (s.getLessonSession(this) == null) {
Expand Down