From 10568ff1123bc27900254bcf865d23f6be4c59ad Mon Sep 17 00:00:00 2001 From: pujavs <43700552+pujavs@users.noreply.github.com> Date: Wed, 23 Feb 2022 19:21:20 +0530 Subject: [PATCH] feat(jans-config-api): security issue - upgrade dependencies (#883) * feat: pom changes for security issues * feat: security issue fix * feat: security issue fix * feat: security issue fix --- jans-bom/pom.xml | 4 ++-- jans-config-api/common/pom.xml | 10 ---------- jans-config-api/plugins/pom.xml | 13 ++++++++++++ jans-config-api/plugins/scim-plugin/pom.xml | 1 - jans-config-api/pom.xml | 2 +- .../profiles/local/test.properties | 20 +++++++++---------- .../server/src/main/resources/log4j2.xml | 6 ++++-- jans-config-api/shared/pom.xml | 9 --------- 8 files changed, 30 insertions(+), 35 deletions(-) diff --git a/jans-bom/pom.xml b/jans-bom/pom.xml index 674eb3a5360..957f6b011f8 100644 --- a/jans-bom/pom.xml +++ b/jans-bom/pom.xml @@ -643,7 +643,7 @@ org.postgresql postgresql - 42.2.23.jre7 + 42.3.2 @@ -662,7 +662,7 @@ com.google.cloud google-cloud-spanner - 6.17.3 + 6.17.4 diff --git a/jans-config-api/common/pom.xml b/jans-config-api/common/pom.xml index 9ecba1e7ab8..1a9cafa8ea7 100644 --- a/jans-config-api/common/pom.xml +++ b/jans-config-api/common/pom.xml @@ -25,19 +25,10 @@ io.jans jans-config-api-shared - - io.jans - jans-core-util - io.jans jans-core-model - - io.jans - jans-auth-common - - @@ -53,7 +44,6 @@ javax.servlet javax.servlet-api - 3.1.0 diff --git a/jans-config-api/plugins/pom.xml b/jans-config-api/plugins/pom.xml index e656ee962d0..2f4c43e0159 100644 --- a/jans-config-api/plugins/pom.xml +++ b/jans-config-api/plugins/pom.xml @@ -36,4 +36,17 @@ provided + + + + + + org.apache.maven.plugins + maven-assembly-plugin + 3.3.0 + + + + + \ No newline at end of file diff --git a/jans-config-api/plugins/scim-plugin/pom.xml b/jans-config-api/plugins/scim-plugin/pom.xml index 820fa499d3f..58989313729 100644 --- a/jans-config-api/plugins/scim-plugin/pom.xml +++ b/jans-config-api/plugins/scim-plugin/pom.xml @@ -187,7 +187,6 @@ org.apache.maven.plugins maven-resources-plugin - 3.1.0 deploy-to-local-folder diff --git a/jans-config-api/pom.xml b/jans-config-api/pom.xml index 80b83cdc702..a5e9ef3d1c4 100644 --- a/jans-config-api/pom.xml +++ b/jans-config-api/pom.xml @@ -23,7 +23,7 @@ 1.0.0-SNAPSHOT 3.1.2.Final - 9.4.44.v20210927 + 11.0.1 4.5.10.Final 2.10.1 3.0 diff --git a/jans-config-api/profiles/local/test.properties b/jans-config-api/profiles/local/test.properties index 7f7fff14b15..ea13afc7440 100644 --- a/jans-config-api/profiles/local/test.properties +++ b/jans-config-api/profiles/local/test.properties @@ -39,11 +39,11 @@ test.scopes=https://jans.io/oauth/config/acrs.readonly https://jans.io/oauth/con #test.issuer=https:// pujavs.jans.server3 # jans.server1 -#token.endpoint=https://jans.server1/jans-auth/restv1/token -#token.grant.type=client_credentials -#test.client.id=1800.df97feac-c94e-468d-9e22-48946da45403 -#test.client.secret=OL13IYRG0IjV -#test.issuer=https://jans.server1 +token.endpoint=https://jans.server1/jans-auth/restv1/token +token.grant.type=client_credentials +test.client.id=1800.d166622d-6771-4d5a-8fab-555566b20091 +test.client.secret=slkveBOhwJn5 +test.issuer=https://jans.server1 # jans.server2 #token.endpoint=https://jans.server2/jans-auth/restv1/token @@ -60,10 +60,10 @@ test.scopes=https://jans.io/oauth/config/acrs.readonly https://jans.io/oauth/con #test.issuer=https://jans.server3 # jans.server4 -token.endpoint=https://jans.server4/jans-auth/restv1/token -token.grant.type=client_credentials -test.client.id=1800.7e78990f-fdae-40e9-9433-4fe20645851d -test.client.secret=GfUrIapPM71X -test.issuer=https://jans.server4 +#token.endpoint=https://jans.server4/jans-auth/restv1/token +#token.grant.type=client_credentials +#test.client.id=1800.7e78990f-fdae-40e9-9433-4fe20645851d +#test.client.secret=GfUrIapPM71X +#test.issuer=https://jans.server4 diff --git a/jans-config-api/server/src/main/resources/log4j2.xml b/jans-config-api/server/src/main/resources/log4j2.xml index 16bf114d938..753018fa46d 100644 --- a/jans-config-api/server/src/main/resources/log4j2.xml +++ b/jans-config-api/server/src/main/resources/log4j2.xml @@ -104,9 +104,11 @@ - - + + + + diff --git a/jans-config-api/shared/pom.xml b/jans-config-api/shared/pom.xml index fd46e261349..048edc18f0d 100644 --- a/jans-config-api/shared/pom.xml +++ b/jans-config-api/shared/pom.xml @@ -15,10 +15,6 @@ - - io.jans - jans-core-util - io.jans jans-core-model @@ -35,11 +31,6 @@ io.jans jans-core-service - - io.jans - jans-client-api - -