Tag: authorization

  • How to implement authorization using JWT/OAuth2 in Spring Boot?

    There are two main aspects in Security: Authentication deals with whether the user who tries to access an application is a legitimate user. Authorization deals with whether the user has rights to read/modify a particular resource in the application. In this post let us look into authorization in Spring Boot. Let us consider an application…

  • How to do user authorization in Spring Boot?

    Let’s say you have created a Spring Boot application and protected it using a login form. If any user tries to access your application they are presented with a login form . If the user name and password match , they are allowed to access your screens. If you want to know how to implement…

  • How does OAuth 2.0 work?

    Let’s say you have created an API. You want to protect it. There are so many ways to do so. And one of the most efficient way to do is to protect it using OAuth 2.0. As oauth0.com explains: OAuth 2.0 is a protocol that allows a user to grant limited access to their resources on…