Git Product home page Git Product logo

stormpath-jersey-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-jersey-sample

This is a sample web application that uses Java + Jersey on the backend and Angular JS on the frontend. It demonstrates how to use the Stormpath Java SDK to generate API Keys, create new accounts, generate Oauth Tokens, and make HTTP calls to REST endpoints using both Oauth and Basic Authentication.

Stormpath is a User Management API that reduces development time with instant-on, scalable user infrastructure. Stormpath's intuitive API and expert support make it easy for developers to authenticate, manage, and secure users and roles in any application.

Links

Below are some resources you might find useful!

Stormpath Java Support

Documentation

Please email [email protected] with any errors, issues or questions.

Application Walkthrough:

Login Screen
Type your username/password if you have an account. If not, fill out the 'Create Account' form, submit, and then sign in.
alt tag

Dashboard
As soon as you log in, an API Key and Secret will be generated for you. The sidebar titles describe the functionality hidden behind each link.
alt tag

Make a REST call using Basic Auth
Click this sidebar link and the functionality will pop up in the center of the page. Select a city and experience the simplicity of Basic authorization!
alt tag

Generate an Oauth Token
This functionality lets you exchange your API credentials for an Oauth Token. First, select the cities you'd like to be able to have access to (scope). Clicking GetOauth will generate your token and set you up for the next section. alt tag

Make permitted REST call using Oauth
Since we included San Mateo in our scope when generating an Oauth Token we can view it's weather with no problem. alt tag

Make a forbidden REST call using Oauth
Since we did not include Berlin in our scope when generating an Oauth Token, attempting to view it's weather is prohibited! alt tag

Build Instructions

This project requires maven.

$ git clone https://github.com/rkazarin/sample-jersey-webapp.git
$ cd sample-jersey-webapp
$ mvn install

Deploy the .war file to your web container/application server and launch/access it according to your container's configuration.

Contributing

Contributions, bug reports and issues are very welcome. Stormpath regularly maintains this repository, and are quick to review pull requests and accept changes!

You can make your own contributions by forking the develop branch of this repository, making your changes, and issuing pull request on the develop branch.

Copyright

Copyright © 2013-2015 Stormpath, Inc. and contributors.

This project is open-source via the Apache 2.0 License.

stormpath-jersey-sample's People

Contributors

rkazarin avatar brentstormpath avatar omgitstom avatar mrioan avatar

Stargazers

Marcel Fitzner avatar György Dancsi avatar  avatar Cassaundra avatar Antonio Matarrese avatar Debasish (Gautam) avatar Jorge Noguera avatar jeph avatar Daniel avatar

Watchers

Matt Raible avatar Brian Demers avatar Les Hazlewood avatar  avatar Jason avatar David Laube avatar  avatar Timothy Engqvist Johansson avatar James Cloos avatar Claire Hunsaker avatar  avatar Alex Salazar avatar  avatar Jeffrey Wysong avatar slax dobbs avatar  avatar  avatar Sai Maddali avatar  avatar amoeba avatar  avatar Mehrshad Rafiei avatar Peter Miller avatar  avatar  avatar

stormpath-jersey-sample's Issues

Update Stormpath

Please update this to work with a current version of Stormpath.

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.