Git Product home page Git Product logo

stormpath-default-spring-boot-starter-dirt-simple-sample's Introduction

#Stormpath is Joining Okta We are incredibly excited to announce that Stormpath is joining forces with Okta. Please visit the Migration FAQs for a detailed look at what this means for Stormpath users.

We're available to answer all questions at [email protected].

Stormpath Default Spring Boot Starter

Dirt Simple Sample

This is the minimal configuration and supporting code to get:

  1. Stormpath default auth views:
  • /login
  • /register
  • /forgot
  • /change
  1. Stormpath Spring Security Integration
  • / endpoint is permitted
  • All other paths (outside the Stormpath provided ones above) are locked down
  1. Spring Boot WebMVC including Thymeleaf views

Setup

All communication with Stormpath must be authenticated with an API Key.

  1. If you haven’t already, sign up for Stormpath for free. You’ll be sent a verification email.

  2. Click the link in the verification email.

  3. Log in to the Stormpath Admin Console using the email address and password you used during registration.

  4. Click the Create API Key or Manage Existing Keys button in the middle of the page.

  5. Under Security Credentials, click Create API Key.

    This will generate your API Key and download it to your computer as an apiKey.properties file.

  6. Save the file in your home directory in the following location:

    • ~/.stormpath/apiKey.properties on Unix, Linux and Mac OS
    • C:\Users\YOUR_USERNAME\.stormpath\apiKey.properties on Windows
  7. Change the file permissions to ensure only you can read this file and not accidentally write or modify it. For example:

    $ chmod go-rwx ~/.stormpath/apiKey.properties
    $ chmod u-w ~/.stormpath/apiKey.properties
    

    On Windows, you can set file permissions similarly.

Build

mvn clean package

Run

java -jar target/*.jar

Exercise the code

curl localhost:8080

stormpath-default-spring-boot-starter-dirt-simple-sample's People

Contributors

dogeared avatar brentstormpath avatar

Stargazers

eraised2pii avatar XiangZi avatar Ufuk Uzun avatar BlancosWay avatar pravin reddy avatar Fábio Goll avatar

Watchers

Les Hazlewood avatar  avatar James Cloos avatar slax dobbs avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.