Security implementation

This commit is contained in:
harish
2024-08-21 18:21:20 +05:30
parent 324490da69
commit 7a080504aa
30 changed files with 721 additions and 78 deletions

View File

@@ -23,4 +23,13 @@ spring.liquibase.enabled=true
# Debugging and SQL Output
logging.level.org.springframework.boot.autoconfigure.liquibase=ERROR
logging.level.liquibase=ERROR
logging.level.liquibase=ERROR
# JWT configuration
# Ensure these values match your expectations
security.authentication.jwt.secret=my-secret-token-to-change-in-prod-environment-your-super-secure-randomly-generated-key
security.authentication.jwt.token-validity-in-seconds=86400
spring.main.allow-circular-references=true

View File

@@ -27,3 +27,10 @@ create.regiom.error=Error occurred while creating the region.
update.region.error=Error occurred while updating the region.
password.doesnt.match=Password and confirm password do not match.
login.successfully=Login successfully.
pass.min.len.msg=Password must be at least 8 characters long.
email.already.exists=A user with this email already exists.

View File

@@ -26,3 +26,10 @@ user.region.not.found=Regione non trovata.
create.regiom.error=Errore durante la creazione della regione.
update.region.error=Errore durante l'aggiornamento della regione.
password.doesnt.match=La password e la conferma della password non corrispondono.
# Login-related messages
login.successfully=Accesso effettuato con successo.
pass.min.len.msg=La password deve essere lunga almeno 8 caratteri.
email.already.exists=Esiste già un utente con questa email.