File upload fails when PicketLink SSO is enabled in JBoss EAP 7

Solution Unverified - Updated -

Issue

  • File Upload Fails with IllegalStateException reported in the logs:

    java.lang.IllegalStateException: UT000017: Form value is a file, use getFileItem() instead
        at io.undertow.server.handlers.form.FormData$FormValueImpl.getValue(FormData.java:304) ~[undertow-core-2.0.20.Final-redhat-00001.jar!/:2.0.20.Final-redhat-00001]
        at org.picketlink.identity.federation.bindings.wildfly.sp.SPFormAuthenticationRequestWrapper.getParameter(SPFormAuthenticationRequestWrapper.java:73) ~[picketlink-wildfly8-2.5.5.SP12-redhat-00005.jar!/:2.5.5.SP12-redhat-00005]
    ...
    
  • File upload (multipart) fails with sizes around or over 20Kb

Environment

  • Red Hat JBoss Enterprise Application Platform (JBoss EAP)
    • 7.1.2 or later
  • Security Assertion Markup Language (SAML)
  • Picketlink as SAML Service Provider (SP)
  • File Upload

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In