Skip to content

Commit

Permalink
feat: Upgrade To Tomcat 10 - Meeds-io/MIPs#76
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker committed Dec 11, 2023
1 parent 3ce221c commit cff31fe
Show file tree
Hide file tree
Showing 52 changed files with 54 additions and 4,806 deletions.
11 changes: 6 additions & 5 deletions agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,16 @@
<artifactId>httpclient</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.security</groupId>
<artifactId>jboss-negotiation-spnego</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.picketlink</groupId>
<artifactId>picketlink-federation</artifactId>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.apache.santuario</groupId>
<artifactId>xmlsec</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.picketlink.distribution</groupId>
Expand Down
2 changes: 1 addition & 1 deletion agent/src/main/java/org/gatein/sso/agent/GenericAgent.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
import org.exoplatform.container.RootContainer;
import org.exoplatform.services.organization.OrganizationService;

import javax.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletRequest;

/**
* Base agent superclass used by other SSO agents (CAS, OpenAM)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
import java.io.UnsupportedEncodingException;
import java.util.Map;

import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import jakarta.servlet.FilterChain;
import jakarta.servlet.ServletException;
import jakarta.servlet.ServletRequest;
import jakarta.servlet.ServletResponse;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import jakarta.servlet.http.HttpSession;

/**
* @author <a href="mailto:[email protected]">Sohil Shah</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

import java.io.IOException;

import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import jakarta.servlet.*;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

import org.apache.commons.lang.StringUtils;
import org.exoplatform.services.log.ExoLogger;
Expand Down Expand Up @@ -167,8 +167,6 @@ protected String getLoginRedirectUrl(HttpServletRequest req) {
username = fakePassword;
}

// Use sessionId and system millis as password (similar like spnego is
// doing)
url.append("?username=").append(username).append("&password=").append(fakePassword);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@

import java.io.IOException;

import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import jakarta.servlet.FilterChain;
import jakarta.servlet.ServletException;
import jakarta.servlet.ServletRequest;
import jakarta.servlet.ServletResponse;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import org.exoplatform.services.log.Log;
import org.gatein.sso.agent.opensso.OpenSSOAgentImpl;

import javax.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletRequest;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.text.SimpleDateFormat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
package org.gatein.sso.agent.filter;

import java.net.URLEncoder;
import javax.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletRequest;

//Works for GateIn Portal Logout URL = {AnyURL}?portal:componentId=UIPortal&portal:action=Logout

Expand Down

This file was deleted.

96 changes: 0 additions & 96 deletions agent/src/main/java/org/gatein/sso/agent/filter/SPNEGOFilter.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
import org.exoplatform.services.log.ExoLogger;
import org.exoplatform.services.log.Log;

import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import jakarta.servlet.FilterConfig;
import jakarta.servlet.ServletException;

/**
* Base {@link SSOInterceptor} which adds possibility to be initialized either through Servlet API or through eXo kernel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import org.exoplatform.container.ExoContainerContext;
import org.exoplatform.container.xml.InitParams;

import javax.servlet.Filter;
import jakarta.servlet.Filter;

/**
* SSOInterceptor is actually filter, which can be configured through exo kernel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import org.exoplatform.container.xml.InitParams;
import org.exoplatform.container.xml.ValueParam;

import javax.servlet.FilterConfig;
import jakarta.servlet.FilterConfig;

/**
* Context, which encapsulates all initialization configuration about {@link SSOInterceptor} and is able to recognize
Expand Down
Loading

0 comments on commit cff31fe

Please sign in to comment.