This is an automated email from the ASF dual-hosted git repository.

lprimak pushed a commit to branch 3.x
in repository https://gitbox.apache.org/repos/asf/shiro.git

commit 01cbfeb644454f6aa62018b27580e47001802697
Author: lprimak <[email protected]>
AuthorDate: Thu Jan 22 03:10:34 2026 -0600

    wip: fixed ShrioBeansIT Jakarta EE test
---
 .../shiro/testing/jakarta/ee/servlets/InvalidateSessionServlet.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/integration-tests/jakarta-ee/src/main/java/org/apache/shiro/testing/jakarta/ee/servlets/InvalidateSessionServlet.java
 
b/integration-tests/jakarta-ee/src/main/java/org/apache/shiro/testing/jakarta/ee/servlets/InvalidateSessionServlet.java
index f1205e95a..e54788cdd 100644
--- 
a/integration-tests/jakarta-ee/src/main/java/org/apache/shiro/testing/jakarta/ee/servlets/InvalidateSessionServlet.java
+++ 
b/integration-tests/jakarta-ee/src/main/java/org/apache/shiro/testing/jakarta/ee/servlets/InvalidateSessionServlet.java
@@ -29,6 +29,6 @@ public class InvalidateSessionServlet extends HttpServlet {
 
     @Override
     protected void doGet(HttpServletRequest request, HttpServletResponse 
response) throws ServletException, IOException {
-        request.logout();
+        request.getSession().invalidate();
     }
 }

Reply via email to