Enable TLS in SpringBoot, Troubleshoot Errors and more

Enable TLS Springboot

In this post, we are going to learn on How to Enable TLS in Springboot, and Troubleshoot Errors. I hope you are familiar with Java and SpringBoot. JKS – Java Keystore (Specific to Java) PKCS – Public-private Key Cryptography Standard (Open Standard) Let’s create a JKS type Keystore file using the following command. Alias – …

Enable TLS in SpringBoot, Troubleshoot Errors and more Read More »

AWS Secret Manager – Protect Your Secrets in Applications

Introduction AWS Secrets Manager – Firstly lets understand why use secrets in applications. Many applications use secrets for various use cases. Using an application ID and Secret key to generate a token or maybe the secret key itself to access APIs, a username and password to create a database connection string to retrieve data from …

AWS Secret Manager – Protect Your Secrets in Applications Read More »

“React, Redux and Saga” Connecting the Dots.

“Viewer discretion advised” This article is written by a person who is very new to front-end programming with react and worked on backend development with number of years ;), and I’m quite fascinated about the UI work recently, since UI libraries are adopting some of the distributing computer theories/features used in middleware applications.If you have …

“React, Redux and Saga” Connecting the Dots. Read More »

Hashi Corp KV Secrets Manager integration with SpringBoot Application

Securing your secrets inside application is not an easy task. Typically applications deployed to multiple environments, and developers have to maintain separate credentials for each environment in configuration files, if there is no encryption mechanism (most of the time 🙁 ) those username and passwords or secrets for token generation (API keys), database connections are …

Hashi Corp KV Secrets Manager integration with SpringBoot Application Read More »

Drools – How we overcame the drastic conditions evaluation

One year ago, we started a project called keystone, a rules evaluation engine based on spring-boot. The high level architecture as follows [1]. It exposes several REST endpoints to evaluate some business rules. When a request hits the engine, several parallel calls hit the described endpoints based on the input parameters. ( We use RxJava …

Drools – How we overcame the drastic conditions evaluation Read More »

oauth2 implicit grant flow – example using facebook oauth2 API

In this post we are going to explore on the oauth2 implicit grant flow using a facebook oauth2 API example. In the oauth2 client specification, the clients are categorized as trusted and untrusted. Trusted oauth2 clients Trusted oauth2 clients are usually application following the mvc architecture, where the application has the facility to store the …

oauth2 implicit grant flow – example using facebook oauth2 API Read More »

Functions as First Class Citizen Variables

Hello all, In this post we are going to talk about functions as first class citizens and it’s usages. taken from – https://www.linkedin.com/topic/functional-programming The easiest way to understand is to analyze a demonstration. Package java.util.function  in java 8 contains all kinds of single method interfaces. In this samples we are going to use the java.util.function.Function …

Functions as First Class Citizen Variables Read More »

Spring Boot Application connect to LDAP Userstore

In this blog post we are going to connect a sample spring boot application with LDAP based userstore to do the authentication.First create a LDAP server. I’ve created a sample server using Apache Directory Studio. Then create a sample spring-boot application with the following dependencies. <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.3.3.RELEASE</version> <relativePath/> </parent> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> …

Spring Boot Application connect to LDAP Userstore Read More »