Spring

Spring Boot Security

Spring Boot Security | Security is applied through the JAAS concept. JAAS understands Java Authentication and Authorization. What is Authentication and Authorization? Authentication: Read usernames/passwords, and validate them.Authorization: Role management. Example:- Bank Application. All people have to login through username/password to use the application, this process is called Authentication. Application has different types of roles

Spring Boot Security Read More »

Spring Boot REST Security Using JWT

Spring Boot REST Security using JWT | We will use Spring Security and JWT to generate the token and access the different URLs. Different Stages:- GitHub Project URL:- SpringSecurityJWTMySQL 1. User/Client Register Process Model: User (id, name, username, password, roles) The client must send the above details in JSON format, which will be converted into

Spring Boot REST Security Using JWT Read More »

Spring Boot Core Introduction

Spring Boot Core Introduction | Our Project is called a Child Project. This is connected to the parent Project (Spring Boot). We can create our Project using either Maven or Gradle. Spring Boot Application must have 3 types of files. Those are: Starter class / Main class / Entry class/ Bootstrap class:- This class behaves

Spring Boot Core Introduction Read More »

Spring Cloud Gateway with Eureka Service Registry in Spring Boot

Spring Cloud Gateway with Eureka Service Registry Example in Spring Boot | Generally we develop multiple microservices. Those microservices will be running at multiple locations, multiple instances are created and that will have multiple IP addresses and port numbers. We can’t give those all IP addresses and port numbers to the frontend application or clients.

Spring Cloud Gateway with Eureka Service Registry in Spring Boot Read More »

Apache ActiveMQ Spring Boot Example

Apache ActiveMQ Spring Boot Example | We have seen what is message queue and the types of communication (P2P & Pub/Sub). See more:- Message Queues Using Spring Boot. Let us see the Spring Boot Message queues example using Apache ActiveMQ. ActiveMQ Setup Username: adminPassword: admin For username & password, Check \apache-activemq-5.18.5\conf\users.properties file. There we can

Apache ActiveMQ Spring Boot Example Read More »

Message Queues Using Spring Boot

Message Queues Using Spring Boot | Message Queues:- Create a communication link between two applications for continuous data flow. For example, in any food delivery application, we can see the delivery person’s current location through continuous data flow. This is not webservices concept, the consumer will never make any requests, even will not even send

Message Queues Using Spring Boot Read More »