'fortify issue Dynamic Code Evaluation: Unsafe Deserialization in line class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter"

HTTPInvokerServiceExporter exposing TestService methods.

<bean id="testService" class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
       <property name="serviceInterface" value="example.TestService"/>
       <property name="service" ref="testService"/>
    </bean>

how to fix this issue?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source