Allow the use of Tomcat 10 using the jakarta namespace
parent
d0de8bb6e2
commit
3131b0f42c
6
pom.xml
6
pom.xml
|
@ -21,18 +21,18 @@
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<java.version>1.7</java.version>
|
<java.version>17</java.version>
|
||||||
|
|
||||||
<jedis.version>3.0.1</jedis.version>
|
<jedis.version>3.0.1</jedis.version>
|
||||||
<commons-pool2.version>2.6.2</commons-pool2.version>
|
<commons-pool2.version>2.6.2</commons-pool2.version>
|
||||||
<slf4j-api.version>1.7.26</slf4j-api.version>
|
<slf4j-api.version>1.7.26</slf4j-api.version>
|
||||||
|
|
||||||
<maven-compiler.version>3.6.1</maven-compiler.version>
|
<maven-compiler.version>3.6.1</maven-compiler.version>
|
||||||
<source-java.version>1.7</source-java.version>
|
<source-java.version>17</source-java.version>
|
||||||
<target-java.version>${source-java.version}</target-java.version>
|
<target-java.version>${source-java.version}</target-java.version>
|
||||||
|
|
||||||
<!-- For local development properties begins.. -->
|
<!-- For local development properties begins.. -->
|
||||||
<tomcat.version>8.5.32</tomcat.version>
|
<tomcat.version>10.1.33</tomcat.version>
|
||||||
<!-- For local development properties end.. -->
|
<!-- For local development properties end.. -->
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import tomcat.request.session.exception.BackendException;
|
import tomcat.request.session.exception.BackendException;
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
import jakarta.servlet.ServletException;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
/** author: Ranjith Manickam @ 12 Jul' 2018 */
|
/** author: Ranjith Manickam @ 12 Jul' 2018 */
|
||||||
|
|
|
@ -17,8 +17,8 @@ import org.slf4j.LoggerFactory;
|
||||||
import tomcat.request.session.exception.BackendException;
|
import tomcat.request.session.exception.BackendException;
|
||||||
import tomcat.request.session.model.SingleSignOnEntry;
|
import tomcat.request.session.model.SingleSignOnEntry;
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
import jakarta.servlet.ServletException;
|
||||||
import javax.servlet.http.Cookie;
|
import jakarta.servlet.http.Cookie;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.security.Principal;
|
import java.security.Principal;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
|
@ -4,12 +4,12 @@ import java.io.IOException;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.Enumeration;
|
import java.util.Enumeration;
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
import jakarta.servlet.ServletException;
|
||||||
import javax.servlet.annotation.WebServlet;
|
import jakarta.servlet.annotation.WebServlet;
|
||||||
import javax.servlet.http.HttpServlet;
|
import jakarta.servlet.http.HttpServlet;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import jakarta.servlet.http.HttpServletResponse;
|
||||||
import javax.servlet.http.HttpSession;
|
import jakarta.servlet.http.HttpSession;
|
||||||
|
|
||||||
@WebServlet("/")
|
@WebServlet("/")
|
||||||
public class SessionManagerTest extends HttpServlet {
|
public class SessionManagerTest extends HttpServlet {
|
||||||
|
@ -44,7 +44,7 @@ public class SessionManagerTest extends HttpServlet {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* method to send response
|
* method to send response
|
||||||
*
|
*
|
||||||
* @param response
|
* @param response
|
||||||
* @param responseData
|
* @param responseData
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
|
@ -57,7 +57,7 @@ public class SessionManagerTest extends HttpServlet {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* method to get actions
|
* method to get actions
|
||||||
*
|
*
|
||||||
* @param request
|
* @param request
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
@ -95,7 +95,7 @@ public class SessionManagerTest extends HttpServlet {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* method to set session values
|
* method to set session values
|
||||||
*
|
*
|
||||||
* @param session
|
* @param session
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
@ -108,7 +108,7 @@ public class SessionManagerTest extends HttpServlet {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* method to get session values
|
* method to get session values
|
||||||
*
|
*
|
||||||
* @param session
|
* @param session
|
||||||
* @param action
|
* @param action
|
||||||
* @return
|
* @return
|
||||||
|
|
Loading…
Reference in New Issue