Fork me on GitHub

Stormpath (v1.9)

pac4j allows you to validate username / password on the Stormpath cloud provider.

1) Dependency

You need to use the following module: pac4j-stormpath.

Example (Maven dependency):


2) StormpathAuthenticator

The StormpathAuthenticator validates username / password on Stormpath.

It can be defined for HTTP clients which deal with UsernamePasswordCredentials.

After a successful credentials validation, it “returns” a StormpathProfile.


StormpathAuthenticator authenticator = new StormpathAuthenticator(accessId, secretKey, applicationId);