Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 452 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 452 Bytes

spring-security-jwt

This project contains details of how to use Spring Security and implement JWT based authentication and authorization.

Adding Spring Security authentication

  • Username & password are hard-coded for now

Adding /authenticate API endpoint for creating JWT

  • Accept user ID and password
  • Return JWT as a response

Intercept all incoming requests

  • Extract JWT from the header
  • Validate and set in execution context