Skip to content

origoni/springboot-security-demo4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springboot-security-demo4 Build Status

springboot-security-demo4

  • Spring Boot 2 & Spring Security 5
  • User Join (with @Valid)
  • User Login (with RememberMe)
  • Use simple(single) Role
  • Method level security (@PreAuthorize)
  • XSS & CSRF TEST

NEXT

  • User authentication management

Reference

Quick Start

Pre Installed

  • JDK 1.8 (or Java 10)
  • Maven 3.5
  • Git

Run

git clone https://github.com/origoni/springboot-security-demo4.git
cd springboot-security-demo4
mvn spring-boot:run

Test

http://localhost:9094

  • id = admin
  • pw = adminPassword

http://localhost:9094/h2-console

Tested

  • STS(Eclipse) 3.8.4
  • IntelliJ IDEA 2018.1.5
//@formatter:off & //@formatter:on
eclipse : Preferences -> Java -> Code style -> Formatter -> Edit... (or New...) > Off/On Tags
intellij : Preferences -> Editor -> Code Style > Formatter Control > Enable formatter markers in comments

Dependency

Spring Boot 2.0.3.RELEASE

  • spring-boot-starter-web
  • spring-boot-starter-security

Environment

  • Java version: 8 Update 172 or 10.0.1
  • Spring Boot version: 2.0.3
  • Maven version: 3.5.2
  • Lombok version: 1.16.22
  • Default Encoding: UTF-8
  • Default SCM : git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published