This repository contains an implementation of Spring Actuator Admin with a request filter to add a JWT header. Spring Actuator Admin is a tool that provides insights into Spring Boot applications through custom endpoints. The JWT request filter allows you to add a JWT token as a header to every request, which can be useful for authentication and authorization purposes in your microservices.
- Java JDK 17 or higher
- Spring Boot 3.x
- Maven
-
Clone this repository to your local environment:
git clone https://github.com/matheuslara01/actuator-admin-spring.git
-
Customize JWT settings in file:
HttpConfig.Java
-
Run the application using Maven:
./mvnw spring-boot:run
-
Access the Spring Actuator Admin dashboard in your browser:
http://localhost:8081
-
Requests made to the application's endpoints will automatically have the JWT header added according to the provided settings.
This project is licensed under the MIT License.