Hi Folks, This article is quick overview of how to use Spring boot security basic login with In-Memory authentication. Its a web based application, when user browse the application a spring security based Login Form presented to the user. The Maven dependencies are: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> Once these dependenceis added … Continue reading Spring Security Login Form
Tag: SpringBoot
Setting up Vault Server as Google Cloud Storage as Storage Backend
Hello Folks ! Recently I worked on task to isolate the passwords, database credentials from properties file and store it inside the vault.This post explain how to install and setup the vault server, store data as Key-value pair and usage of this vault data in spring boot application.Vault comes with many secrete engines (and so … Continue reading Setting up Vault Server as Google Cloud Storage as Storage Backend
Shutdown Spring boot Application Job Programatically
Hi Folks, Recently, one of my colleague approached me for following problem statement: He develop a spring-boot application which is running as a cron job. The job interval time say every 2 mins. The application pulls the number of records from upstream system and process each record in loop updating 5-6 transaction tables for each … Continue reading Shutdown Spring boot Application Job Programatically
How to generate Java – Spring Code from OpenAPI YAML spec
Hi Folks, Lets see quickly how can generate the Spring Boot code from OpenAPI Specification i.e. YAML file. Swagger is popular tool to design the API. I'm working on some integration project and my Business Analyst shared a OpenAPI spec which describe the name of API, input parameters , data types, the output response, http … Continue reading How to generate Java – Spring Code from OpenAPI YAML spec
SpringBoot and RabbitMQ Messaging – AMQP
Today, will quickly go through Spring Boot Messaging implementation using RabbitMQ - AMQP. AMQP stands for Advanced Messaging Queuing Protocol. It is an open standard wire specification for asynchronous messaging based communication. It provides a description on how a message should be constructed. The widely used AMQP brokers are RabbitMQ, StormMQ and OpenAMQ. Brokers role … Continue reading SpringBoot and RabbitMQ Messaging – AMQP