Skip to content

Commit 44a4c7f

Browse files
committed
upgrading to next snapshot version
1 parent 2b8037f commit 44a4c7f

File tree

16 files changed

+150
-25
lines changed

16 files changed

+150
-25
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ Retry Pattern allows to retry sending a failed request and it will only work wit
252252

253253
## Changes
254254
_______________________________
255-
Version Cybersource-sdk-java 6.2.12 (JUNE,2022)
255+
Version Cybersource-sdk-java 6.2.12 (JULY,2022)
256256
_______________________________
257257
1) Mitigation of Apache WSS4j Security Vulnerability (CVE-2016-1000343, CVE-2018-1000180).
258258
i) Updated Apache wss4j version from 1.6.19 to 2.4.1

java/pom.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,12 @@
244244
<groupId>org.apache.santuario</groupId>
245245
<artifactId>xmlsec</artifactId>
246246
<version>${xmlsec.version}</version>
247+
<exclusions>
248+
<exclusion>
249+
<artifactId>woodstox-core</artifactId>
250+
<groupId>com.fasterxml.woodstox</groupId>
251+
</exclusion>
252+
</exclusions>
247253
</dependency>
248254
<dependency>
249255
<groupId>org.apache.httpcomponents</groupId>
@@ -270,6 +276,42 @@
270276
<groupId>com.google.guava</groupId>
271277
<artifactId>guava</artifactId>
272278
</exclusion>
279+
<exclusion>
280+
<artifactId>cryptacular</artifactId>
281+
<groupId>org.cryptacular</groupId>
282+
</exclusion>
283+
<exclusion>
284+
<artifactId>opensaml-saml-impl</artifactId>
285+
<groupId>org.opensaml</groupId>
286+
</exclusion>
287+
<exclusion>
288+
<artifactId>opensaml-xacml-impl</artifactId>
289+
<groupId>org.opensaml</groupId>
290+
</exclusion>
291+
<exclusion>
292+
<artifactId>opensaml-xacml-saml-impl</artifactId>
293+
<groupId>org.opensaml</groupId>
294+
</exclusion>
295+
<exclusion>
296+
<artifactId>slf4j-api</artifactId>
297+
<groupId>org.slf4j</groupId>
298+
</exclusion>
299+
<exclusion>
300+
<artifactId>joda-time</artifactId>
301+
<groupId>joda-time</groupId>
302+
</exclusion>
303+
<exclusion>
304+
<artifactId>jasypt</artifactId>
305+
<groupId>org.jasypt</groupId>
306+
</exclusion>
307+
<exclusion>
308+
<artifactId>geronimo-javamail_1.4_mail</artifactId>
309+
<groupId>org.apache.geronimo.javamail</groupId>
310+
</exclusion>
311+
<exclusion>
312+
<artifactId>xmlsec</artifactId>
313+
<groupId>org.apache.santuario</groupId>
314+
</exclusion>
273315
</exclusions>
274316
</dependency>
275317
<dependency>

java/src/main/java/com/cybersource/ws/client/Utility.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ private Utility() {
4545
/**
4646
* Version number of this release.
4747
*/
48-
public static final String VERSION = "6.2.12";
48+
public static final String VERSION = "6.2.13";
4949
public static final String ORIGIN_TIMESTAMP = "v-c-client-iat";
5050
public static final String SDK_ELAPSED_TIMESTAMP = "v-c-client-computetime";
5151
public static final String RESPONSE_TIME_REPLY = "v-c-response-time";
@@ -54,7 +54,6 @@ private Utility() {
5454
public static final String AUTH_SERVICE = "ccAuthService";
5555
public static final String AUTH_SERVICE_XML_RUN_ATT = "run";
5656
public static final String AUTH_SERVICE_NVP = "ccAuthService_run";
57-
5857
public static final String ELEM_MERCHANT_ID = "merchantID";
5958
public static final String KEY_ALIAS = "keyAlias";
6059
public static final String ELEM_MERCHANT_REFERENCE_CODE = "merchantReferenceCode";

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>com.cybersource</groupId>
1414
<artifactId>cybersource-sdk-master</artifactId>
15-
<version>6.2.12-SNAPSHOT</version>
15+
<version>6.2.13-SNAPSHOT</version>
1616
<name>cybersource-sdk-java-master</name>
1717
<packaging>pom</packaging>
1818

samples/nvp/compileSample.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
set LOCAL_CP=
44
rem ----------------------------------------------------------------------------
5-
rem Replace this with cybersource-sdk-java-6.2.12.jar when using Java SDK 1.6 or later.
5+
rem Replace this with cybersource-sdk-java-6.2.13.jar when using Java SDK 1.6 or later.
66
rem If using this scripts outside zip package then give maven clean install.
77
rem This will generate all required dependencies under target/dependencies.These dependencies are used in CLASSPATH.
88
rem ----------------------------------------------------------------------------
99

10-
if exist ../../lib set LOCAL_CP=%LOCAL_CP%;../../lib/cybersource-sdk-java-6.2.12.jar
10+
if exist ../../lib set LOCAL_CP=%LOCAL_CP%;../../lib/cybersource-sdk-java-6.2.13.jar
1111
if not exist ../../lib (
1212
if not exist target goto error
13-
set LOCAL_CP=%LOCAL_CP%;target/dependencies/cybersource-sdk-java-6.2.12.jar
13+
set LOCAL_CP=%LOCAL_CP%;target/dependencies/cybersource-sdk-java-6.2.13.jar
1414
)
1515

1616
if not exist classes mkdir classes

samples/nvp/compileSample.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
LOCAL_CP=
44
# -----------------------------------------------------------------------------
5-
# Replace this with cybersource-sdk-java-6.2.12.jar when using Java SDK 1.6 or later.
5+
# Replace this with cybersource-sdk-java-6.2.13.jar when using Java SDK 1.6 or later.
66
# If using this scripts outside zip package then give maven clean install.
77
# This will generate all required dependencies under target/dependencies.These dependencies are used in CLASSPATH.
88
# -----------------------------------------------------------------------------
99

1010
if test -d ../../lib
11-
then LOCAL_CP=$LOCAL_CP:../../lib/cybersource-sdk-java-6.2.12.jar
11+
then LOCAL_CP=$LOCAL_CP:../../lib/cybersource-sdk-java-6.2.13.jar
1212
fi
1313

1414
if test ! -d ../../lib
@@ -19,7 +19,7 @@ then
1919
echo "Execute maven clean install , This will generate all required dependencies under target/dependencies!!"
2020
exit 1
2121
fi
22-
LOCAL_CP=$LOCAL_CP:target/dependencies/cybersource-sdk-java-6.2.12.jar
22+
LOCAL_CP=$LOCAL_CP:target/dependencies/cybersource-sdk-java-6.2.13.jar
2323
fi
2424

2525
if test ! -d ./classes

samples/nvp/pom.xml

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<name>RunSample</name>
99
<url>http://maven.apache.org</url>
1010
<properties>
11-
<javasdk.version>[6.2.0, 6.2.12-SNAPSHOT]</javasdk.version>
11+
<javasdk.version>[6.2.0, 6.2.13-SNAPSHOT]</javasdk.version>
1212
<httpclient.version>4.5.13</httpclient.version>
1313
<bouncycastle.version>1.67</bouncycastle.version>
1414
<wss4j.version>2.4.1</wss4j.version>
@@ -41,6 +41,48 @@
4141
<groupId>org.apache.wss4j</groupId>
4242
<artifactId>wss4j-ws-security-common</artifactId>
4343
<version>${wss4j.version}</version>
44+
<exclusions>
45+
<exclusion>
46+
<groupId>com.google.guava</groupId>
47+
<artifactId>guava</artifactId>
48+
</exclusion>
49+
<exclusion>
50+
<artifactId>cryptacular</artifactId>
51+
<groupId>org.cryptacular</groupId>
52+
</exclusion>
53+
<exclusion>
54+
<artifactId>opensaml-saml-impl</artifactId>
55+
<groupId>org.opensaml</groupId>
56+
</exclusion>
57+
<exclusion>
58+
<artifactId>opensaml-xacml-impl</artifactId>
59+
<groupId>org.opensaml</groupId>
60+
</exclusion>
61+
<exclusion>
62+
<artifactId>opensaml-xacml-saml-impl</artifactId>
63+
<groupId>org.opensaml</groupId>
64+
</exclusion>
65+
<exclusion>
66+
<artifactId>slf4j-api</artifactId>
67+
<groupId>org.slf4j</groupId>
68+
</exclusion>
69+
<exclusion>
70+
<artifactId>joda-time</artifactId>
71+
<groupId>joda-time</groupId>
72+
</exclusion>
73+
<exclusion>
74+
<artifactId>jasypt</artifactId>
75+
<groupId>org.jasypt</groupId>
76+
</exclusion>
77+
<exclusion>
78+
<artifactId>geronimo-javamail_1.4_mail</artifactId>
79+
<groupId>org.apache.geronimo.javamail</groupId>
80+
</exclusion>
81+
<exclusion>
82+
<artifactId>xmlsec</artifactId>
83+
<groupId>org.apache.santuario</groupId>
84+
</exclusion>
85+
</exclusions>
4486
</dependency>
4587
<dependency>
4688
<groupId>org.apache.wss4j</groupId>

samples/nvp/runSample.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set LOCAL_CP=
44
set LOCAL_CP=%LOCAL_CP%;classes
55

66
rem ----------------------------------------------------------------------------
7-
rem Replace cybersource-sdk-java-6.2.12.jar when using Java SDK 1.6 or later.
7+
rem Replace cybersource-sdk-java-6.2.13.jar when using Java SDK 1.6 or later.
88
rem If using this scripts outside zip package then give maven clean install.
99
rem This will generate all required dependencies under target/dependencies.These dependencies are used in CLASSPATH.
1010
rem ----------------------------------------------------------------------------

samples/nvp/runSample.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ LOCAL_CP=
44
LOCAL_CP=$LOCAL_CP:./classes
55

66
# -----------------------------------------------------------------------------
7-
# Replace this with cybersource-sdk-java-6.2.12.jar when using Java SDK 1.6 or later.
7+
# Replace this with cybersource-sdk-java-6.2.13.jar when using Java SDK 1.6 or later.
88
# If using this scripts outside zip package then give maven clean install.
99
# This will generate all required dependencies under target/dependencies.These dependencies are used in CLASSPATH.
1010
# -----------------------------------------------------------------------------

samples/xml/compileSample.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
set LOCAL_CP=
44
rem ----------------------------------------------------------------------------
5-
rem Replace this with cybersource-sdk-java-6.2.12.jar when using Java SDK 1.6 or later.
5+
rem Replace this with cybersource-sdk-java-6.2.13.jar when using Java SDK 1.6 or later.
66
rem If using this scripts outside zip package then give maven clean install.
77
rem This will generate all required dependencies under target/dependencies.These dependencies are used in CLASSPATH.
88
rem ----------------------------------------------------------------------------
99

10-
if exist ../../lib set LOCAL_CP=%LOCAL_CP%;../../lib/cybersource-sdk-java-6.2.12.jar
10+
if exist ../../lib set LOCAL_CP=%LOCAL_CP%;../../lib/cybersource-sdk-java-6.2.13.jar
1111
if not exist ../../lib (
1212
if not exist target goto error
13-
set LOCAL_CP=%LOCAL_CP%;target/dependencies/cybersource-sdk-java-6.2.12.jar
13+
set LOCAL_CP=%LOCAL_CP%;target/dependencies/cybersource-sdk-java-6.2.13.jar
1414
)
1515

1616
if not exist classes mkdir classes

0 commit comments

Comments
 (0)