uhudpoyraz / spring-security-jwt

In this article, we will be creating a sample REST CRUD APIs and provide JWT role based authorization using spring security to these APIs. We will be using spring boot 2.0 and JWT 0.9.0. In the DB, we will have two roles defined as ADMIN and USER with custom UserDetailsService implemented and based on these roles the authorization will be decided. We will be using spring data to perform our CRUD operations and spring provided annotations such as @PreAuthorize, @Secured and @EnableGlobalMethodSecurity for authorization.

Home Page:http://www.devglan.com/spring-security/jwt-role-based-authorization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uhudpoyraz/spring-security-jwt Issues

No issues in this repository yet.