@PreAuthorize, @RolesAllowed ve @Secured öğelerinin tümü, method güvenliğini yapılandırmaya izin veren annotationlardır. Hem bireysel metodlara hem de sınıf düzeyinde uygulanabilirler Method düzeyinde...
Most "the database is encrypted" stories stop at Transparent Data Encryption (TDE) the datafiles, redo logs, and backups are encrypted on disk, so an attacker who steals the raw .dbf files or a tape b...
JPA Entity Listener'lar Spring tarafından yönetilmediği için @Autowired veya constructor injection kullanılamaz. Eğer listener içerisinde bir Repository veya Service bean'ine ihtiyaç duyarsanız, ApplicationContext üzerinden ilgili bean'i almanız gerekir. Bunun için ApplicationContextAware implement eden bir yardımcı sınıf oluşturup, ApplicationContext#getBean() ile istediğiniz Spring bean'ine erişebilirsiniz.
If you are building AI agents with Spring AI, you are likely exploring the Model Context Protocol (MCP). MCP is a game-changer for AI applications, standardizing how AI models interact with external tools and data sources.
This project is a Spring Boot + Kotlin + Oracle sample application that demonstrates how to generate entity IDs dynamically using a custom Hibernate identifier generator backed by Oracle sequences.
In modern backend architectures, we usually rely on traditional database servers like PostgreSQL, MySQL, or Oracle. However, setting up a database infrastructure for a small microservice, a rapid proof-of-concept (PoC), or a local utility service can introduce unnecessary infrastructure overhead.
In today's fast-paced development world, the ability to update application configuration on the fly-without redeploying or restarting your service is a game changer. While Spring Cloud Config is a popular solution, sometimes you want a lightweight, cloud-agnostic approach. That's where JedisPubSub comes in.
Modern backend applications rarely deal with simple queries. Once users demand filtering, searching, sorting, and combining multiple conditions dynamically, traditional repository methods quickly become unmanageable.
In modern microservices architectures, visibility into data access patterns is crucial. Whether for debugging, performance tuning, or audit logging, knowing exactly what commands are sent to your database can save hours of investigation. In this article, we'll explore how to implement a CommandListener in Redis OM Spring to intercept and log RediSearch commands.
Rate limiting is a critical mechanism that protects APIs from abuse, ensures fair resource allocation, and maintains system stability. In this article, I'll explain the implementation of a distributed rate limiter for Spring Boot applications using Kotlin and Redis.