File tree 2 files changed +4
-1
lines changed
src/test/java/org/springframework/data/redis/test
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 20
20
<awaitility >4.0.2</awaitility >
21
21
<jta >1.1</jta >
22
22
<beanutils >1.9.2</beanutils >
23
- <xstream >1.4.17 </xstream >
23
+ <xstream >1.4.18 </xstream >
24
24
<pool >2.7.0</pool >
25
25
<lettuce >6.0.7.RELEASE</lettuce >
26
26
<jedis >3.3.0</jedis >
Original file line number Diff line number Diff line change 18
18
import org .springframework .data .redis .serializer .OxmSerializer ;
19
19
import org .springframework .oxm .xstream .XStreamMarshaller ;
20
20
21
+ import com .thoughtworks .xstream .security .AnyTypePermission ;
22
+
21
23
/**
22
24
* @author Mark Paluch
23
25
*/
@@ -31,6 +33,7 @@ private XstreamOxmSerializerSingleton() {
31
33
32
34
// XStream serializer
33
35
XStreamMarshaller xstream = new XStreamMarshaller ();
36
+ xstream .getXStream ().addPermission (AnyTypePermission .ANY );
34
37
try {
35
38
xstream .afterPropertiesSet ();
36
39
} catch (Exception ex ) {
You can’t perform that action at this time.
0 commit comments