From 4c55506eaa722db25fbbf18b49b525415b0f030a Mon Sep 17 00:00:00 2001
From: Khant1000 <131154593+Khant1000@users.noreply.github.com>
Date: Wed, 26 Jul 2023 10:50:01 +0530
Subject: [PATCH 1/2] jx-browser-version
---
CX-SDK-OIDC-login/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CX-SDK-OIDC-login/pom.xml b/CX-SDK-OIDC-login/pom.xml
index a53f310..035a179 100644
--- a/CX-SDK-OIDC-login/pom.xml
+++ b/CX-SDK-OIDC-login/pom.xml
@@ -35,7 +35,7 @@
UTF-8
- 7.20
+ 7.21
6.23
From e1ed92885840b03f14ddd5d482f0f6e709b1daf9 Mon Sep 17 00:00:00 2001
From: Khant1000 <131154593+Khant1000@users.noreply.github.com>
Date: Thu, 27 Jul 2023 09:48:24 +0530
Subject: [PATCH 2/2] version change 2.0.9
---
CX-SDK-API/pom.xml | 8 ++++----
CX-SDK-Application-Contracts/pom.xml | 4 ++--
CX-SDK-Application/pom.xml | 6 +++---
CX-SDK-Domain/pom.xml | 2 +-
CX-SDK-Infrastructure/pom.xml | 8 ++++----
CX-SDK-OIDC-login/pom.xml | 4 ++--
.../com/cx/sdk/oidcLogin/webBrowsing/OIDCWebBrowser.java | 4 ----
pom.xml | 2 +-
8 files changed, 17 insertions(+), 21 deletions(-)
diff --git a/CX-SDK-API/pom.xml b/CX-SDK-API/pom.xml
index 159b0b9..1d7d7ad 100644
--- a/CX-SDK-API/pom.xml
+++ b/CX-SDK-API/pom.xml
@@ -8,7 +8,7 @@
checkmarx-sdk
com.cx.sdk
- 2.0.8
+ 2.0.9
@@ -19,17 +19,17 @@
com.cx.sdk
CX-SDK-OIDC-login
- 2.0.8
+ 2.0.9
com.cx.sdk
CX-SDK-Application
- 2.0.8
+ 2.0.9
com.cx.sdk
CX-SDK-Infrastructure
- 2.0.8
+ 2.0.9
org.modelmapper
diff --git a/CX-SDK-Application-Contracts/pom.xml b/CX-SDK-Application-Contracts/pom.xml
index 759d5d6..9a42cb4 100644
--- a/CX-SDK-Application-Contracts/pom.xml
+++ b/CX-SDK-Application-Contracts/pom.xml
@@ -8,7 +8,7 @@
checkmarx-sdk
com.cx.sdk
- 2.0.8
+ 2.0.9
@@ -19,7 +19,7 @@
com.cx.sdk
CX-SDK-Domain
- 2.0.8
+ 2.0.9
diff --git a/CX-SDK-Application/pom.xml b/CX-SDK-Application/pom.xml
index 0e5d629..d87b1aa 100644
--- a/CX-SDK-Application/pom.xml
+++ b/CX-SDK-Application/pom.xml
@@ -8,7 +8,7 @@
checkmarx-sdk
com.cx.sdk
- 2.0.8
+ 2.0.9
@@ -19,12 +19,12 @@
com.cx.sdk
CX-SDK-Domain
- 2.0.8
+ 2.0.9
com.cx.sdk
CX-SDK-Application-Contracts
- 2.0.8
+ 2.0.9
org.mockito
diff --git a/CX-SDK-Domain/pom.xml b/CX-SDK-Domain/pom.xml
index 4f91376..a5dd7b2 100644
--- a/CX-SDK-Domain/pom.xml
+++ b/CX-SDK-Domain/pom.xml
@@ -8,7 +8,7 @@
checkmarx-sdk
com.cx.sdk
- 2.0.8
+ 2.0.9
diff --git a/CX-SDK-Infrastructure/pom.xml b/CX-SDK-Infrastructure/pom.xml
index 7e3e0f8..fce3e42 100644
--- a/CX-SDK-Infrastructure/pom.xml
+++ b/CX-SDK-Infrastructure/pom.xml
@@ -8,7 +8,7 @@
checkmarx-sdk
com.cx.sdk
- 2.0.8
+ 2.0.9
@@ -20,17 +20,17 @@
com.cx.sdk
CX-SDK-Domain
- 2.0.8
+ 2.0.9
com.cx.sdk
CX-SDK-Application-Contracts
- 2.0.8
+ 2.0.9
com.cx.sdk
CX-SDK-OIDC-login
- 2.0.8
+ 2.0.9
diff --git a/CX-SDK-OIDC-login/pom.xml b/CX-SDK-OIDC-login/pom.xml
index 035a179..cc74751 100644
--- a/CX-SDK-OIDC-login/pom.xml
+++ b/CX-SDK-OIDC-login/pom.xml
@@ -5,7 +5,7 @@
checkmarx-sdk
com.cx.sdk
- 2.0.8
+ 2.0.9
4.0.0
CX-SDK-OIDC-login
@@ -87,7 +87,7 @@
com.cx.sdk
CX-SDK-Domain
- 2.0.8
+ 2.0.9
compile
diff --git a/CX-SDK-OIDC-login/src/main/java/com/cx/sdk/oidcLogin/webBrowsing/OIDCWebBrowser.java b/CX-SDK-OIDC-login/src/main/java/com/cx/sdk/oidcLogin/webBrowsing/OIDCWebBrowser.java
index ac0e544..b852fe5 100644
--- a/CX-SDK-OIDC-login/src/main/java/com/cx/sdk/oidcLogin/webBrowsing/OIDCWebBrowser.java
+++ b/CX-SDK-OIDC-login/src/main/java/com/cx/sdk/oidcLogin/webBrowsing/OIDCWebBrowser.java
@@ -100,7 +100,6 @@ private void initBrowser(String restUrl) {
contentPane = new JPanel(new GridLayout(1, 1));
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
-
Engine engine = defaultEngine();
engine.network().set(BeforeStartTransactionCallback.class, params -> {
List headersList = new ArrayList<>(params.httpHeaders());
@@ -132,12 +131,10 @@ private void initBrowser(String restUrl) {
browser = engine.newBrowser();
browser.navigation().on(FrameLoadFinished.class, AddResponsesHandler());
String postData = getPostData();
-
logger.info("Authentication request data:" + postData);
String pathToImage = "/checkmarxIcon.jpg";
setIconImage(new ImageIcon(getClass().getResource(pathToImage), "checkmarx icon").getImage());
-
SwingUtilities.invokeLater(() -> {
browser.on(BrowserClosed.class, event ->
SwingUtilities.invokeLater(() -> {
@@ -275,7 +272,6 @@ private void notifyAuthenticationFinish() {
}
}
-
private Observer AddResponsesHandler() {
return param -> {
handleErrorResponse(param);
diff --git a/pom.xml b/pom.xml
index 021f86f..a13dd46 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
com.cx.sdk
checkmarx-sdk
pom
- 2.0.8
+ 2.0.9
CX-SDK-API