Giter Site home page Giter Site logo

Dhiraj Ray's Projects

spring-boot-azure icon spring-boot-azure

In this article, we will be discussing about creating a storage account on Microsoft Azure and create a sample spring-mvc based java application to perform different file operations such as container create, read, write and delete files from the storage container. We will also expose some REST endpoints with Spring controller to upload and download files from Microsoft Azure storage account

spring-boot-google-oauth icon spring-boot-google-oauth

In this series of tutorial, we will be integrating social login such as Google with spring boot application using spring security 5 provided features.

spring-boot-graphql icon spring-boot-graphql

In this article, we will be discussing how we can implement GraphQL in Java and integrate it with a real-time Spring boot project from scratch. The project will be a maven based project having spring data integrated to communicate with MySQL database.

spring-boot-hibernate-example icon spring-boot-hibernate-example

This project is an integration example of spring boot and hibernate.It has configuration for basic datasource and hikari datasource too.

spring-boot-hibernate-login icon spring-boot-hibernate-login

In this article, we will be creating a sample spring boot and hibernate JPA example and add the functionality of user registration and login. This example can be a starting point to get started with a full-fledged spring boot and hibernate app.

spring-boot-kafka icon spring-boot-kafka

In this article, we will be using spring boot 2 feature to develop a sample Kafka subscriber and producer application.We will take a look at the use of KafkaTemplate to send messages to Kafka topics,@KafkaListener annotation to listen to those messages and @SendTo annotation to forward messages to a specified topic.We will also take a look at how to produce messages to multiple partitions of a single topic and how those messages are consumed by a consumer group along with custom message converters in spring boot.

spring-boot-rabbitmq icon spring-boot-rabbitmq

RabbitMQ is a widely used AMQP broker. In this article, we will learn how to integrate RabbitMQ with Spring Boot and develop a message producer and consumer example app with RabbitMQ and spring boot. We will be building a simple notification system and we will be testing the app with CommandLineRunner. The producer will publish the message to the direct exchange with routing key and the consumer consumes this message asynchronously.

spring-boot-redis-cache icon spring-boot-redis-cache

In this tutorial, we will be discussing the integration of Redis cache with Spring Boot by developing a CRUD operation example using Jedis and spring boot starter data redis. In the tutorial, we will explore 2 different ways to perform CRUD operations. First, we will be defining our custom RedisTemplate and use HashOperations to perform get and put operations on Redis server.

spring-boot-security-oauth2 icon spring-boot-security-oauth2

This article aims to provide a working example of spring boot security and oauth2. It has implementation for resource server and authorization server and connection to database with bcrypt password encoder.

spring-boot-security-oauth2-jwt-example icon spring-boot-security-oauth2-jwt-example

In this article, we will be discussing about OAUTH2 implementation with spring boot security and JWT token and securing REST APIs.In my last article of Spring Boot Security OAUTH2 Example, we created a sample application for authentication and authorization using OAUTH2 with default token store but spring security OAUTH2 implementation also provides functionality to define custom token store.Here, we will be creating a sample spring security OAUTH2 application using JwtTokenStore.Using JwtTokenStore as token provider allows us to customize the token generated with TokenEnhancer to add additional claims.

spring-boot-soap-client icon spring-boot-soap-client

In this article, we discussed about exception handling while consuming SOAP web services using Spring SOAP client. We created our custom interceptor to define our custom exception handling logic.

spring-cloud-feign-example icon spring-cloud-feign-example

In this tutorial, we will learn about creating web service clients with Feign in a spring cloud application with an example for REST based HTTP calls. Two different services will register themselves to Netflix discovery server and will have Feign client integrated with customer-service.

spring-cloud-gateway-websocket icon spring-cloud-gateway-websocket

We will learn about creating WebSocket connections in Spring Boot based microservice and Spring Cloud gateway. We will be creating an example app and demonstrate a sample chat based application.

spring-cloud-prop-config icon spring-cloud-prop-config

Today we will extend our previous article on Spring Cloud Config GIT backend to use JDBC Backend store to externalize our cloud config properties. We will be using MySQL (a relational database) for the JDBC backend store. For this example, the project will be built upon Spring Boot 2 with spring cloud version as Greenwich.SR1

spring-mongo-query icon spring-mongo-query

In this article, we will learn about Spring data MongoDB queries with different ways to create and execute MongoDB queries in a spring boot project. We will learn to create various custom dynamic queries with multiple MongoDB operators to get started. For this, we will have a spring boot MongoDB application setup and create sample examples of all our learnings.

spring-security-6-example icon spring-security-6-example

Create a REST API-based Spring Boot application to demonstrate the use of Spring Boot 3, Spring Security 6, and the latest version of JWT.

spring-security-jwt icon spring-security-jwt

In this article, we will be creating a sample REST CRUD APIs and provide JWT role based authorization using spring security to these APIs. We will be using spring boot 2.0 and JWT 0.9.0. In the DB, we will have two roles defined as ADMIN and USER with custom UserDetailsService implemented and based on these roles the authorization will be decided. We will be using spring data to perform our CRUD operations and spring provided annotations such as @PreAuthorize, @Secured and @EnableGlobalMethodSecurity for authorization.

spring-security-ldap icon spring-security-ldap

In this tutorial we discussed about securing spring boot app with spring security LDAP authentication. We used ldif file for the textual representation of LDAP and used in-memory LDAP server UnboundId for this tutorial. We also defined our custom password encoder and used Bcrypt with it.

spring-websocket-integration icon spring-websocket-integration

This post is about spring boot websocket integration with an example. It sends message to a particular user during spring websocket connection with STOMP using spring security features.

spring-websocket-without-stomp icon spring-websocket-without-stomp

how to maintain spring session during websocket connection through HandshakeInterceptor. Doing so we can track user session during every websocket request and can utilize this session to track client activities from the server or can be used to provide an extra level of security even after the server is connected through websocket protocol.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.