diff --git a/jetty-ee10/jetty-ee10-jaas/src/main/config/modules/jaas.mod b/jetty-ee10/jetty-ee10-jaas/src/main/config/modules/jaas.mod
index 9816e7b487cd..25b8152ed1ec 100644
--- a/jetty-ee10/jetty-ee10-jaas/src/main/config/modules/jaas.mod
+++ b/jetty-ee10/jetty-ee10-jaas/src/main/config/modules/jaas.mod
@@ -7,7 +7,7 @@ Enables JAAS for deployed web applications.
server
[lib]
-lib/jetty-jaas-${jetty.version}.jar
+lib/jetty-ee10-jaas-${jetty.version}.jar
[xml]
etc/jetty-jaas.xml
diff --git a/jetty-ee8/jetty-ee8-jaas/pom.xml b/jetty-ee8/jetty-ee8-jaas/pom.xml
new file mode 100644
index 000000000000..550ae580d5e7
--- /dev/null
+++ b/jetty-ee8/jetty-ee8-jaas/pom.xml
@@ -0,0 +1,214 @@
+
+
+ org.eclipse.jetty.ee8
+ jetty-ee8
+ 12.0.0-SNAPSHOT
+
+
+ 4.0.0
+ jetty-ee8-jaas
+ EE9 :: Jetty :: JAAS
+ Jetty JAAS support
+
+
+ ${project.groupId}.jaas
+ 2.0.0.AM26
+ 2.1.0
+ org.eclipse.jetty.jaas.*
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-resources-plugin
+
+
+ copy-ee8-resources
+ generate-resources
+
+ copy-resources
+
+
+ ${project.build.outputDirectory}
+
+
+ ${maven.multiModuleProjectDirectory}/jetty-ee9/jetty-ee9-jaas/src/main/resources
+
+
+
+
+
+ copy-ee8-test-resources
+ generate-test-resources
+
+ copy-resources
+
+
+ ${project.build.testOutputDirectory}
+
+
+ ${maven.multiModuleProjectDirectory}/jetty-ee9/jetty-ee9-jaas/src/test/resources
+
+
+
+
+
+
+
+ org.eclipse.jetty.toolchain
+ jetty-modify-sources-maven-plugin
+
+
+ generate-ee8-sources
+ generate-sources
+
+ modify-sources-ee9-to-ee8
+
+
+ ${maven.multiModuleProjectDirectory}/jetty-ee9/jetty-ee9-jaas/src/main/java
+ ${project.build.sourceDirectory}
+
+
+
+ generate-ee8-test-sources
+ generate-test-sources
+
+ modify-sources-ee9-to-ee8
+
+
+ true
+ ${maven.multiModuleProjectDirectory}/jetty-ee9/jetty-ee9-jaas/src/test/java
+ ${project.build.testSourceDirectory}
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ false
+ false
+ --add-opens java.base/sun.security.x509=ALL-UNNAMED --add-opens java.base/sun.security.util=ALL-UNNAMED
+
+
+
+
+
+
+
+ org.eclipse.jetty.ee8
+ jetty-ee8-security
+
+
+ org.slf4j
+ slf4j-api
+
+
+ org.eclipse.jetty
+ jetty-slf4j-impl
+ test
+
+
+ org.eclipse.jetty.toolchain
+ jetty-test-helper
+ test
+
+
+ org.apache.directory.server
+ apacheds-test-framework
+ ${apacheds.version}
+ test
+
+
+ junit
+ junit
+
+
+
+ org.apache.directory.shared
+ shared-ldap-schema
+
+
+ org.apache.directory.api
+ api-ldap-schema-data
+
+
+
+
+ org.apache.directory.server
+ apacheds-server-integ
+ ${apacheds.version}
+ test
+
+
+
+ org.apache.directory.shared
+ shared-ldap-schema
+
+
+ org.apache.directory.api
+ api-ldap-schema-data
+
+
+
+
+ org.apache.directory.server
+ apacheds-core-integ
+ ${apacheds.version}
+ test
+
+
+
+ org.apache.directory.shared
+ shared-ldap-schema
+
+
+ org.apache.directory.api
+ api-ldap-schema-data
+
+
+
+
+ org.apache.directory.api
+ api-ldap-schema-data
+ ${apache.directory.api.version}
+ test
+
+
+ org.apache.directory.api
+ api-ldap-model
+ ${apache.directory.api.version}
+
+
+ org.apache.directory.api
+ api-util
+ ${apache.directory.api.version}
+
+
+ org.apache.directory.api
+ api-asn1-api
+ ${apache.directory.api.version}
+
+
+
+ org.junit.vintage
+ junit-vintage-engine
+ ${junit.version}
+ test
+
+
+
+
+
+
diff --git a/jetty-ee8/jetty-ee8-jaas/src/main/config/etc/jetty-jaas.xml b/jetty-ee8/jetty-ee8-jaas/src/main/config/etc/jetty-jaas.xml
new file mode 100644
index 000000000000..881b23292a05
--- /dev/null
+++ b/jetty-ee8/jetty-ee8-jaas/src/main/config/etc/jetty-jaas.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+ java.security.auth.login.config
+
+
+
+
+
+
+
+
+
diff --git a/jetty-ee8/jetty-ee8-jaas/src/main/config/modules/jaas.mod b/jetty-ee8/jetty-ee8-jaas/src/main/config/modules/jaas.mod
new file mode 100644
index 000000000000..bc90bb02cc94
--- /dev/null
+++ b/jetty-ee8/jetty-ee8-jaas/src/main/config/modules/jaas.mod
@@ -0,0 +1,18 @@
+# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html
+
+[description]
+Enables JAAS for deployed web applications.
+
+[depend]
+server
+
+[lib]
+lib/jetty-ee8-jaas-${jetty.version}.jar
+
+[xml]
+etc/jetty-jaas.xml
+
+[ini-template]
+## The file location (relative to $jetty.base) for the
+## JAAS "java.security.auth.login.config" system property
+# jetty.jaas.login.conf=etc/login.conf
diff --git a/jetty-ee8/jetty-ee8-nested/pom.xml b/jetty-ee8/jetty-ee8-nested/pom.xml
index ec676566e9eb..a98adb36fcca 100644
--- a/jetty-ee8/jetty-ee8-nested/pom.xml
+++ b/jetty-ee8/jetty-ee8-nested/pom.xml
@@ -27,10 +27,45 @@
+
+ org.apache.maven.plugins
+ maven-resources-plugin
+
+
+ copy-ee8-resources
+ generate-resources
+
+ copy-resources
+
+
+ ${project.build.outputDirectory}
+
+
+ ${maven.multiModuleProjectDirectory}/jetty-ee9/jetty-ee9-nested/src/main/resources
+
+
+
+
+
+ copy-ee8-test-resources
+ generate-test-resources
+
+ copy-resources
+
+
+ ${project.build.testOutputDirectory}
+
+
+ ${maven.multiModuleProjectDirectory}/jetty-ee9/jetty-ee9-nested/src/test/resources
+
+
+
+
+
+
org.eclipse.jetty.toolchain
jetty-modify-sources-maven-plugin
- 1.0.0-SNAPSHOT
generate-ee8-sources
diff --git a/jetty-ee8/pom.xml b/jetty-ee8/pom.xml
index 2c273fa2eb81..a5cfcafc965c 100644
--- a/jetty-ee8/pom.xml
+++ b/jetty-ee8/pom.xml
@@ -26,6 +26,7 @@
jetty-ee8-servlet
jetty-ee8-servlets
jetty-ee8-webapp
+ jetty-ee8-jaas
diff --git a/jetty-ee9/jetty-ee9-jaas/src/main/config/modules/jaas.mod b/jetty-ee9/jetty-ee9-jaas/src/main/config/modules/jaas.mod
index 9816e7b487cd..e87fcdcd9269 100644
--- a/jetty-ee9/jetty-ee9-jaas/src/main/config/modules/jaas.mod
+++ b/jetty-ee9/jetty-ee9-jaas/src/main/config/modules/jaas.mod
@@ -7,7 +7,7 @@ Enables JAAS for deployed web applications.
server
[lib]
-lib/jetty-jaas-${jetty.version}.jar
+lib/jetty-ee9-jaas-${jetty.version}.jar
[xml]
etc/jetty-jaas.xml