Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to spengo library 2.0 and hence to Jakarta EE 10. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#Silverpeas-Spnego-Undertow

This project depends on [Silverpeas-Spnego](http://github.com/Silverpeas/Silverpeas-Spnego) project.
It permits to install dynamically, at Silverpeas's starting, the HTTP Filter which handles the SSO authentication with Kerberos / SPNEGO protocol.
This project depends on the [Silverpeas-Spnego](http://github.com/Silverpeas/Silverpeas-Spnego)
project.
It allows to install dynamically, at Silverpeas's starting, the HTTP Filter which handles the SSO
authentication with Kerberos / SPNEGO protocol.

This library must be put into WEB-INF/lib folder of the application server, which is working with [Undertow](http://undertow.io), in order to be taken into account.
This library must be put into WEB-INF/lib folder of the application server, which is working
with [Undertow](http://undertow.io), in order to be taken into account.
21 changes: 16 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,16 @@
<name>Silverpeas SPNEGO Filter Setup</name>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<undertow.version>2.2.24.Final</undertow.version>
<undertow.version>2.3.8.Final</undertow.version>
</properties>

<dependencies>
<dependency>
<groupId>org.silverpeas.spnego</groupId>
<artifactId>silverpeas-spnego</artifactId>
<version>1.0</version>
<version>2.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand All @@ -39,10 +38,21 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<release>${maven.compiler.release}</release>
<encoding>UTF-8</encoding>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.4.1</version>
<version>3.0.1</version>
<configuration>
<localCheckout>true</localCheckout>
<pushChanges>false</pushChanges>
Expand All @@ -54,6 +64,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import io.undertow.servlet.api.DeploymentInfo;
import io.undertow.servlet.api.FilterInfo;

import javax.servlet.DispatcherType;
import javax.servlet.ServletContext;
import jakarta.servlet.DispatcherType;
import jakarta.servlet.ServletContext;
import java.util.StringTokenizer;

/**
Expand Down