DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Enterprise AI Trend Report: Gain insights on ethical AI, MLOps, generative AI, large language models, and much more.

2024 Cloud survey: Share your insights on microservices, containers, K8s, CI/CD, and DevOps (+ enter a $750 raffle!) for our Trend Reports.

PostgreSQL: Learn about the open-source RDBMS' advanced capabilities, core components, common commands and functions, and general DBA tasks.

AI Automation Essentials. Check out the latest Refcard on all things AI automation, including model training, data security, and more.

Core Badge
Avatar

Amran Hossain

DZone Core CORE

Sr. Java Developer Level-2 at BRED-IT (Thailand) Ltd.

Bangkok, TH

Joined Mar 2018

About

Having 9 years of extensive experience on financial, non-financial, Stock-market and Cyber Security Software Development using Java, JEE, Blockchain, Micro-services, Spring Framework, JPA, hibernate and oracle technologies. Eight years working as a good team player and absorb Big-Data, Machine Learning (MI), and Artificial Intelligence.

Stats

Reputation: 226
Pageviews: 130.1K
Articles: 2
Comments: 10
  • Articles
  • Comments

Articles

article thumbnail
How To Implement OAuth2 Security in Microservices
Learn to implement OAuth2 Security in microservices distributed systems using OAuth2, Oauth2-Client, Spring Cloud, and Netflix components with full examples.
Updated March 29, 2024
· 75,659 Views · 14 Likes
article thumbnail
Dynamic Multi-Tenancy Using Spring Security and JWTs
This article guides you through the process of creating a multi-tenancy application following a Software as a Service (SaaS) model, where each client has a dedicated database.
April 22, 2020
· 54,488 Views · 21 Likes

Comments

Dynamic Multi-Tenancy Using Spring Security and JWTs

Dec 09, 2021 · Amran Hossain

Hello Spring,


you can do that your user module. You shall be maintained new user creation procedure.


BR,

Amran

Dynamic Multi-Tenancy Using Spring Security and JWTs

Jul 08, 2021 · Amran Hossain

Hi Gernan Soares,

Yes. You can do using CommandLineRunner or Liquebase or manually. if need more specific please contact with me.


BR,

Amran

How To Implement OAuth2 Security in Microservices

Jun 02, 2021 · Amran Hossain

Hello Wiem Kl,


I am really sorry to say. i have no video tutorial but, i can help to u by show demo.


BR,


Amran

How To Implement OAuth2 Security in Microservices

May 11, 2021 · Amran Hossain

/Signup for user registration and Client registration ("/client-signup") shall be done by superadmin-- its pending you can add endpoint.

Dynamic Multi-Tenancy Using Spring Security and JWTs

Feb 25, 2021 · Amran Hossain

i want to work together...


Dynamic Multi-Tenancy Using Spring Security and JWTs

Feb 24, 2021 · Amran Hossain

Can we sit both of for this issue?


How To Implement OAuth2 Security in Microservices

Jan 19, 2021 · Amran Hossain

Hi,


You can signup client from superadmin panel and user signup process API to registration a user.



Thanks,

Anran

Dynamic Multi-Tenancy Using Spring Security and JWTs

Jan 19, 2021 · Amran Hossain

Hello Domingos Masta ,


I need to access your project to find out what's wrong. Completely working project i just put as article. No doubt.

Dynamic Multi-Tenancy Using Spring Security and JWTs

Jan 14, 2021 · Amran Hossain

It's your end problem. Please check bellow option:

- Bean Creation failed due to reference bean is not create.

- Please read care fully this article

- Please run the project 1st on IntliJ.

Dynamic Multi-Tenancy Using Spring Security and JWTs

May 09, 2020 · Amran Hossain

Hi,

Thanks for your compliments.

As per your comments. I want to say that - You just add Postgresql driver dependency into pom file. no need extra configuration for postgreSql. You know, we have already declare URL, userName, passwor and database name in MYSQL master table. when you request to login using client ID then we just detect (Get Data from master table using client ID) what tenant should be assign into DBContextHoleder then others Intilization and pool create dynamically.


Thanks!

User has been successfully modified

Failed to modify user

ABOUT US

  • About DZone
  • Send feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: