File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
QueueIT.Security.Examples/web
QueueIT.Security/src/queueit/security Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 33<%@page contentType =" text/html" pageEncoding =" UTF-8" %>
44<%@taglib prefix =" t" tagdir =" /WEB-INF/tags" %>
55<%
6- String queueName = request. getParameter(" queuename" );
6+ // IMPORTANT !
7+ // Never call request validation from error handling pages (e.g. error.jsp) which will cause users to get looped arround.
8+
9+ String queueName = request. getParameter(" queuename" );
710 URI targetUrl = new URI (request. getParameter(" t" ));
811 IQueue queue = QueueFactory . createQueue(queueName);
912 String cancelUrl = queue. getCancelUrl(targetUrl). toString();
Original file line number Diff line number Diff line change 99
1010public class SessionValidationController {
1111
12- private static int defaultTicketExpiration = 0 ;
12+
13+ // IMPORTANT !
14+ // Never call request validation from error handling pages (e.g. error.jsp) which will cause users to get looped arround.
15+
16+
17+ private static int defaultTicketExpiration = 0 ;
1318 private static IValidateResultRepository defaultValidationResultRepository = new CookieValidateResultRepository ();
1419 private static Callable <IValidateResultRepository > defaultValidationResultProviderFactory = new Callable <IValidateResultRepository >() {
1520 public IValidateResultRepository call () {
You can’t perform that action at this time.
0 commit comments