Pinned Repositories
blu-util-backend
config-server
earthenterprise
Google Earth Enterprise - Open Source
java_interview_program
laravel-breadcrumbs
Laravel Breadcrumbs - A simple Laravel-style way to create breadcrumbs
relationalDB
resttemplate
Rest Templete example with schduler
sendMail
send email using java by webservice
springJPA
simple Registration and login web services using JPA and mysql
springjwt-rolebase-auth-token
giribhagwan's Repositories
giribhagwan/relationalDB
giribhagwan/resttemplate
Rest Templete example with schduler
giribhagwan/sendMail
send email using java by webservice
giribhagwan/springJPA
simple Registration and login web services using JPA and mysql
giribhagwan/springjwt-rolebase-auth-token
giribhagwan/blu-util-backend
giribhagwan/config-server
giribhagwan/earthenterprise
Google Earth Enterprise - Open Source
giribhagwan/java_interview_program
giribhagwan/laravel-breadcrumbs
Laravel Breadcrumbs - A simple Laravel-style way to create breadcrumbs
giribhagwan/microservice-example
giribhagwan/MVCExample
giribhagwan/paypalexample
giribhagwan/Spring-aop
Spring aop example
giribhagwan/spring-cloud-config-example
giribhagwan/spring-mvc-sample
A sample Spring MVC project demonstrating various aspects of the framework.
giribhagwan/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.
giribhagwan/SpringBootJunit-example
Using MockMvc