Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-17804

[GSS](7.2.z) File UploadMultipart does not work for files greater than 10 kB with PicketLink SSO is enabled

XMLWordPrintable

    • +
    • Hide
      • Unzip a fresh installation of the JBoss EAP 7.2.3 and apply one-off patch from JBEAP-17609
      • Copy the attached standalone.xml, properties files and into the $JBOSS_HOME/standalone/configuration.
      • Start the JBoss and deploy the attached applications modified to work with PicketLink.
      • Open a private windows of the browser and open the link: http://localhost:8080//ReferenceCodeMapper70
      • Login in the application using user: jboss and pass: jboss@123
      • Select a file size 20 kB and click on upload.
      • Test by uploading files less than 10 kB.

      Test with file size 20 kB:

      2019-10-17 08:06:11,097 INFO  [stdout] (default task-1) IN File Upload !
      2019-10-17 08:06:11,099 INFO  [stdout] (default task-1) File is NULL
      2019-10-17 08:06:11,099 INFO  [stdout] (default task-1) filename attribute from DTO:GreaterThan10KFileUpload.log
      

      Test with files less than 10 kB:

      2019-10-17 08:17:07,674 INFO  [stdout] (default task-1) IN File Upload !
      2019-10-17 08:17:07,675 INFO  [stdout] (default task-1) File is NOT NULL
      2019-10-17 08:17:07,675 INFO  [stdout] (default task-1) filename attribute from DTO:host-slave.xml
      2019-10-17 08:17:07,676 INFO  [stdout] (default task-1) file attribute from DTO:host-slave.xml
      2019-10-17 08:17:07,676 INFO  [stdout] (default task-1) After else:
      
      Show
      Unzip a fresh installation of the JBoss EAP 7.2.3 and apply one-off patch from JBEAP-17609 Copy the attached standalone.xml, properties files and into the $JBOSS_HOME/standalone/configuration. Start the JBoss and deploy the attached applications modified to work with PicketLink. Open a private windows of the browser and open the link: http://localhost:8080//ReferenceCodeMapper70 Login in the application using user: jboss and pass: jboss@123 Select a file size 20 kB and click on upload. Test by uploading files less than 10 kB. Test with file size 20 kB: 2019-10-17 08:06:11,097 INFO [stdout] (default task-1) IN File Upload ! 2019-10-17 08:06:11,099 INFO [stdout] (default task-1) File is NULL 2019-10-17 08:06:11,099 INFO [stdout] (default task-1) filename attribute from DTO:GreaterThan10KFileUpload.log Test with files less than 10 kB: 2019-10-17 08:17:07,674 INFO [stdout] (default task-1) IN File Upload ! 2019-10-17 08:17:07,675 INFO [stdout] (default task-1) File is NOT NULL 2019-10-17 08:17:07,675 INFO [stdout] (default task-1) filename attribute from DTO:host-slave.xml 2019-10-17 08:17:07,676 INFO [stdout] (default task-1) file attribute from DTO:host-slave.xml 2019-10-17 08:17:07,676 INFO [stdout] (default task-1) After else:

      The fix provided on the JBEAP-17467 for File UploadMultipart using PicketLink SSO (set up IDPs and SPs via the Federation Subsystem) does not work for files greater than 10 kB.

        1. users.properties
          0.0 kB
        2. UploadDocumentDTO.java
          0.6 kB
        3. UploadController.java
          2 kB
        4. standalone.xml
          31 kB
        5. roles.properties
          0.0 kB
        6. rcm.zip
          8.39 MB
        7. idp.zip
          156 kB
        8. chtit-app-1.0-j2ee.war
          5.05 MB

              rhn-support-ivassile Ilia Vassilev
              rhn-support-sshriram Saurabh Shriramwar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: