Token Management using Stormpath inside Mule

Post on 16-Apr-2017

179 views 0 download

Transcript of Token Management using Stormpath inside Mule

TOKEN MANAGEMENT USING STORMPATH IN MULEBy Ravi Mishra

What is Stormpath

Stormpath is a hosted API service for creating and managing user accounts. It is the first easy and secure user management and authentication service for developers.

Below are the key advantages for using this.

• Easily implement token-based authentication.• Provide single sign-on across your applications.• Control of flexible and granular user authorization.• Partition multi-tenant SaaS account data.• Simplify social login with providers like Google and Facebook.• Manage developer API keys and access tokens.• Verify new users via email.• Automatically provide secure password reset functionality.• Centralize your user store across multiple applications.• Plug into your favourite language or web framework.

Usage Of StormpathStormpath is a great match for applications of any size where security, speed, and simplicity are top priorities

• Easily implement token-based authentication.• Provide single sign-on across your applications.• Control of flexible and granular user authorization.• Partition multi-tenant SaaS account data.• Simplify social login with providers like Google and Facebook.• Manage developer API keys and access tokens.• Verify new users via email.• Automatically provide secure password reset functionality.• Centralize your user store across multiple applications.• Plug into your favorite language or web framework.

Administrative ConsoleIf you see the below screen you will come to know what is API Key Id and secret.

Understanding Stormpath ModelWhen you sign up for Stormpath, a private data space is created for you, which is represented as a Tenant resource in the Stormpath REST API. As a Stormpath customer, you own your Tenant resource and everything in it – Applications, Directories, Accounts, Groups, and so on.

• Application:- It contains information about any real-world software that communicates with Stormpath via REST APIs.

• Account:- Users are modelled inside Stormpath as Account. Every Account is unique within a Directory, with this uniqueness usually tied to an email address.

• Group:- A group is made up of Accounts found within a Directory. It can be thought of as a label applied to a set of Accounts.

• Directory:- It acts like a top-level container resource for your user base is a Directory.

Administrative Console

Contd.. (Application Console)

Contd..(Accounts Console)

Now Mule in picture• Mule is having an out of box connector which can be used

for administrative purposes. Based on our desired operation we have to provide configuration.

Mule Flow for get Token

Mule Flow for Retrieve Token

Video link• You can click on the below link to see the practical mule

implementation of token management using Strompath.

• https://youtu.be/_oX7RFqY8js

Thank You!!