Giter VIP home page Giter VIP logo

spring-security-multi-auth's Introduction

Spring Security Multi-Authentication Showcase

Spring Boot based sample application to show case java configurations for multiple authentication flow - Siteminder SSO and Form based Login.

Getting started/Running the application

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

Testing form login

After running the application, navigate to http://localhost:8080/internal/login

Login Screen

Application recognizes one user with username 'user' and password 'password'. Once you login, dashboard page is shown

Dashboard Screen

If you enter invalid credentials, error message is shown on the login page

Logout Screen

Testing Siteminder SSO login

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

Credits

I would like to thank folks at

  1. https://startbootstrap.com for providing free Bootstrap Admin templates. This demo uses https://startbootstrap.com/template-categories/admin-dashboard/
  2. https://www.tutorialrepublic.com for posting easy to use code snippets for a Bootstrap login form. This demo uses https://www.tutorialrepublic.com/codelab.php?topic=bootstrap&file=login-form-like-google

Licensing

The code in this project is licensed under MIT license.

spring-security-multi-auth's People

Contributors

aashaysaralkar avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.