-
1. Re: Undertow (Wildfly8) doesn't handle request parameters as expected
jaikiran Oct 9, 2014 12:54 AM (in response to quvad)Being discussed here http://www.coderanch.com/t/640648/JBoss/Undertow-Wildfly-doesn-handle-request too
-
2. Re: Undertow (Wildfly8) doesn't handle request parameters as expected
quvad Oct 9, 2014 11:02 AM (in response to quvad)Additional info 1:
Chain of calls is the following (assume basic auth):
1. Call with js to url './client/boom/index.htm?i=1'.
2. Flow doesn't come to subclass of UsernamePasswordLoginModule because authorization required.
3. Flow comes to the error-servlet with
httpServletRequest.getAttribute("javax.servlet.error.status_code") == 401
httpServletRequest.getAttribute("javax.servlet.error.message") == Unauthorized
Here, in the error-servlet I need to get parameter i.Additional info 2:
According to https://issues.jboss.org/browse/UNDERTOW-322 I replaced modules websockets-jsr, servlet and core of Undertow by the newest version 1.2.0-Beta1. It did not fix the issue.
-
3. Re: Undertow (Wildfly8) doesn't handle request parameters as expected
quvad Oct 10, 2014 4:52 AM (in response to quvad)Update. The list of attributes in error servlet is different in EAP6 and WF8
Attributes in WF8:
javax.servlet.error.message: Unauthorized
javax.servlet.error.status_code: 401
javax.servlet.error.servlet_name: default
javax.servlet.error.request_uri: /boom-portal/client/boom/index.htm
Attributes in EAP6:
javax.servlet.forward.request_uri: /boom-portal/client/boom/index.htm
javax.servlet.forward.context_path: /boom-portal
javax.servlet.forward.servlet_path: /client/boom/index.htm
javax.servlet.forward.path_info: /Error.error
javax.servlet.forward.query_string: i=1
javax.servlet.error.message:
javax.servlet.error.status_code: 401
javax.servlet.error.servlet_name: default
javax.servlet.error.request_uri: /boom-portal/client/boom/index.htm
Any idea why 'forward'-attributes are missing in WF8?