SlideShare a Scribd company logo
Multi-Tenancy with Spring Boot
Welcome!
• Agenda
• Stormpath 101 (5 mins)
• Multi-Tenancy with Spring Boot
(25 mins)
• Q&A (30 mins)
• Claire Hunsaker
VP of Marketing & Customer Success
• Micah Silverman
Java Developer Evangelist
Customer Identity Poses Major Challenges
Speed to Market & Cost Reduction
• Complete Identity solution out-of-the-box
• Security best practices and updates by default
• Clean & elegant API/SDKs
• Little to code, no maintenance
Focus on Your Core Competency
Stormpath User Management
User Data
User
Workflows Google ID
Your Applications
Application SDK
Application SDK
Application SDK
ID Integrations
Facebook
Active
Directory
SAML
Features
• Secure, flexible Authentication
(Password, Token, OAuth, API)
• Deep Authorization
Groups, Roles
Customer Organizations
Permissions
• Customer Profile Data
• Single Sign-On Across Your Apps
• Hosted User Screens
Multi-Tenancy 101
• Models Customer Organizations
• Multiple Implementations in Stormpath
• New “Organizations” Object = Super Easy
Why Build a
Multi-Tenant
Application?
Multi-Tenancy with Spring Boot
Multi-Tenancy with Spring Boot
Multi-Tenancy with Spring Boot
Different Multi-Tenant
Approaches
• Manual Selection Before Authentication
• Manual Selection After Authentication
• Automatic Selection by Subdomain
Manual Selection
Before Authentication
Manual Selection
Before Authentication
Manual Selection
After Authentication
Different Multi-Tenant
Approaches
• Manual Selection Before Authentication
• Manual Selection After Authentication
Multi-Tenancy with Spring Boot
Multi-Tenancy with Spring Boot
Stormpath
Stormpath
Stormpath
Stormpath
Stormpath
Stormpath
Stormpath
Stormpath
LET’S LOOK AT
STORMPATH ADMIN!
LET’S LOOK AT SOME CODE!
Java Resources
• Multi-Tenancy with Subdomains + Spring Boot
https://stormpath.com/blog/idsite-multi-tenancy/
• Multi-Tenancy Code Example
https://github.com/stormpath/stormpath-java-idsite-multi-tenant-example
• Stormpath Java SDK
https://github.com/stormpath/stormpath-sdk-java
• Stormpath Java All The Integrations
http://docs.stormpath.com/java/
QUESTIONS?
THANK YOU

More Related Content

What's hot (20)

PDF
카프카, 산전수전 노하우
if kakao
 
PDF
Why HATEOAS
Lee Wayne
 
PPTX
PL-900 Microsoft Power Platform Fundamentals
Nanddeep Nachan
 
PDF
차정민 (소프트웨어 엔지니어) 이력서 + 경력기술서
Jeongmin Cha
 
PDF
Massive service basic
DaeMyung Kang
 
PPTX
황규영 포트폴리오
Q_0
 
PPTX
Exactly-Once Financial Data Processing at Scale with Flink and Pinot
Flink Forward
 
PDF
[우리가 데이터를 쓰는 법] 모바일 게임 로그 데이터 분석 이야기 - 엔터메이트 공신배 팀장
Dylan Ko
 
PDF
스타트업 나홀로 데이터 엔지니어: 데이터 분석 환경 구축기 - 천지은 (Tappytoon) :: AWS Community Day Onlin...
AWSKRUG - AWS한국사용자모임
 
PDF
Grokking Techtalk #39: How to build an event driven architecture with Kafka ...
Grokking VN
 
PDF
쿠키런 1년, 서버개발 분투기
Brian Hong
 
PDF
Netflix Global Cloud Architecture
Adrian Cockcroft
 
PDF
Apache Kafka
Diego Pacheco
 
PPTX
"Threat Model Every Story": Practical Continuous Threat Modeling Work for You...
Izar Tarandach
 
PDF
사설 서버를 막는 방법들 (프리섭, 더이상은 Naver)
Seungmo Koo
 
PDF
An Actor Model in Go
Weaveworks
 
PDF
confirm & alert
Oliver Lemm
 
PPTX
Power Automate/ Flow patterns tips and tricks after 3 years with Doctor Flow
serge luca
 
PPTX
Mastering Chaos - A Netflix Guide to Microservices
Josh Evans
 
PPTX
From cache to in-memory data grid. Introduction to Hazelcast.
Taras Matyashovsky
 
카프카, 산전수전 노하우
if kakao
 
Why HATEOAS
Lee Wayne
 
PL-900 Microsoft Power Platform Fundamentals
Nanddeep Nachan
 
차정민 (소프트웨어 엔지니어) 이력서 + 경력기술서
Jeongmin Cha
 
Massive service basic
DaeMyung Kang
 
황규영 포트폴리오
Q_0
 
Exactly-Once Financial Data Processing at Scale with Flink and Pinot
Flink Forward
 
[우리가 데이터를 쓰는 법] 모바일 게임 로그 데이터 분석 이야기 - 엔터메이트 공신배 팀장
Dylan Ko
 
스타트업 나홀로 데이터 엔지니어: 데이터 분석 환경 구축기 - 천지은 (Tappytoon) :: AWS Community Day Onlin...
AWSKRUG - AWS한국사용자모임
 
Grokking Techtalk #39: How to build an event driven architecture with Kafka ...
Grokking VN
 
쿠키런 1년, 서버개발 분투기
Brian Hong
 
Netflix Global Cloud Architecture
Adrian Cockcroft
 
Apache Kafka
Diego Pacheco
 
"Threat Model Every Story": Practical Continuous Threat Modeling Work for You...
Izar Tarandach
 
사설 서버를 막는 방법들 (프리섭, 더이상은 Naver)
Seungmo Koo
 
An Actor Model in Go
Weaveworks
 
confirm & alert
Oliver Lemm
 
Power Automate/ Flow patterns tips and tricks after 3 years with Doctor Flow
serge luca
 
Mastering Chaos - A Netflix Guide to Microservices
Josh Evans
 
From cache to in-memory data grid. Introduction to Hazelcast.
Taras Matyashovsky
 

Viewers also liked (20)

PDF
JavaOne 2014 - Supporting Multi-tenancy Applications with Java EE
Rodrigo Cândido da Silva
 
PPTX
Instant Security & Scalable User Management with Spring Boot
Stormpath
 
PPTX
Custom Data Search with Stormpath
Stormpath
 
PDF
JWTs in Java for CSRF and Microservices
Stormpath
 
PDF
The Ultimate Guide to Mobile API Security
Stormpath
 
PPTX
Beautiful REST+JSON APIs with Ion
Stormpath
 
PPTX
REST API Security: OAuth 2.0, JWTs, and More!
Stormpath
 
PPTX
Storing User Files with Express, Stormpath, and Amazon S3
Stormpath
 
PDF
Building Beautiful REST APIs in ASP.NET Core
Stormpath
 
PPTX
JWTs for CSRF and Microservices
Stormpath
 
PDF
Mobile Authentication for iOS Applications - Stormpath 101
Stormpath
 
PPTX
Token Authentication in ASP.NET Core
Stormpath
 
PPTX
Stormpath 101: Spring Boot + Spring Security
Stormpath
 
PPTX
Spring Boot Authentication...and More!
Stormpath
 
PDF
Getting Started With Angular
Stormpath
 
PDF
How to build customizable multitenant web applications - IPC11 Spring Edition
Stephan Hochdörfer
 
PDF
Build a REST API for your Mobile Apps using Node.js
Stormpath
 
PPTX
Browser Security 101
Stormpath
 
PDF
Multi-tenancy in Java
seges
 
PPTX
Secure API Services in Node with Basic Auth and OAuth2
Stormpath
 
JavaOne 2014 - Supporting Multi-tenancy Applications with Java EE
Rodrigo Cândido da Silva
 
Instant Security & Scalable User Management with Spring Boot
Stormpath
 
Custom Data Search with Stormpath
Stormpath
 
JWTs in Java for CSRF and Microservices
Stormpath
 
The Ultimate Guide to Mobile API Security
Stormpath
 
Beautiful REST+JSON APIs with Ion
Stormpath
 
REST API Security: OAuth 2.0, JWTs, and More!
Stormpath
 
Storing User Files with Express, Stormpath, and Amazon S3
Stormpath
 
Building Beautiful REST APIs in ASP.NET Core
Stormpath
 
JWTs for CSRF and Microservices
Stormpath
 
Mobile Authentication for iOS Applications - Stormpath 101
Stormpath
 
Token Authentication in ASP.NET Core
Stormpath
 
Stormpath 101: Spring Boot + Spring Security
Stormpath
 
Spring Boot Authentication...and More!
Stormpath
 
Getting Started With Angular
Stormpath
 
How to build customizable multitenant web applications - IPC11 Spring Edition
Stephan Hochdörfer
 
Build a REST API for your Mobile Apps using Node.js
Stormpath
 
Browser Security 101
Stormpath
 
Multi-tenancy in Java
seges
 
Secure API Services in Node with Basic Auth and OAuth2
Stormpath
 
Ad

Similar to Multi-Tenancy with Spring Boot (20)

PPTX
No-Code SAML Support for SaaS Applications with Stormpath
Lindsay Brunner
 
PPTX
CA CloudMinder Vasu Surabhi
Vasu Surabhi
 
PPTX
COLLABORATE 18 Presentation: Success Story- Cloud Product Information Managem...
Jade Global
 
PPTX
Identity Summit 2015: EnerNOC Case Study: The Transformation of IAM for EnerN...
ForgeRock
 
PDF
Software Licensing for SaaS Applications
SoftwarePotential
 
PDF
Software Licensing for SaaS Applications
InishTech
 
PDF
Identity as a Managed Cloud Service
ForgeRock
 
PDF
Bright talk mapping the right aut solution for you 2014 final (1)
Sectricity
 
PDF
[WSO2Con EU 2017] IAM: Catalyst for Digital Transformation
WSO2
 
PDF
04_Extending and Securing Enterprise Applications in Microsoft Azure_GAB2019
Kumton Suttiraksiri
 
PPTX
Saas Challenges and Solutions
Techcello
 
PDF
VMworld 2013: VMware Horizon Workspace at Scale: Deploying to 15,000 VMware E...
VMworld
 
DOC
Satheesh.G_IDM
satheesh64
 
PPTX
Introduction to Azure AD and Azure AD B2C
Joonas Westlin
 
PDF
Tech Talk on Cloud Computing
ITviec
 
PPTX
Saas challenges and solutions
kanimozhin
 
PDF
System Center Configuration Manager-The Most Popular System Center Component
C/D/H Technology Consultants
 
PPTX
Single sign on - benefits, challenges and case study : iFour consultancy
Devam Shah
 
PDF
Global azure virtual 2021 - Azure Lighthouse
Ivo Andreev
 
PDF
Quality assurance-for-a-blockchain-based-solution
Cygnet Infotech
 
No-Code SAML Support for SaaS Applications with Stormpath
Lindsay Brunner
 
CA CloudMinder Vasu Surabhi
Vasu Surabhi
 
COLLABORATE 18 Presentation: Success Story- Cloud Product Information Managem...
Jade Global
 
Identity Summit 2015: EnerNOC Case Study: The Transformation of IAM for EnerN...
ForgeRock
 
Software Licensing for SaaS Applications
SoftwarePotential
 
Software Licensing for SaaS Applications
InishTech
 
Identity as a Managed Cloud Service
ForgeRock
 
Bright talk mapping the right aut solution for you 2014 final (1)
Sectricity
 
[WSO2Con EU 2017] IAM: Catalyst for Digital Transformation
WSO2
 
04_Extending and Securing Enterprise Applications in Microsoft Azure_GAB2019
Kumton Suttiraksiri
 
Saas Challenges and Solutions
Techcello
 
VMworld 2013: VMware Horizon Workspace at Scale: Deploying to 15,000 VMware E...
VMworld
 
Satheesh.G_IDM
satheesh64
 
Introduction to Azure AD and Azure AD B2C
Joonas Westlin
 
Tech Talk on Cloud Computing
ITviec
 
Saas challenges and solutions
kanimozhin
 
System Center Configuration Manager-The Most Popular System Center Component
C/D/H Technology Consultants
 
Single sign on - benefits, challenges and case study : iFour consultancy
Devam Shah
 
Global azure virtual 2021 - Azure Lighthouse
Ivo Andreev
 
Quality assurance-for-a-blockchain-based-solution
Cygnet Infotech
 
Ad

More from Stormpath (13)

PDF
Building Beautiful REST APIs with ASP.NET Core
Stormpath
 
PDF
Securing Web Applications with Token Authentication
Stormpath
 
PPTX
Token Authentication for Java Applications
Stormpath
 
PPTX
How to Use Stormpath in angular js
Stormpath
 
PPTX
Building Secure User Interfaces With JWTs (JSON Web Tokens)
Stormpath
 
PPTX
Rest API Security
Stormpath
 
PPTX
Elegant Rest Design Webinar
Stormpath
 
PPTX
Secure Your REST API (The Right Way)
Stormpath
 
PPTX
Build a Node.js Client for Your REST+JSON API
Stormpath
 
PPTX
Build A Killer Client For Your REST+JSON API
Stormpath
 
PPTX
So long scrum, hello kanban
Stormpath
 
PPTX
REST API Design for JAX-RS And Jersey
Stormpath
 
PPTX
Design Beautiful REST + JSON APIs
Stormpath
 
Building Beautiful REST APIs with ASP.NET Core
Stormpath
 
Securing Web Applications with Token Authentication
Stormpath
 
Token Authentication for Java Applications
Stormpath
 
How to Use Stormpath in angular js
Stormpath
 
Building Secure User Interfaces With JWTs (JSON Web Tokens)
Stormpath
 
Rest API Security
Stormpath
 
Elegant Rest Design Webinar
Stormpath
 
Secure Your REST API (The Right Way)
Stormpath
 
Build a Node.js Client for Your REST+JSON API
Stormpath
 
Build A Killer Client For Your REST+JSON API
Stormpath
 
So long scrum, hello kanban
Stormpath
 
REST API Design for JAX-RS And Jersey
Stormpath
 
Design Beautiful REST + JSON APIs
Stormpath
 

Recently uploaded (20)

PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
Integrating IIoT with SCADA in Oil & Gas A Technical Perspective.pdf
Rejig Digital
 
PPTX
Earn Agentblazer Status with Slack Community Patna.pptx
SanjeetMishra29
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
Alpha Altcoin Setup : TIA - 19th July 2025
CIFDAQ
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
SalesForce Managed Services Benefits (1).pdf
TechForce Services
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Integrating IIoT with SCADA in Oil & Gas A Technical Perspective.pdf
Rejig Digital
 
Earn Agentblazer Status with Slack Community Patna.pptx
SanjeetMishra29
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Alpha Altcoin Setup : TIA - 19th July 2025
CIFDAQ
 
The Future of Artificial Intelligence (AI)
Mukul
 
SalesForce Managed Services Benefits (1).pdf
TechForce Services
 

Multi-Tenancy with Spring Boot

Editor's Notes

  • #10: Imagine you are building a self-storage business. You by a big building.
  • #11: You build one storage unit and you rent it out. This one storage unit in your big building is probably not going to be profitable. But the great thing about storage units…
  • #12: …is that they are easily replicated. You don’t need a new building – you already have that. Each storage unit has a lock on it granting access only to the set of people that know the combination.
  • #18: So, you’re building your super sweet new app. It’ll probably be in the cloud (but, it doesn’t have to be)
  • #19: You’ve got a Spring Boot application…
  • #20: …and you’re going to use Stormpath to secure your Users’ identities….
  • #21: You’ll create a Stormpath Application in the admin console (we’ll see this in action later)…
  • #22: That Application is backed by a Directory – an Account Store
  • #23: Here’s a user…
  • #24: They can now securely authenticate to your application
  • #25: Now, you want to support a totally different group of users – we call them Organizations. It’s the same application, just a different – separate – organization of users. Without Multi-tenancy, you’d need to replicate all this architecture.
  • #26: With Stormpath, all we need to do is map your Stormpath application to Stormpath Organizations instead of directly to the Directory. In Stormpath, Organizations are just a different type of Account Store. They are a container for other Account Stores. Most importantly, the unique Organization name key is setup to match the subdomain that users use to access your application.
  • #27: Now, we can keep our disparate user communities separated WITHOUT having to replicate our Spring Boot Application. We can add another Organization – with a name key that matches a subdomain – and just like that, we’ve got a whole new tenant.
  • #28: Recap of presentation and Stormpath. Final pitch on how all these pieces fit together with Stormpath being an incredibly easy solution. 
  • #29: Recap of presentation and Stormpath. Final pitch on how all these pieces fit together with Stormpath being an incredibly easy solution.