Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Spring Security with JSON Web Token and Refresh Token
Rating: 4.4 out of 5(538 ratings)
3,297 students

Spring Security with JSON Web Token and Refresh Token

Learn how to use JSON Web Token and Refresh Token to secure REST APIs, manage user roles and permissions
Created byGet Arrays
Last updated 7/2021
English
English [Auto],Spanish [Auto],

What you'll learn

  • JSON Web Token (JWT)
  • Authentication
  • Authorization
  • Stateless Session Policy
  • Manage User Security Roles
  • Manage User Security Permissions
  • Password Encryption
  • Role-based Access Control

Course content

6 sections18 lectures2h 3m total length
  • Intro0:55

    Learn to implement spring security with json web tokens and refresh tokens for login, access control, and a starter project with user roles and permissions.

  • JWT (JSON Web Token)4:00

    Explore jwt (json web token) as a small, self-contained tool for transmitting user information and permissions for api authorization, using header, payload, and signature.

  • Authentication and Authorization3:01

    Authentication verifies who you are by checking credentials via a login form. Authorization uses tokens to determine access to resources based on permissions and roles.

  • Security with JWT (JSON Web Token)3:00

    See how authentication issues a token after credentials are validated, enabling secure requests to access resources. Learn how access tokens and refresh tokens work together to maintain seamless authorization.

Requirements

  • Familiarity with Java, Spring Framework

Description

JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object - (from JWT website). In this course, you will understand and learn how to generate and sign a Json Web Token with a refresh token that users can use to securely access your RESTful application.
This course teaches how to use JWT (JSON Web Token) to embed users' roles and permissions to delegate user's authorization(what they can and can't do) in the application. This course also dives into defining and creating API, exposing API Endpoints over HTTP, and  handling HTTP Requests and File Upload through API Endpoints. It covers testing API Endpoints (using an HTTP client - Postman).

This course is short and focuses only on the generation of a JSON web token with a refresh token, and shows how you can use the refresh token to generate a new access token for a user. If you would like to learn more and build a full stack application and see how of this in practice, and way much more, please refer to my other course on Udemy, JSON Web Token (JWT) with Spring Security And Angular

Who this course is for:

  • Developers interested in JSON Web Token (JWT)
  • Developers interested in Spring Security
  • Developers interested in role-based application management