Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,20 @@ src/

No credentials are stored in the repository — `.env` is gitignored and `.env.example` serves as a template.

### Why sessions instead of JWT?

This project uses **session-based authentication** because it is a **server-rendered application** built with **Thymeleaf**.

| Factor | Sessions (this project) | JWT |
|---|---|---|
| Frontend | Thymeleaf (SSR) | React, Angular, Vue, mobile apps |
| State location | Server (memory/Redis) | Client (the token itself) |
| Best for | Dashboards, internal portals, admin panels | Mobile apps, microservices, public APIs |
| Complexity | Low — Spring Security handles it out of the box | Higher — token storage, refresh, rotation |
| Revocation | Instant — delete the session on the server | Delayed — token remains valid until it expires |

In a real-world scenario, this application would serve a single company's HR dashboard where recruiters (ADMIN) and candidates (USER) log in from their own devices — each with their own independent session. Sessions are the correct tool for this stack and use case.

## CI/CD — GitHub Actions

This project uses **GitHub Actions** for continuous integration. The pipeline is defined in `.github/workflows/ci.yml` and runs automatically on every push and pull request to `main`.
Expand Down
Binary file added images/List_Questionnaries.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Quiz.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Registro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Result.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Successful.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading