In this presentation, Java Developer Evangelist Micah Silverman will show you how to “Write Once, Run Any Tenant”. With a single application and some configuration in Stormpath’s Admin Console, your application will be able to support multiple Organizations of users.
This is great for SaaS applications who need to securely partition their Customer organizations; each Organization will have no knowledge of or access to the others.
By the end of this webinar, you’ll be on your way to a fully functioning Spring Boot app with Multi-Tenancy backed by Stormpath.
Topics Covered:
Stormpath Customer Identity Management
Why Build a Multi-Tenant Application?
Quickstart on setting up Multi-Tenancy in your Spring Boot application including:
Configuring Authentication using Subdomains
Setting up Organizations, Directories, and Accounts
Enabling the Stormpath Application for Authentication and Authorization
Configuring ID Site for pre-built Authentication workflows
Tying it all together with only one instance of your Spring Boot application running
Technical Q&A
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
All The Stormpath Java Integrations: http://docs.stormpath.com/java/
4. 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
5. Stormpath User Management
User Data
User
Workflows Google ID
Your Applications
Application SDK
Application SDK
Application SDK
ID Integrations
Facebook
Active
Directory
SAML
6. 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
7. Multi-Tenancy 101
• Models Customer Organizations
• Multiple Implementations in Stormpath
• New “Organizations” Object = Super Easy
Imagine you are building a self-storage business. You by a big building.
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…
…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.
So, you’re building your super sweet new app. It’ll probably be in the cloud (but, it doesn’t have to be)
You’ve got a Spring Boot application…
…and you’re going to use Stormpath to secure your Users’ identities….
You’ll create a Stormpath Application in the admin console (we’ll see this in action later)…
That Application is backed by a Directory – an Account Store
Here’s a user…
They can now securely authenticate to your application
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.
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.
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.
Recap of presentation and Stormpath. Final pitch on how all these pieces fit together with Stormpath being an incredibly easy solution.
Recap of presentation and Stormpath. Final pitch on how all these pieces fit together with Stormpath being an incredibly easy solution.