Skip to content

Example of multi-login pages configuration with Spring Boot and Spring Security

Notifications You must be signed in to change notification settings

bslota/multi-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Multi-login is an example of how to configure Spring Security so that we have different login pages for different URL path patterns. It also shows how to test such configuration. This project is described in one of my blog posts: bartslota.blogspot.com

Building

mvn clean install

Running

Maven

mvn spring-boot:run

Maven wrapper

Windows

mvnw spring-boot:run

Linux

./mvnw spring-boot:run

Java

java -jar target/multi-login-0.0.1-SNAPSHOT.jar

Usage

  • Regular home page: localhost:8080/regular/home
  • Regular login page: localhost:8080/regular/login
  • Special home page: localhost:8080/special/home
  • Special login page: localhost:8080/special/login

About

Example of multi-login pages configuration with Spring Boot and Spring Security

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published