ntenisOT / play-authenticate-mongo

PlayAuthenticate Mongo Sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PlayAuthenticate - An extensible authentication plugin for Play! Framework 2 (Java-Mongo-Sample Application)

More information about the plugin: Play Authenticate GitHub Repository

PlayAuthenticate Java and Mongo Sample Application

This project is based on the sample provided by the PlayAuthenticate authors but instead of PostreSQL it is using MongoDB as it's datastore.

Plugins

  • Play Framework (2.3.5)
  • PlayAuthenticate (0.6.5-SNAPSHOT)
  • Deadbolt (2.3.0-RC1)
  • Mongo Java Driver (2.12.2)
  • Morphia (0.108)

Sample

http://play-authenticate-mongo.herokuapp.com

Usage

  • Download the files or fork the repository

  • (Optional) Run ./activator idea to make the project compatible with IntellijIdea

  • Open conf/application.conf and fill ur mongodb URI:

      mongodb.uri=""
    
      For example:
    
      mongodb.uri="mongodb://username:password@url:port/database"
    
  • Fill the missing information required for the providers that you would like to support in conf/play-authenticate/mine.conf

  • Uncomment the plugins that you would like to enable in conf/play.plugins (after filling the required information - previous step)

  • Run the project! (./activator run)

About

PlayAuthenticate Mongo Sample

License:Other


Languages

Language:Scala 69.8%Language:Java 21.4%Language:Frege 2.8%Language:Erlang 2.8%Language:Perl 6 2.8%Language:CSS 0.2%Language:JavaScript 0.0%