🕵️ SicherheitslückenCVE-2023-4751 | vim up to 9.0.1247 heap-based overflow(18.09.2026 um 00:34 Uhr)
🕵️ SicherheitslückenCVE-2023-5535 | vim up to 9.0.1969 use after free(18.09.2026 um 00:34 Uhr)
🕵️ SicherheitslückenCVE-2023-4751 | vim up to 9.0.1247 heap-based overflow(18.09.2026 um 00:34 Uhr)
🕵️ SicherheitslückenCVE-2023-5535 | vim up to 9.0.1969 use after free(18.09.2026 um 00:34 Uhr)
🔧 Programmierung 🕛 vor 5 Monaten 2 Min Lesezeit
0

Day 1: Building My Smart Reconciliation and Audit System from Scratch

↗ Quelle (dev.to)
🗣️ Stimme:

Today I started building a Smart Reconciliation and Audit System , a real enterprise grade project that companies use to match uploaded financial transactions against system records and flag mismatches.



Just me, IntelliJ Idea, and a lot of errors.



What I built today,




  • Integrated JWT-based authentication to generate secure tokens for users,

  • Implemented role-based access control (Admin, Analyst, Viewer).

  • Configured Spring Security for stateless session management and endpoint protection.

  • Designed structured API request & response handling for clean communication between frontend and backend.

  • Secured user data by encrypting passwords using BCrypt.

  • Built logic to validate users and generate tokens dynamically during login.

  • Implemented request filtering to validate JWT tokens on every API call.

  • Seeded the database with default users (Admin, Analyst, Viewer) for testing and initial system setup.



Things I understood today:




  1. When User sends username & password to login endpoint.

  2. Server creates a UsernamePasswordAuthenticationToken using the credentials.

  3. This token is passed to AuthenticationManager

  4. AuthenticationManager internally calls UserDetailsService.loadUserByUsername() to fetches user data from database.

  5. Password is validated using PasswordEncoder (BCrypt).

  6. If valid → authentication is successful, If invalid → exception is thrown.

  7. Controller generates JWT token. It is sent back to the client.



For Subsequent Requests:




  1. Client sends request with the token.

  2. JWT Filter intercepts the request before controller.

  3. Filter extracts token and validates it using JwtUtil.

  4. If valid, Extract username, Load user again using UserDetailsService,Set authentication in SecurityContextHolder.

  5. Request proceeds to controller.



Mistakes I made




Mistake 1 — wrong JWT algorithm



Used SignatureAlgorithm.ES256 which requires an elliptic curve key pair — completely different setup. Should be HS256 which works with a simple string secret.



Mistake 2 — seeded users without encoding passwords



When creating default users in DataInitializer, I saved plain text passwords. Then login failed because passwordEncoder.matches() expects BCrypt hash, not plain text.




Tested in Postman:




  1. Role based authentication:

    Vollständiger Original-Artikel
    Den kompletten Beitrag mit allen Details direkt auf dev.to lesen.
    ↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
2 Quellen
CVE-2012-5825 | Horde Kronolith 3.0.17 Portal Blocks input validation (ID 349780 / XFDB-80084)
1 Quelle
Windows-Update: Machine Identity Isolation sperrt Unternehmens-PCs - Börse Express
1 Quelle
CVE-2023-4751 | vim up to 9.0.1247 heap-based overflow
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Day 1: Building My Smart Reconciliation and Audit System from Scratch

Thematisch verwandte Begriffe: Building, Smart, Reconciliation, Audit · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...