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

Details

    • +
    • 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:

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: