Spring Boot based sample application to show case java configurations for multiple authentication flow - Siteminder SSO and Form based Login.
Clone the repository, use maven to package it as a jar and then run the jar from the target folder
git clone https://github.com/aashaysaralkar/spring-security-multi-auth.git
cd spring-security-multi-auth
mvnw package -DskipTests
cd target
java -jar multiAuthSecurityApp-0.0.1-SNAPSHOT.jar
After running the application, navigate to http://localhost:8080/internal/login
Application recognizes one user with username 'user'
and password 'password'
. Once you login, dashboard page is shown
If you enter invalid credentials, error message is shown on the login page
Typical SiteMinder architecture will have a web server with a SiteMinder agent and an Application server. If user requests for SSO protected resource, post authentication and authorization checks, request will be forwarded to the application with user token in SM_USER header
The code in this project is licensed under MIT license.