Skip to content

Commit f9d85ea

Browse files
committed
Repeat for Jakarta EE11
1 parent 1ddca08 commit f9d85ea

File tree

9 files changed

+40
-51
lines changed
  • dev
    • com.ibm.ws.security.jwt_fat.consumer
    • com.ibm.ws.security.jwtsso_fat.noMpJwt/fat/src/com/ibm/ws/security/jwtsso/fat
    • com.ibm.ws.security.oidc.client_fat.claimPropagation
    • com.ibm.ws.security.oidc.client_fat.jaxrs
    • com.ibm.ws.security.wim.core_fat

9 files changed

+40
-51
lines changed

dev/com.ibm.ws.security.jwt_fat.consumer/bnd.bnd

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
#*******************************************************************************
2-
# Copyright (c) 2019, 2025 IBM Corporation and others.
2+
# Copyright (c) 2019, 2026 IBM Corporation and others.
33
# All rights reserved. This program and the accompanying materials
44
# are made available under the terms of the Eclipse Public License 2.0
55
# which accompanies this distribution, and is available at
66
# http://www.eclipse.org/legal/epl-2.0/
77
#
88
# SPDX-License-Identifier: EPL-2.0
9-
#
10-
# Contributors:
11-
# IBM Corporation - initial API and implementation
129
#*******************************************************************************
1310
-include= ~../cnf/resources/bnd/bundle.props
1411
bVersion=1.0
@@ -29,7 +26,8 @@ src: \
2926
fat.project: true
3027
tested.features:\
3128
jwt-1.0, restfulwsclient-3.0, restfulws-3.0, jsonp-2.0, pages-3.0,\
32-
restfulws-3.1, pages-3.1, jsonp-2.1
29+
restfulws-3.1, pages-3.1, jsonp-2.1,\
30+
restfulws-4.0, pages-4.0
3331

3432

3533
# To define a global minimum java level for the FAT, use the following property.

dev/com.ibm.ws.security.jwt_fat.consumer/fat/src/com/ibm/ws/security/jwt/fat/consumer/FATSuite.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
/*******************************************************************************
2-
* Copyright (c) 2018, 2023 IBM Corporation and others.
2+
* Copyright (c) 2018, 2026 IBM Corporation and others.
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License 2.0
55
* which accompanies this distribution, and is available at
66
* http://www.eclipse.org/legal/epl-2.0/
77
*
88
* SPDX-License-Identifier: EPL-2.0
9-
*
10-
* Contributors:
11-
* IBM Corporation - initial API and implementation
129
*******************************************************************************/
1310
package com.ibm.ws.security.jwt.fat.consumer;
1411

@@ -18,6 +15,7 @@
1815
import org.junit.runners.Suite.SuiteClasses;
1916

2017
import com.ibm.ws.security.fat.common.actions.SecurityTestFeatureEE10RepeatAction;
18+
import com.ibm.ws.security.fat.common.actions.SecurityTestFeatureEE11RepeatAction;
2119
import com.ibm.ws.security.fat.common.actions.SecurityTestFeatureEE9RepeatAction;
2220
import com.ibm.ws.security.fat.common.actions.SecurityTestRepeatAction;
2321

@@ -42,12 +40,13 @@
4240
public class FATSuite {
4341

4442
/*
45-
* Run EE9 and EE10 tests in LITE mode (but not on Windows) and run all tests in FULL mode.
43+
* Run EE9/EE10/EE11 tests in LITE mode (but not on Windows) and run all tests in FULL mode.
4644
*/
4745
@ClassRule
4846
public static RepeatTests repeat = RepeatTests.with(new EmptyAction().fullFATOnly())
4947
.andWith(new SecurityTestRepeatAction().onlyOnWindows().liteFATOnly())
5048
.andWith(new SecurityTestFeatureEE9RepeatAction().notOnWindows().forServerConfigPaths("publish/servers", "publish/shared/config").liteFATOnly())
51-
.andWith(new SecurityTestFeatureEE10RepeatAction().notOnWindows().forServerConfigPaths("publish/servers", "publish/shared/config").liteFATOnly());
49+
.andWith(new SecurityTestFeatureEE10RepeatAction().notOnWindows().forServerConfigPaths("publish/servers", "publish/shared/config").liteFATOnly())
50+
.andWith(new SecurityTestFeatureEE11RepeatAction().notOnWindows().forServers("publish/servers", "publish/shared/config").liteFATOnly());
5251

5352
}

dev/com.ibm.ws.security.jwtsso_fat.noMpJwt/fat/src/com/ibm/ws/security/jwtsso/fat/FATSuite.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
/*******************************************************************************
2-
* Copyright (c) 2018, 2023 IBM Corporation and others.
2+
* Copyright (c) 2018, 2026 IBM Corporation and others.
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License 2.0
55
* which accompanies this distribution, and is available at
66
* http://www.eclipse.org/legal/epl-2.0/
77
*
88
* SPDX-License-Identifier: EPL-2.0
9-
*
10-
* Contributors:
11-
* IBM Corporation - initial API and implementation
129
*******************************************************************************/
1310
package com.ibm.ws.security.jwtsso.fat;
1411

@@ -18,6 +15,7 @@
1815
import org.junit.runners.Suite.SuiteClasses;
1916

2017
import com.ibm.ws.security.fat.common.actions.SecurityTestFeatureEE10RepeatAction;
18+
import com.ibm.ws.security.fat.common.actions.SecurityTestFeatureEE11RepeatAction;
2119
import com.ibm.ws.security.fat.common.actions.SecurityTestFeatureEE9RepeatAction;
2220
import com.ibm.ws.security.fat.common.actions.SecurityTestRepeatAction;
2321
import com.ibm.ws.security.jwtsso.fat.utils.JwtFatConstants;
@@ -44,6 +42,7 @@ public class FATSuite {
4442
@ClassRule
4543
public static RepeatTests r = RepeatTests.with(new SecurityTestRepeatAction(JwtFatConstants.NO_MPJWT))
4644
.andWith(new SecurityTestFeatureEE9RepeatAction(JwtFatConstants.NO_MPJWT).notOnWindows().liteFATOnly())
47-
.andWith(new SecurityTestFeatureEE10RepeatAction(JwtFatConstants.NO_MPJWT).notOnWindows().liteFATOnly());
45+
.andWith(new SecurityTestFeatureEE10RepeatAction(JwtFatConstants.NO_MPJWT).notOnWindows().liteFATOnly())
46+
.andWith(new SecurityTestFeatureEE11RepeatAction(JwtFatConstants.NO_MPJWT).notOnWindows().liteFATOnly());
4847

4948
}

dev/com.ibm.ws.security.oidc.client_fat.claimPropagation/bnd.bnd

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
#*******************************************************************************
2-
# Copyright (c) 2022, 2025 IBM Corporation and others.
2+
# Copyright (c) 2022, 2026 IBM Corporation and others.
33
# All rights reserved. This program and the accompanying materials
44
# are made available under the terms of the Eclipse Public License 2.0
55
# which accompanies this distribution, and is available at
66
# http://www.eclipse.org/legal/epl-2.0/
77
#
88
# SPDX-License-Identifier: EPL-2.0
9-
#
10-
# Contributors:
11-
# IBM Corporation - initial API and implementation
129
#*******************************************************************************
1310
-include= ~../cnf/resources/bnd/bundle.props
1411
bVersion=1.0
1512

1613
tested.features: jsp-2.2, servlet-3.1, transportsecurity-1.0, appsecurity-4.0, expressionlanguage-4.0, servlet-5.0, cdi-3.0, pages-3.0, jsonp-2.0,\
17-
appsecurity-5.0, pages-3.1
14+
appsecurity-5.0, pages-3.1,\
15+
appsecurity-6.0, pages-4.0
1816

1917
src: \
2018
fat/src

dev/com.ibm.ws.security.oidc.client_fat.claimPropagation/fat/src/com/ibm/ws/security/oidc/client/claimPropagation/fat/FATSuite.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
/*******************************************************************************
2-
* Copyright (c) 2022 IBM Corporation and others.
2+
* Copyright (c) 2022, 2026 IBM Corporation and others.
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License 2.0
55
* which accompanies this distribution, and is available at
66
* http://www.eclipse.org/legal/epl-2.0/
77
*
88
* SPDX-License-Identifier: EPL-2.0
9-
*
10-
* Contributors:
11-
* IBM Corporation - initial API and implementation
129
*******************************************************************************/
1310

1411
package com.ibm.ws.security.oidc.client.claimPropagation.fat;
@@ -19,6 +16,7 @@
1916
import org.junit.runners.Suite.SuiteClasses;
2017

2118
import com.ibm.ws.security.fat.common.actions.SecurityTestFeatureEE10RepeatAction;
19+
import com.ibm.ws.security.fat.common.actions.SecurityTestFeatureEE11RepeatAction;
2220
import com.ibm.ws.security.fat.common.actions.SecurityTestFeatureEE9RepeatAction;
2321
import com.ibm.ws.security.fat.common.actions.SecurityTestRepeatAction;
2422
import com.ibm.ws.security.fat.common.utils.ldaputils.CommonLocalLDAPServerSuite;
@@ -44,7 +42,7 @@
4442
public class FATSuite extends CommonLocalLDAPServerSuite {
4543

4644
/*
47-
* Run EE9 tests in only FULL mode and run EE7/EE8 tests only in LITE mode.
45+
* Run EE9/EE10/EE11 tests in only FULL mode and run EE7/EE8 tests only in LITE mode.
4846
*
4947
* This was done to increase coverage of EE9 while not adding a large amount of test runtime.
5048
*
@@ -54,6 +52,7 @@ public class FATSuite extends CommonLocalLDAPServerSuite {
5452
public static RepeatTests repeat = RepeatTests.with(new EmptyAction().liteFATOnly())
5553
.andWith(new SecurityTestRepeatAction().onlyOnWindows().fullFATOnly())
5654
.andWith(new SecurityTestFeatureEE9RepeatAction().alwaysAddFeature("servlet-5.0").notOnWindows().fullFATOnly())
57-
.andWith(new SecurityTestFeatureEE10RepeatAction().alwaysAddFeature("servlet-6.0").notOnWindows().fullFATOnly());
55+
.andWith(new SecurityTestFeatureEE10RepeatAction().alwaysAddFeature("servlet-6.0").notOnWindows().fullFATOnly())
56+
.andWith(new SecurityTestFeatureEE11RepeatAction().alwaysAddFeature("servlet-6.1").notOnWindows().fullFATOnly());
5857

5958
}

dev/com.ibm.ws.security.oidc.client_fat.jaxrs/bnd.bnd

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
#*******************************************************************************
2-
# Copyright (c) 2021, 2025 IBM Corporation and others.
2+
# Copyright (c) 2021, 2026 IBM Corporation and others.
33
# All rights reserved. This program and the accompanying materials
44
# are made available under the terms of the Eclipse Public License 2.0
55
# which accompanies this distribution, and is available at
66
# http://www.eclipse.org/legal/epl-2.0/
77
#
88
# SPDX-License-Identifier: EPL-2.0
9-
#
10-
# Contributors:
11-
# IBM Corporation - initial API and implementation
129
#*******************************************************************************
1310
-include= ~../cnf/resources/bnd/bundle.props
1411
bVersion=1.0
1512

1613
tested.features: restfulwsclient-3.0, restfulws-3.0, appsecurity-4.0, expressionlanguage-4.0, pages-3.0,\
17-
restfulws-3.1, appsecurity-5.0, pages-3.1
14+
restfulws-3.1, appsecurity-5.0, pages-3.1,\
15+
restfulws-4.0, appsecurity-6.0, pages-4.0
1816

1917
src: \
2018
fat/src, \

dev/com.ibm.ws.security.oidc.client_fat.jaxrs/fat/src/com/ibm/ws/security/openidconnect/client/fat/jaxrs/FATSuite.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
/*******************************************************************************
2-
* Copyright (c) 2013, 2022 IBM Corporation and others.
2+
* Copyright (c) 2013, 2026 IBM Corporation and others.
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License 2.0
55
* which accompanies this distribution, and is available at
66
* http://www.eclipse.org/legal/epl-2.0/
77
*
88
* SPDX-License-Identifier: EPL-2.0
9-
*
10-
* Contributors:
11-
* IBM Corporation - initial API and implementation
129
*******************************************************************************/
1310
package com.ibm.ws.security.openidconnect.client.fat.jaxrs;
1411

@@ -21,6 +18,7 @@
2118
import org.junit.runners.Suite.SuiteClasses;
2219

2320
import com.ibm.ws.security.fat.common.actions.SecurityTestFeatureEE10RepeatAction;
21+
import com.ibm.ws.security.fat.common.actions.SecurityTestFeatureEE11RepeatAction;
2422
import com.ibm.ws.security.fat.common.actions.SecurityTestFeatureEE9RepeatAction;
2523
import com.ibm.ws.security.fat.common.actions.SecurityTestRepeatAction;
2624
import com.ibm.ws.security.openidconnect.client.fat.jaxrs.IBM.OIDCTokenMappingResolverGenericTest;
@@ -65,16 +63,17 @@ public class FATSuite {
6563
}
6664

6765
/*
68-
* Run EE9 and EE10 tests in only FULL mode and run EE7/EE8 tests only in LITE mode.
66+
* Run EE9/EE10/EE11 tests in only FULL mode and run EE7/EE8 tests only in LITE mode.
6967
*
70-
* This was done to increase coverage of EE9 and EE10 while not adding a large amount of test runtime.
68+
* This was done to increase coverage of EE9/EE10/EE11 while not adding a large amount of test runtime.
7169
*
7270
*/
7371
/* always add servlet-5.0 to enable EE9 in the op which had no feature versions to swap out to enable EE9 */
7472
@ClassRule
7573
public static RepeatTests repeat = RepeatTests.with(new EmptyAction().liteFATOnly())
7674
.andWith(new SecurityTestRepeatAction().onlyOnWindows().fullFATOnly())
7775
.andWith(new SecurityTestFeatureEE9RepeatAction().notOnWindows().removeFeatures(REMOVE).addFeatures(INSERT).alwaysAddFeature("servlet-5.0").fullFATOnly())
78-
.andWith(new SecurityTestFeatureEE10RepeatAction().notOnWindows().removeFeatures(REMOVE).addFeatures(INSERT).alwaysAddFeature("servlet-6.0").fullFATOnly());
76+
.andWith(new SecurityTestFeatureEE10RepeatAction().notOnWindows().removeFeatures(REMOVE).addFeatures(INSERT).alwaysAddFeature("servlet-6.0").fullFATOnly())
77+
.andWith(new SecurityTestFeatureEE11RepeatAction().notOnWindows().removeFeatures(REMOVE).addFeatures(INSERT).alwaysAddFeature("servlet-6.1").fullFATOnly());
7978

8079
}

dev/com.ibm.ws.security.wim.core_fat/bnd.bnd

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
#*******************************************************************************
2-
# Copyright (c) 2017, 2021 IBM Corporation and others.
2+
# Copyright (c) 2017, 2026 IBM Corporation and others.
33
# All rights reserved. This program and the accompanying materials
44
# are made available under the terms of the Eclipse Public License 2.0
55
# which accompanies this distribution, and is available at
66
# http://www.eclipse.org/legal/epl-2.0/
77
#
88
# SPDX-License-Identifier: EPL-2.0
9-
#
10-
# Contributors:
11-
# IBM Corporation - initial API and implementation
129
#*******************************************************************************
1310

1411
-include= ~../cnf/resources/bnd/bundle.props
@@ -19,7 +16,7 @@ src: \
1916

2017
fat.project: true
2118
tested.features: appsecurity-4.0, expressionlanguage-4.0, cdi-3.0, servlet-3.1,\
22-
appsecurity-5.0
19+
appsecurity-5.0, appsecurity-6.0
2320

2421
-buildpath: \
2522
com.ibm.websphere.javaee.servlet.3.0;version=latest,\

dev/com.ibm.ws.security.wim.core_fat/fat/src/com/ibm/ws/security/wim/core/fat/FATSuite.java

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
/*******************************************************************************
2-
* Copyright (c) 2011, 2023 IBM Corporation and others.
2+
* Copyright (c) 2011, 2026 IBM Corporation and others.
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License 2.0
55
* which accompanies this distribution, and is available at
66
* http://www.eclipse.org/legal/epl-2.0/
77
*
88
* SPDX-License-Identifier: EPL-2.0
9-
*
10-
* Contributors:
11-
* IBM Corporation - initial API and implementation
129
*******************************************************************************/
1310

1411
package com.ibm.ws.security.wim.core.fat;
@@ -53,9 +50,9 @@ public class FATSuite {
5350
private static InMemoryLDAPServer tdsLdapServer, adLdapServer;
5451

5552
/**
56-
* Repeat tests for Jakarta EE 9 and 10.
53+
* Repeat tests for Jakarta EE9/EE10/EE11
5754
*
58-
* We need to replace appSecurity-1.0 with appSecurity-4.0. The appSecurity-3.0 4.0 and 5.0 features
55+
* We need to replace appSecurity-1.0 with appSecurity-4.0. The appSecurity-3.0/4.0/5.0/6.0 features
5956
* no longer include ldapRegistry-3.0, so we need to add that as well.
6057
*/
6158
@ClassRule
@@ -64,7 +61,12 @@ public class FATSuite {
6461
.removeFeature("appSecurity-1.0")
6562
.alwaysAddFeature("ldapRegistry-3.0")
6663
.conditionalFullFATOnly(FeatureReplacementAction.GREATER_THAN_OR_EQUAL_JAVA_11))
67-
.andWith(new JakartaEE10Action().addFeature("appSecurity-5.0").removeFeature("appSecurity-1.0").alwaysAddFeature("ldapRegistry-3.0"));
64+
.andWith(new JakartaEE10Action().addFeature("appSecurity-5.0").removeFeature("appSecurity-1.0").alwaysAddFeature("ldapRegistry-3.0"))
65+
.andWith(FeatureReplacementAction.EE11_FEATURES()
66+
.addFeature("appSecurity-6.0")
67+
.removeFeature("appSecurity-1.0")
68+
.removeFeature("appSecurity-5.0")
69+
.alwaysAddFeature("ldapRegistry-3.0"));
6870

6971
@BeforeClass
7072
public static void setup() throws Exception {

0 commit comments

Comments
 (0)