Skip to content

omgshalihin/spring-security-starter-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Authentication & Authorization With JWT

Background

  • ................
  • Under Construction
  • ................ JWT explanation.png

Spring Security Basic Authentication

Update JWT Token Expiration

inside JWTService.java class, modify MINUTES

Retrieve 256_BIT_SECRET

Encryption Key Generator

  • options:
    • 256-bit
    • Hex? Yes
    • How many? 1

Environment Variables

Create a file named env.properties in src/main/resources folder Include and change the following environment variables:

DB_USER=<db_user_name>
DB_PWD=<db_user_password>
DB_ENDPOINT=<db_endpoint/cluster>
DB_NAME=<db_name>
JWT_256_BIT_SECRET=<256_BIT_SECRET>

About

Spring Security Authentication & Authorization - JWT:A starter template to implement JWT into spring projects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published