Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Java
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/main/java/org/silverpeas/spnego
.gitignore
LICENSE.TXT
README.md
pom.xml

README.md

Silverpeas-Spnego

This project is a fork of the spnego.sourceforge.net project

In order to perform user authentication in our Silverpeas product by SSO mechanism using SPNEGO and Kerberos, we were interested in the Sourceforge Spnego project. Despite several successful integration tests, we identified some additional needs in order to manage more precisely in a JEE application, such as Silverpeas, the different possible errors that can happen during the SSO process for a user. We then made ​​the necessary developments and have proposed them as a contribution to the project https://github.com/joval/SPNEGO. As it has not been integrated, and after several months without any response, we decided to make our own fork of the project that includes our needs.

The contributions of Silverpeas's version :

  • adding apache maven building capabilities
  • adding typed runtime exception that can be used to handle SSO errors in the JEE application (not activated by default, to activate it set the added filter parameter "spnego.throw.typedRuntimeException" to true)
  • upgrading the SPNEGO HTTP Filter so that it can be used in several URL matching (filter mapping)
  • modifying the extraction of remote user name (removing from the Kerberos Principal only the part of the Kerberos REALM)
Something went wrong with that request. Please try again.