Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

SAML extension for the Spring Security project


Notifications You must be signed in to change notification settings


Repository files navigation

Maintenance Mode

This project is in maintenance mode and will each End-of-Life on 6 October 2021. Please use Spring Security’s SAML support instead.

In the past, there were develop and develop-3.0 branches, though these are not maintained, and PRs are no longer being considered on these branches. No further releases will be issued from these two branches. Please feel free to fork the repository if you need to make changes.

We continue to consider pull requests for 1.0.x bug fixes, but are not actively developing this project.


Build Status

Spring SAML

Spring SAML Extension allows seamless inclusion of SAML 2.0 Service Provider capabilities in Spring applications. All products supporting SAML 2.0 in Identity Provider mode (e.g. ADFS 2.0, Shibboleth, OpenAM/OpenSSO, Ping Federate, Okta) can be used to connect with Spring SAML Extension.

For a detailed list of features and access to the latest release, please visit Spring projects.

Code of Conduct

Please see our code of conduct.


Spring Security SAML publishes GA (general availability) versions to Maven Central, so you can just add the following to your POM:


or the following to build.gradle:

implementation ''

See downloading Spring artifacts for more information.


Be sure to read the Spring Security SAML Reference. JavaDoc is also available in the Spring Security API Documentation.

Quick Start

Or, feel free to check out an online demonstration.

Building from Source

Spring Security SAML uses a Gradle-based build system. In the instructions below, ./gradlew is invoked from the root of the source tree and serves as a cross-platform, self-contained bootstrap mechanism for the build.


Git and a JDK, Spring Security SAML is compatible with JDK 1.6.

Be sure that your JAVA_HOME environment variable points to the JDK folder extracted from the download.

Checkout sources

git clone

Install all spring-\* jars into your local Maven cache

./gradlew install

Compile and test; build all jars, distribution zips, and docs

./gradlew build

Discover more commands with ./gradlew tasks. See also Spring Framework’s Build from Source documentation.

Getting Support


Pull requests are welcome; see the contributor guidelines for details.