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. chtit-app-1.0-j2ee.war
          5.05 MB
          Ilia Vassilev
        2. roles.properties
          0.0 kB
          Saurabh Shriramwar
        3. standalone.xml
          31 kB
          Saurabh Shriramwar
        4. UploadController.java
          2 kB
          Saurabh Shriramwar
        5. UploadDocumentDTO.java
          0.6 kB
          Saurabh Shriramwar
        6. users.properties
          0.0 kB
          Saurabh Shriramwar

              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: