Skip to content

feat: implement persistent remember-me authentication and update Docker Actuator healthchecks - #36

Merged
podlLev merged 5 commits into
devfrom
feature/remember-me-and-observability
Jul 22, 2026
Merged

podlLev merged 5 commits into
devfrom
feature/remember-me-and-observability

Conversation

@podlLev

@podlLev podlLev commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Overview

This PR adds database-backed "Remember-Me" persistent token authentication to preserve user session states across browser restarts. Additionally, it refactors the Docker deployment configuration to isolate operational monitoring by routing container health checks through a dedicated management port.


Key Changes

  • Database & Security Architecture (Remember-Me):

    • Schema Extension: Added the standard persistent_logins database table migration script to securely store series tokens, usernames, and last-used timestamps.
    • Configuration Properties: Configured application properties specifying the remember-me secret key and custom token validity durations.
    • Spring Security Wiring: Wired PersistentTokenBasedRememberMeServices (or JDBC token repository) into the security filter chain to enable persistent token authentication upon sign-in.
  • User Interface Enhancements:

    • Sign-In View: Added a "Remember Me" checkbox component to the login form interface to capture user session preferences during authentication.
  • Container Infrastructure & Monitoring:

    • Actuator Isolation: Exposed a dedicated management port in Docker configurations and updated container HEALTHCHECK directives to probe Spring Boot Actuator endpoints on this dedicated port instead of public traffic routes.

@podlLev podlLev self-assigned this Jul 22, 2026
@podlLev podlLev added feature New features, fresh endpoints, or user-facing functionality performance Optimization changes (e.g., lazy loading, caching, SQL tuning) labels Jul 22, 2026
@podlLev
podlLev merged commit 58455a9 into dev Jul 22, 2026
2 checks passed
@podlLev
podlLev deleted the feature/remember-me-and-observability branch July 22, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New features, fresh endpoints, or user-facing functionality performance Optimization changes (e.g., lazy loading, caching, SQL tuning)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant