Skip to content

Silverpeas/Silverpeas-Sso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A project to centralize the different SSO mechanisms Silverpeas is able to deal with. Each handled SSO mechanism corresponds to a MAVEN module.

Azure module

This module uses Microsoft Azure Active Directory Authentication Library (ADAL) for Java (https://github.com/AzureAD/azure-activedirectory-library-for-java) to perform SSO with underlying OAuth2.0 Security protocol.

Kerberos module

This module uses Keberos with SPNEGO protocol to perform SSO.

This module is a kind of 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] (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)
  • using Silverpeas's Logger API

About

SSO mechanisms supported by Silverpeas

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages