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
This change will fork PL IDM to maintain compatibility with Tomcat 10 until this is reworked with more modern framework after Meeds-io/MIPs#57 is reworked.
  • Loading branch information
boubaker committed Dec 17, 2023
1 parent bd92e89 commit d6e9a05
Show file tree
Hide file tree
Showing 143 changed files with 18,617 additions and 2,214 deletions.
24 changes: 2 additions & 22 deletions agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<parent>
<groupId>org.exoplatform.gatein.sso</groupId>
<artifactId>sso-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>6.6.x-mips-SNAPSHOT</version>
</parent>

Expand All @@ -17,17 +16,13 @@

<dependencies>
<dependency>
<groupId>org.exoplatform.gatein.sso</groupId>
<groupId>${project.groupId}</groupId>
<artifactId>sso-auth-callback</artifactId>
</dependency>
<dependency>
<groupId>org.gatein.common</groupId>
<artifactId>common-common</artifactId>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-catalina</artifactId>
<scope>provided</scope>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.exoplatform.core</groupId>
Expand All @@ -44,21 +39,6 @@
<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>
</dependency>
<dependency>
<groupId>org.picketlink.distribution</groupId>
<artifactId>picketlink-wildfly8</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
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
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 d6e9a05

Please sign in to comment.