Add Stormpath User Mgmt Dependencies to Grails
Add Stormpath User Mgmt Dependencies to Grails
How to add dependencies for Stormpath to your grails application.
In your BuildConfig.groovy in the dependencies section you need to add 3 dependencies.
These artifacts are up to date as of 2/2/2015 so you may need to look up the newest version here: http://docs.stormpath.com/java/quickstart/
Here are the dependencies you need to add.
BuildConfig.groovy
dependencies { //Stormpath user mgmt compile 'com.stormpath.sdk:stormpath-sdk-api:1.0.RC3.1' runtime 'com.stormpath.sdk:stormpath-sdk-httpclient:1.0.RC3.1' runtime 'com.stormpath.sdk:stormpath-sdk-oauth:1.0.RC3.1' }
Here are the original Maven imports in XML format for reference:
<dependency>
<groupId>com.stormpath.sdk</groupId>
<artifactId>stormpath-sdk-api</artifactId>
<version>1.0.RC3.1</version>
</dependency>
<dependency>
<groupId>com.stormpath.sdk</groupId>
<artifactId>stormpath-sdk-httpclient</artifactId>
<version>1.0.RC3.1</version>
<scope>runtime</scope>
</dependency>
<!-- This next runtime dependency is only necessary if you have
a REST API and you want to secure it with OAuth: -->
<dependency>
<groupId>com.stormpath.sdk</groupId>
<artifactId>stormpath-sdk-oauth</artifactId>
<version>1.0.RC3.1</version>
<scope>runtime</scope>
</dependency>
Stormpath allows you to rely on their secure infrastructure so that you can focus on writing your application code:
https://stormpath.com/
I use Stormpath as a plugin with Heroku
http://heroku.com/
Comments
Post a Comment