You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -86,12 +86,20 @@ You do not need to download and build the source to use the SDK but if you want
86
86
87
87
h. "serverURL" config parameter will take precedence over sendToProduction and sendToAkamai config parameters. By default the "serverURL" configuration is commented out.
88
88
89
+
<<<<<<< HEAD
89
90
i. "enablejdkcert" parameter if set to true then it will read the JKS file specified at keysDirectory location. The file should be of the same name as specified in keyFilename.
90
91
91
92
j. cacerts this property will be considered only if "enablejdkcert" is set to true. If it is set to true then it means the JKS file is under cacerts folder of the JDK and
92
93
it will read the JKS file from cacerts.
93
94
94
95
k. Please refer to the accompanying documentation for the other optional properties that you may wish to specify.
96
+
=======
97
+
i. "allowRetry" config parameter will only work for HttpClient. Set allowRetry config parameter to "true" to enable retry mechanism and set merchant specific values for the retry.
98
+
Set integer values for config parameter numberOfRetries & retryInterval. Retry Interval is time delay for next retry in seconds. number of retry parameter should be set between
99
+
1 to 5 any other value will throw an Error Message. Refer to the "Retry Pattern" section below.
100
+
101
+
j. Please refer to the accompanying documentation for the other optional properties that you may wish to specify.
102
+
>>>>>>> upstream/master
95
103
96
104
97
105
4. Build this project using Maven.
@@ -189,6 +197,15 @@ We have two ways to test, One is using maven tool and other is to download the z
189
197
Cryptography Algorithms
190
198
CyberSource utilizes the following algorithms for this implementation. While others may work, the following are validated and recommended. SSL is used for transport security even with encrypted messages. CyberSource asymmetric keys are RSA 2048 keys and therefore your cryptography API should support 2048 bit RSA keys and signatures create with them. The messages are encrypted with a temporary derived key which is used per message. This derived key is AES 256 bit and utilizes CBC blocking mode for encryption. The derived key is encrypted with the recipient ( CyberSource ) public key. The key exchange algorithm used is RSA-OAEP.
191
199
200
+
##RETRY PATTERN
201
+
202
+
Retry Pattern Allows to retry sending a failed request and it will only work with useHttpClient=true, allowRetry flag enables the retry mechanism.
203
+
set the value of allowRetry parameter to "TRUE/FALSE". Then the system will retry the failed request as many times as configured by the merchant
204
+
in the config parameter 'numberOfRetries'.
205
+
206
+
numberOfRetries parameter value should be set between 0 to 5. By default the value for numberOfRetries will be 5. User can set a delay in between the retry attempts.
207
+
Config parameter for this property is 'retryInterval' in cybs.property file. The default value for 'retryInterval' parameter is 5 which means a delay of 5 seconds.
208
+
192
209
##Third Party jars
193
210
1.) org.apache.ws.security.wss4j:1.6.19
194
211
The Apache WSS4J project provides a Java implementation of the primary security standards for Web Services, namely the OASIS Web Services Security (WS-Security) specifications
@@ -211,14 +228,11 @@ We have two ways to test, One is using maven tool and other is to download the z
211
228
6.) commons-logging:commons-logging:jar:1.1.1
212
229
This is getting downloaded as compile time dependency of wss4j:1.6.19.Apache Commons Logging is a thin adapter allowing configurable bridging to other, well known logging
213
230
systems.
214
-
215
-
7.) org.slf4j:slf4j-api:1.7.21 and org.slf4j:slf4j-jcl:1.7.21 .
216
-
slf4j-api is getting used as a dependency for wss4j. Modified to latest version.
0 commit comments