File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/test/java/org/springframework/data/redis/test Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 2020 <awaitility >4.0.2</awaitility >
2121 <jta >1.1</jta >
2222 <beanutils >1.9.2</beanutils >
23- <xstream >1.4.17 </xstream >
23+ <xstream >1.4.18 </xstream >
2424 <pool >2.7.0</pool >
2525 <lettuce >6.0.7.RELEASE</lettuce >
2626 <jedis >3.3.0</jedis >
Original file line number Diff line number Diff line change 1818import org .springframework .data .redis .serializer .OxmSerializer ;
1919import org .springframework .oxm .xstream .XStreamMarshaller ;
2020
21+ import com .thoughtworks .xstream .security .AnyTypePermission ;
22+
2123/**
2224 * @author Mark Paluch
2325 */
@@ -31,6 +33,7 @@ private XstreamOxmSerializerSingleton() {
3133
3234 // XStream serializer
3335 XStreamMarshaller xstream = new XStreamMarshaller ();
36+ xstream .getXStream ().addPermission (AnyTypePermission .ANY );
3437 try {
3538 xstream .afterPropertiesSet ();
3639 } catch (Exception ex ) {
You can’t perform that action at this time.
0 commit comments