Skip to content

Backend of web application with Spring Security. Application checks if user with inserted credentials exist in database, gives him jwt token if authentication was successful, also checks jwt token from user while authorization.

Notifications You must be signed in to change notification settings

SavaGevel/WebAppWithSpringSecurityAndJwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebAppWithSpringSecurityAndJwt

Backend of web application with Spring Security. Application checks if user with inserted credentials exist in database, gives him jwt token if authentication was successful, also checks jwt token from user while authorization.

To start the application you have to tune application.property file:

Снимок экрана 2022-04-25 в 17 40 10

Choose server port you want for app and write it as server.port value.

Also specify database properties like url, username and password.

jwt.token.secret value is used like secret word for creating a jwt tokens.

jwt.token.expired value is a validity time for jwt token in milliseconds.

About

Backend of web application with Spring Security. Application checks if user with inserted credentials exist in database, gives him jwt token if authentication was successful, also checks jwt token from user while authorization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages