springsecuredthymeleafapp

Repository for source code of secured application using spring and thymeleaf

springsecuredthymeleafapp

Repository for source code of secured application using spring and thymeleaf

Technology Stack

MongoDb
Spring Security
Lombok
Thymeleaf
Spring Acutator for Metrics
Logback for Logging
Redis for Cache and sessions

How to setup the environment

Download Mongodb from https://www.mongodb.com/download-center?jmp=nav#community and select version based on OS and CPU Architecture
Download Redis from https://github.com/MSOpenTech/redis/releases (this is explicitly for WindowsOS x64) and to install just click on next and next this will install redis as service. 
    To verify if Redis is running click on cmd and enter services.msc, here we can see the status, if redis is not runnining start it

TODO

We can use a Cron Job to check for token expiration in the background
We can give the user the opportunity to get a new token once it has expired
Disable browser back button