Skip to content

Commit ad9dc77

Browse files
committed
Updated versions in different files
1 parent 9f3929d commit ad9dc77

13 files changed

+52
-26
lines changed

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ To install the `cybersource-sdk-java` from central repository, add dependency to
1010
<dependency>
1111
<groupId>com.cybersource</groupId>
1212
<artifactId>cybersource-sdk-java</artifactId>
13-
<version>6.2.13</version>
13+
<version>6.2.15</version>
1414
</dependency>
1515
```
1616
Run `mvn install` to install dependency
@@ -19,7 +19,7 @@ Run `mvn install` to install dependency
1919
Add the dependency to your build.gradle
2020
```java
2121
dependencies {
22-
compile 'com.cybersource:cybersource-sdk-java:6.2.13'
22+
compile 'com.cybersource:cybersource-sdk-java:6.2.15'
2323
}
2424
```
2525
## Requirements
@@ -231,9 +231,9 @@ Retry Pattern allows to retry sending a failed request and it will only work wit
231231
The Apache WSS4J project provides a Java implementation of the common primary security standards for Web Services, namely the OASIS Web Services Security (WS-Security) specifications from the OASIS Web Services Security TC.
232232
2. org.apache.wss4j:wss4j-ws-security-dom:2.4.1
233233
WSS4J 2.0.0 introduces a streaming (StAX-based) WS-Security implementation to complement the existing DOM-based implementation. The DOM-based implementation is quite performant and flexible, but suffers from having to read the entire XML tree into memory. For large SOAP requests this can have a detrimental impact on performance. In addition, for web services stacks such as Apache CXF which are streaming-based, it carries an additional performance penalty of having to explicitly convert the request stream to a DOM Element.
234-
3. org.bouncycastle:bcprov-jdk15on:1.70
234+
3. org.bouncycastle:bcprov-jdk18on:1.78
235235
This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 to JDK 1.8.
236-
4. org.apache.santuario:xmlsec:2.3.0
236+
4. org.apache.santuario:xmlsec:2.3.4
237237
The XML Security project is aimed at providing implementation of security standards for XML,supports XML-Signature Syntax and Processing,XML Encryption Syntax and Processing, and supports XML Digital Signature APIs.
238238
5. org.apache.commons:commons-lang3:3.4
239239
Apache Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang.
@@ -251,6 +251,19 @@ Retry Pattern allows to retry sending a failed request and it will only work wit
251251
Provides low level HTTP transport components that can be used to build custom client and server side HTTP services with a minimal footprint.
252252

253253
## Changes
254+
_______________________________
255+
Version Cybersource-sdk-java 6.2.15 (MAY,2024)
256+
_______________________________
257+
1) Applied masking on password in logs
258+
_______________________________
259+
260+
_______________________________
261+
Version Cybersource-sdk-java 6.2.14 (APRIL,2024)
262+
_______________________________
263+
1) Removed unnecessary dependencies
264+
2) Upgraded outdated versions
265+
_______________________________
266+
254267
_______________________________
255268
Version Cybersource-sdk-java 6.2.13 (AUGUST,2022)
256269
_______________________________
@@ -350,7 +363,7 @@ _______________________________
350363
many reasons. bcprov*.jar is a signed jar if java fails to validate the signature, it throws this exception. Make sure
351364
you run below java command to verify this signature.
352365

353-
`jarsigner -verify bcprov-jdk15on-1.61.jar`
366+
`jarsigner -verify bcprov-jdk18on-1.78.jar`
354367

355368
when above command fails it says "jar is unsigned. (signatures missing or not parsable)", this could be because of many
356369
reasons. e.g

samples/nvp/compileSample.bat

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

33
set LOCAL_CP=
44
rem ----------------------------------------------------------------------------
5-
rem Replace this with cybersource-sdk-java-6.2.14.jar when using Java SDK 1.6 or later.
5+
rem Replace this with cybersource-sdk-java-6.2.15.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 ----------------------------------------------------------------------------

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.14.jar when using Java SDK 1.6 or later.
5+
# Replace this with cybersource-sdk-java-6.2.15.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.14.jar
11+
then LOCAL_CP=$LOCAL_CP:../../lib/cybersource-sdk-java-6.2.15.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.14.jar
22+
LOCAL_CP=$LOCAL_CP:target/dependencies/cybersource-sdk-java-6.2.15.jar
2323
fi
2424

2525
if test ! -d ./classes

samples/nvp/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<properties>
1111
<javasdk.version>[6.2.0, 6.2.15-SNAPSHOT]</javasdk.version>
1212
<httpclient.version>4.5.13</httpclient.version>
13-
<bouncycastle.version>1.67</bouncycastle.version>
13+
<bouncycastle.version>1.78</bouncycastle.version>
1414
<wss4j.version>2.4.1</wss4j.version>
1515
<commonlang3.version>3.4</commonlang3.version>
1616
<slf4j.version>1.7.32</slf4j.version>
@@ -34,7 +34,7 @@
3434
</dependency>
3535
<dependency>
3636
<groupId>org.bouncycastle</groupId>
37-
<artifactId>bcprov-jdk15on</artifactId>
37+
<artifactId>bcprov-jdk18on</artifactId>
3838
<version>${bouncycastle.version}</version>
3939
</dependency>
4040
<dependency>

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.14.jar when using Java SDK 1.6 or later.
7+
rem Replace cybersource-sdk-java-6.2.15.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.14.jar when using Java SDK 1.6 or later.
7+
# Replace this with cybersource-sdk-java-6.2.15.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.14.jar when using Java SDK 1.6 or later.
5+
rem Replace this with cybersource-sdk-java-6.2.15.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.15-SNAPSHOT.jar
10+
if exist ../../lib set LOCAL_CP=%LOCAL_CP%;../../lib/cybersource-sdk-java-6.2.15.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.15-SNAPSHOT.jar
13+
set LOCAL_CP=%LOCAL_CP%;target/dependencies/cybersource-sdk-java-6.2.15.jar
1414
)
1515

1616
if not exist classes mkdir classes

samples/xml/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.14.jar when using Java SDK 1.6 or later.
5+
# Replace this with cybersource-sdk-java-6.2.15.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.14.jar
11+
then LOCAL_CP=$LOCAL_CP:../../lib/cybersource-sdk-java-6.2.15.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.14.jar
22+
LOCAL_CP=$LOCAL_CP:target/dependencies/cybersource-sdk-java-6.2.15.jar
2323
fi
2424

2525
if test ! -d ./classes

samples/xml/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<properties>
1111
<javasdk.version>[6.2.0, 6.2.15-SNAPSHOT]</javasdk.version>
1212
<httpclient.version>4.5.13</httpclient.version>
13-
<bouncycastle.version>1.67</bouncycastle.version>
13+
<bouncycastle.version>1.78</bouncycastle.version>
1414
<wss4j.version>2.4.1</wss4j.version>
1515
<commonlang3.version>3.4</commonlang3.version>
1616
<slf4j.version>1.7.32</slf4j.version>
@@ -34,7 +34,7 @@
3434
</dependency>
3535
<dependency>
3636
<groupId>org.bouncycastle</groupId>
37-
<artifactId>bcprov-jdk15on</artifactId>
37+
<artifactId>bcprov-jdk18on</artifactId>
3838
<version>${bouncycastle.version}</version>
3939
</dependency>
4040
<dependency>

samples/xml/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.14.jar when using Java SDK 1.6 or later.
7+
rem Replace cybersource-sdk-java-6.2.15.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/xml/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.14.jar when using Java SDK 1.6 or later.
7+
# Replace this with cybersource-sdk-java-6.2.15.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
# -----------------------------------------------------------------------------

zip/README

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,10 @@ Config parameter for this property is 'retryInterval' in cybs.property file. The
248248
2.) org.apache.wss4j:wss4j-ws-security-dom:2.4.1
249249
WSS4J 2.0.0 introduces a streaming (StAX-based) WS-Security implementation to complement the existing DOM-based implementation. The DOM-based implementation is quite performant and flexible, but suffers from having to read the entire XML tree into memory. For large SOAP requests this can have a detrimental impact on performance. In addition, for web services stacks such as Apache CXF which are streaming-based, it carries an additional performance penalty of having to explicitly convert the request stream to a DOM Element.
250250

251-
3.) org.bouncycastle:bcprov-jdk15on:1.70
251+
3.) org.bouncycastle:bcprov-jdk18on:1.78
252252
This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 to JDK 1.8.
253253

254-
4.) org.apache.santuario:xmlsec:2.3.0
254+
4.) org.apache.santuario:xmlsec:2.3.4
255255
The XML Security project is aimed at providing implementation of security standards for XML,supports XML-Signature Syntax and Processing,XML Encryption Syntax and Processing,
256256
and supports XML Digital Signature APIs.
257257

@@ -278,6 +278,19 @@ provides reusable components for client-side authentication, HTTP state manageme
278278
Provides low level HTTP transport components that can be used to build custom client and server side HTTP services with a minimal footprint.
279279

280280
##Changes
281+
_______________________________
282+
Version Cybersource-sdk-java 6.2.15 (MAY,2024)
283+
_______________________________
284+
1) Applied masking on password in logs
285+
_______________________________
286+
287+
_______________________________
288+
Version Cybersource-sdk-java 6.2.14 (APRIL,2024)
289+
_______________________________
290+
1) Removed unnecessary dependencies
291+
2) Upgraded outdated versions
292+
_______________________________
293+
281294

282295
Version Cybersource-sdk-java 6.2.13 (AUGUST,2022)
283296
_______________________________

zip/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<dependency>
5252
<groupId>com.cybersource</groupId>
5353
<artifactId>cybersource-sdk-java</artifactId>
54-
<version>6.2.14-SNAPSHOT</version>
54+
<version>6.2.15-SNAPSHOT</version>
5555
</dependency>
5656
</dependencies>
5757

0 commit comments

Comments
 (0)