· 7 years ago · Sep 08, 2018, 08:08 PM
1UserService.createLoginURL creates the URL in such a way that the second and third parameters in the destinationURL are lost
2userService.createLoginURL("/mypage.jsp?p1=a&p2=b&p3=c", null,
3"gmail.com", new HashSet<String>());
4
5<security-constraint>
6 <web-resource-collection>
7 <web-resource-name>mypage</web-resource-name>
8 <url-pattern>/mypage.jsp</url-pattern>
9 </web-resource-collection>
10 <auth-constraint>
11 <role-name>*</role-name>
12 </auth-constraint>
13</security-constraint>
14
15mypage.jsp?p1=a%26p2=b%26p3=c