On _EAP 7.1.5 _ the application attached is getting an empty list of files in [i.] when a file is uploaded with the SSO enabled.
i. com.stva.chtitwebapp.web.internal.MultipartMap
public class MultipartMap extends HashMap<String, Object> { /** * Global constructor. */ private MultipartMap(HttpServletRequest multipartRequest, String location, boolean multipartConfigured) throws ServletException, IOException { multipartRequest.setAttribute(ATTRIBUTE_NAME, this); this.encoding = multipartRequest.getCharacterEncoding(); if (this.encoding == null) { multipartRequest.setCharacterEncoding(this.encoding = DEFAULT_ENCODING); } this.location = location; this.multipartConfigured = multipartConfigured; for (Part part : multipartRequest.getParts()) { // ======> multipartRequest.getParts() is an empty list String filename = getFilename(part); if (filename == null) { processTextPart(part); } else if (!filename.isEmpty()) { processFilePart(part, filename); } } } }
Attached two logs:
- SSO-disabled.txt - TRACE with SSO disabled
- SSO-enabled.txt - TRACE with SSO enabled
Some libraries from _ io.undertow are_ not loaded during the file upload when the SSO is enabled and the logs shows:
- SSO enabled shows:
10:20:14,656 INFO [stdout] (default task-9) File: null
- SSO disabled shows:
14:05:51,833 INFO [stdout] (default task-3) File: /tmp/upload/Kotak_1351265510350343094.PNG
- clones
-
JBEAP-16157 [GSS](7.1.z) File UploadMultipart does not work when SSO is enabled
- Closed
- incorporates
-
ELYWEB-36 ElytronHttpExchange.getRequestParameters() is prematurely readying the request.
- Resolved
-
JBEAP-16157 [GSS](7.1.z) File UploadMultipart does not work when SSO is enabled
- Closed
- is incorporated by
-
JBEAP-16276 (7.2.z) Upgrade elytron-web from 1.2.3.Final to 1.2.4.Final
- Closed
- relates to
-
JBEAP-17467 [GSS](7.2.z) WFLY-12569 - File UploadMultipart does not work when PicketLink SSO is enabled
- Closed
- links to