Building Custom Actuator Endpoints in Spring Boot

To extend Spring Boot Actuator with specific monitoring capabilities, developers can define custom endpoints. This process involves creating a class annotated with @Endpoint and defining operations using specific annotatinos for HTTP methods. Defining the Endpoint Clas The core component is a POJO marked with @Endpoint. The id attribute determi ...

Posted on Tue, 06 Oct 2026 16:22:14 +0000 by iceangel89

Spring Boot Auto-Configuration, Event Listeners, Monitoring, and Deployment

Spring Boot Auto-Configuration: Condition Interface Condition is a conditional configuration interface introduced in Spring 4.0. By implementing the Condition interface, you can conditionally load beans. The @Conditional annotation is used in conjunction with a Condition implementation class. ClassCondition Example public class ClassCondition i ...

Posted on Fri, 04 Sep 2026 16:33:28 +0000 by poleposters

Hello-javasec Java Security Code Audit

Hello-javasec Code Audit Environment: https://github.com/j3ers3/Hello-Java-Sec Configure the database and start the project directly. This project is built with Spring Boot. Swagger and Actuator Unauthenticated Access When examining dependencies, both Swagger and Actuator were present, so I reviewed their configurations. Swagger had no securit ...

Posted on Thu, 06 Aug 2026 16:51:15 +0000 by maltech

Understanding WebEndpointProperties in Spring Boot with Practical Examples

Spring Boot's WebEndpointProperties class configures web endponit properties in actuator applications. This configuration class binds to properties prefixed with management.endpoints.web. Key components of the class: Base Path Configuraton: private String basePath = "/actuator"; public String getBasePath() { return this.basePat ...

Posted on Sun, 14 Jun 2026 17:33:53 +0000 by ludjer