Uploaded image for project: 'WINDUPRULE - Red Hat Application Migration Toolkit rules'
  1. WINDUPRULE - Red Hat Application Migration Toolkit rules
  2. WINDUPRULE-307 JAX-RS and RESTEasy Application Changes in JBoss EAP 7
  3. WINDUPRULE-316

Create new rule for warning about disabled org.jboss.resteasy.plugins.providers.SerializableProvider

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.Final
    • None
    • EAP70 -> EAP71
    • None
    • Sprint 38

      Resteasy in EAP 7.1 has got disabled by default
      org.jboss.resteasy.plugins.providers.SerializableProvider

      So if there is used with application/x-java-serialized-object media type like

       @Produces("application/x-java-serialized-object")
       @Consumes("application/x-java-serialized-object")
      

      and you need to use it, you need to put that provider into
      META-INF/services/javax.ws.rs.ext.Providers file

      but warn user that it is Security issue to use it.
      link http://docs.jboss.org/resteasy/docs/3.1.2.Final/javadocs/org/jboss/resteasy/plugins/providers/SerializableProvider.html

              mnovotny@redhat.com Marek Novotny
              mnovotny@redhat.com Marek Novotny
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: