Skip to content

In this article, we will see how to secure a spring-boot-2.0 MVC pattern application using spring basic security. a user can registration with user name & password as a role base and user can update password. after user login a can view module by role wise. it's has two role admin and user.

Notifications You must be signed in to change notification settings

ahsumon85/spring-security-thymeleaf-jpa-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

spring-boot-security

In this article, we will see how to secure a spring-boot-2.0 MVC pattern application using spring basic security. a user can registration with user name & password as a role base and user can update password. after user login a can view module by role wise. it's has two role admin and user.

Import spring-boot-security

  1. $ clone git https://github.com/ahasanhabibsumon/spring-boot-security.git
  2. $ mvn clean install
  3. $ mvn spring-boot:run
  4. or import maven project on IDE

MySQL database configuration

  1. change database user user_name and password.
  2. create database spring_crud;

Run spring-boot-security project

Go to browser and enter URL http://localhost:8088

About

In this article, we will see how to secure a spring-boot-2.0 MVC pattern application using spring basic security. a user can registration with user name & password as a role base and user can update password. after user login a can view module by role wise. it's has two role admin and user.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published