Skip to content

Commit c5ec0ca

Browse files
author
adkumar3
committed
property file changes
1 parent 6ec700b commit c5ec0ca

2 files changed

Lines changed: 23 additions & 56 deletions

File tree

java/src/main/java/com/cybersource/ws/client/cybs.properties

Lines changed: 0 additions & 53 deletions
This file was deleted.

java/src/main/resources/cybs.properties

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ keysDirectory=<--- P12 key directory location -->
33
keyAlias=<--- key alias name for P12 key --->
44
keyPassword=<--- P12 key password --->
55
targetAPIVersion=<-- API Version Number -->
6-
6+
# KeyFilename is the name of the JKS file
7+
keyFilename=<--JKS_file_name -->
78
# the following flags can be used to control the endpoint to which requests will be sent.
89
# Set sendToProduction=true to send requests to Cybersource production environment.
910
# Set sendToAkamai=true to send requests through Akamai to Cybersource.
@@ -15,8 +16,27 @@ sendToAkamai=<-- Set it to true for Akamai -->
1516

1617
#useHttpClient=false
1718

18-
#Mechanism to differentiate whether Payload is encrypted or not
19-
useSignAndEncrypted=<-- Set it to true for MLE[MessageLevelEncryption] -->
19+
# Following configure parameters will only work with useHttpClient=true
20+
# "allow retry" property toggle value "true/false" to turn on /off the auto request retry.
21+
# Number of retries is the number of attempts made to send the request.
22+
# Retry interval is the wait time in between the attempts to send the request.
23+
# Retry count configuration, interval unit is in seconds.
24+
# Default values are for allowRetry=true, numberOfRetries=5 and retryInterval=5 seconds.
25+
allowRetry=true
26+
numberOfRetries=5
27+
retryInterval=5
28+
29+
# If This property is set to true then the p12 certificate must be stored in JKS format
30+
# program will read it from there. If it is set to false then the certificate will be read from
31+
# the location specified above from the key directory location
32+
enablejdkcert=false
33+
# if Cacert property is enabled then it means the certificates are kept under the cacert folder of JDK
34+
# And it will read from JDK cert. This property will be considered only if enableJDKcert is set to true.
35+
cacert=false
36+
# Enter the password for cacert file. By default it will use the default password for JDK
37+
cacertpassword=changeit
38+
# Mechanism to differentiate whether Payload is encrypted or not
39+
#useSignAndEncrypted=<-- Set it to true for MLE[MessageLevelEncryption] -->
2040

2141
timeout=1000
2242

0 commit comments

Comments
 (0)