-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Upgrade To Tomcat 10 - Meeds-io/MIPs#76
- Loading branch information
Showing
31 changed files
with
163 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,19 +16,20 @@ | |
*/ | ||
package org.gatein.wci.test.authentication; | ||
|
||
import java.io.IOException; | ||
import java.util.LinkedList; | ||
|
||
import org.gatein.wci.ServletContainer; | ||
import org.gatein.wci.ServletContainerFactory; | ||
import org.gatein.wci.authentication.AuthenticationEvent; | ||
import org.gatein.wci.authentication.AuthenticationException; | ||
import org.gatein.wci.authentication.AuthenticationListener; | ||
import org.gatein.wci.security.Credentials; | ||
|
||
import javax.servlet.ServletException; | ||
import javax.servlet.http.HttpServlet; | ||
import javax.servlet.http.HttpServletRequest; | ||
import javax.servlet.http.HttpServletResponse; | ||
import java.io.IOException; | ||
import java.util.LinkedList; | ||
import jakarta.servlet.ServletException; | ||
import jakarta.servlet.http.HttpServlet; | ||
import jakarta.servlet.http.HttpServletRequest; | ||
import jakarta.servlet.http.HttpServletResponse; | ||
|
||
/** @author <a href="mailto:[email protected]">Julien Viet</a> */ | ||
public class AuthenticationServlet extends HttpServlet | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,20 +16,21 @@ | |
*/ | ||
package org.gatein.wci.test.crosscontext; | ||
|
||
import java.io.IOException; | ||
|
||
import org.gatein.wci.RequestDispatchCallback; | ||
import org.gatein.wci.ServletContainer; | ||
import org.gatein.wci.ServletContainerFactory; | ||
import org.gatein.wci.WebApp; | ||
import org.gatein.wci.security.Credentials; | ||
import org.gatein.wci.test.WebAppRegistry; | ||
|
||
import javax.servlet.ServletContext; | ||
import javax.servlet.ServletException; | ||
import javax.servlet.http.HttpServlet; | ||
import javax.servlet.http.HttpServletRequest; | ||
import javax.servlet.http.HttpServletResponse; | ||
import javax.servlet.http.HttpSession; | ||
import java.io.IOException; | ||
import jakarta.servlet.ServletContext; | ||
import jakarta.servlet.ServletException; | ||
import jakarta.servlet.http.HttpServlet; | ||
import jakarta.servlet.http.HttpServletRequest; | ||
import jakarta.servlet.http.HttpServletResponse; | ||
import jakarta.servlet.http.HttpSession; | ||
|
||
/** @author <a href="mailto:[email protected]">Julien Viet</a> */ | ||
public class CrossContextServlet extends HttpServlet | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,9 @@ | |
*/ | ||
package org.gatein.wci.test.deployment; | ||
|
||
import junit.framework.Assert; | ||
import junit.framework.AssertionFailedError; | ||
import java.util.HashSet; | ||
import java.util.Set; | ||
|
||
import org.gatein.wci.ServletContainer; | ||
import org.gatein.wci.ServletContainerFactory; | ||
import org.gatein.wci.WebApp; | ||
|
@@ -32,8 +33,8 @@ | |
import org.jboss.shrinkwrap.api.spec.WebArchive; | ||
import org.junit.Test; | ||
|
||
import java.util.HashSet; | ||
import java.util.Set; | ||
import junit.framework.Assert; | ||
import junit.framework.AssertionFailedError; | ||
|
||
/** @author <a href="mailto:[email protected]">Julien Viet</a> */ | ||
public abstract class AbstractDeploymentTestCase extends AbstractWCITestCase | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,10 +16,11 @@ | |
*/ | ||
package org.gatein.wci.test.deployment; | ||
|
||
import javax.servlet.ServletContextEvent; | ||
import javax.servlet.ServletContextListener; | ||
import java.util.HashSet; | ||
|
||
import jakarta.servlet.ServletContextEvent; | ||
import jakarta.servlet.ServletContextListener; | ||
|
||
/** @author <a href="mailto:[email protected]">Julien Viet</a> */ | ||
public class NativeSkipFilter implements ServletContextListener | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,9 @@ | |
*/ | ||
package org.gatein.wci.test.requestdispatch; | ||
|
||
import junit.framework.Assert; | ||
import java.net.HttpURLConnection; | ||
import java.net.URL; | ||
|
||
import org.gatein.wci.test.AbstractWCITestCase; | ||
import org.jboss.arquillian.container.test.api.Deployment; | ||
import org.jboss.arquillian.container.test.api.OperateOnDeployment; | ||
|
@@ -26,8 +28,7 @@ | |
import org.jboss.shrinkwrap.api.spec.WebArchive; | ||
import org.junit.Test; | ||
|
||
import java.net.HttpURLConnection; | ||
import java.net.URL; | ||
import junit.framework.Assert; | ||
|
||
/** @author <a href="mailto:[email protected]">Julien Viet</a> */ | ||
public abstract class AbstractRequestDispatchTestCase extends AbstractWCITestCase | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,13 +16,14 @@ | |
*/ | ||
package org.gatein.wci.test.requestdispatch; | ||
|
||
import java.io.IOException; | ||
|
||
import org.gatein.wci.ServletContextDispatcher; | ||
|
||
import javax.servlet.ServletContext; | ||
import javax.servlet.ServletException; | ||
import javax.servlet.http.HttpServletRequest; | ||
import javax.servlet.http.HttpServletResponse; | ||
import java.io.IOException; | ||
import jakarta.servlet.ServletContext; | ||
import jakarta.servlet.ServletException; | ||
import jakarta.servlet.http.HttpServletRequest; | ||
import jakarta.servlet.http.HttpServletResponse; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Julien Viet</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,17 +16,18 @@ | |
*/ | ||
package org.gatein.wci.test.requestdispatch; | ||
|
||
import java.io.IOException; | ||
|
||
import org.gatein.wci.ServletContainer; | ||
import org.gatein.wci.ServletContainerFactory; | ||
import org.gatein.wci.ServletContextDispatcher; | ||
import org.gatein.wci.WebApp; | ||
import org.gatein.wci.test.WebAppRegistry; | ||
|
||
import javax.servlet.ServletException; | ||
import javax.servlet.http.HttpServlet; | ||
import javax.servlet.http.HttpServletRequest; | ||
import javax.servlet.http.HttpServletResponse; | ||
import java.io.IOException; | ||
import jakarta.servlet.ServletException; | ||
import jakarta.servlet.http.HttpServlet; | ||
import jakarta.servlet.http.HttpServletRequest; | ||
import jakarta.servlet.http.HttpServletResponse; | ||
|
||
/** @author <a href="mailto:[email protected]">Julien Viet</a> */ | ||
public class RequestDispatchServlet extends HttpServlet | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,10 +26,11 @@ | |
import org.apache.catalina.ContainerServlet; | ||
import org.apache.catalina.Engine; | ||
import org.apache.catalina.Wrapper; | ||
import org.slf4j.LoggerFactory; | ||
import org.slf4j.Logger; | ||
import javax.servlet.ServletException; | ||
import javax.servlet.http.HttpServlet; | ||
import org.slf4j.LoggerFactory; | ||
|
||
import jakarta.servlet.ServletException; | ||
import jakarta.servlet.http.HttpServlet; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Alain Defrance</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,17 +24,17 @@ | |
|
||
import java.io.IOException; | ||
|
||
import javax.servlet.ServletRequest; | ||
import javax.servlet.ServletRequestEvent; | ||
import javax.servlet.ServletRequestListener; | ||
import javax.servlet.http.HttpSession; | ||
|
||
import org.apache.catalina.Context; | ||
import org.apache.catalina.Manager; | ||
import org.apache.catalina.Session; | ||
import org.apache.catalina.Wrapper; | ||
import org.gatein.wci.spi.CatalinaWebAppContext; | ||
|
||
import jakarta.servlet.ServletRequest; | ||
import jakarta.servlet.ServletRequestEvent; | ||
import jakarta.servlet.ServletRequestListener; | ||
import jakarta.servlet.http.HttpSession; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Alain Defrance</a> | ||
* @version $Revision: 1.0 $ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.