File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
sso-pre-launch-checks/added Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ artifacts:
11
11
name : rhsso-1974.zip
12
12
target : eap-one-off-rhsso-1974.zip
13
13
url : http://$DOWNLOAD_SERVER/devel/candidates/JBSSO/JBSSO-7.5.1-CIAM-1974-patch/rhsso-1974.zip
14
+ # CIAM-2055
15
+ - md5 : e131a6a7ab26779951981665b9e63919
16
+ name : rhsso-2054.zip
17
+ target : eap-one-off-rhsso-2054.zip
18
+ url : http://$DOWNLOAD_SERVER/devel/candidates/JBSSO/JBSSO-7.5.1-CIAM-2054-patch/rhsso-2054.zip
14
19
15
20
# Note:
16
21
#
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ function postConfigure() {
11
11
verify_KEYCLOAK_16736_fix_present
12
12
verify_CIAM_1757_fix_present
13
13
verify_CIAM_1975_fix_present
14
+ verify_CIAM_2055_fix_present
14
15
}
15
16
16
17
# KEYCLOAK-13585 / RH BZ#1817530 / CVE-2020-10695:
@@ -90,3 +91,17 @@ function verify_CIAM_1975_fix_present() {
90
91
exit " ${errorExitCode} "
91
92
fi
92
93
}
94
+
95
+ # CIAM-2055
96
+ #
97
+ # Verify one-off patch for CIAM-2055 got properly installed to the expected location
98
+ #
99
+ function verify_CIAM_2055_fix_present() {
100
+ local -r errorExitCode=" 1"
101
+ if ! find " ${JBOSS_HOME} " /modules/system/layers -name ' *-rhsso-2054.jar' 2> /dev/null | grep -q .
102
+ then
103
+ log_error " The CIAM-2055 one-off patch wasn't properly installed."
104
+ log_error " Cannot start the '${JBOSS_IMAGE_NAME} ', version '${JBOSS_IMAGE_VERSION} '!"
105
+ exit " ${errorExitCode} "
106
+ fi
107
+ }
You can’t perform that action at this time.
0 commit comments