Skip to content

Play Scala demo to test the play-pac4j-scala_2.11 security library

Notifications You must be signed in to change notification settings

huberts/play-pac4j-scala-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This play-pac4j-scala-demo project is a Scala Play framework web app to test the play-pac4j-scala_2.11 security library with various authentication mechanisms: Facebook, Twitter, form, basic auth, CAS, SAML, OpenID Connect, JWT...

Start & test

Build the project and launch the Play app on http://localhost:9000:

cd play-pac4j-scala-demo
activator run

To test, you can call a protected url by clicking on the "Protected url by xxx" link, which will start the authentication process with the xxx provider.
Or you can click on the "Authenticate with xxx" link to manually start the authentication process with the xxx provider.

To test the CAS support, you need to start a CAS server on port 8888. Use the following demo: cas-overlay-demo with the option: -Djetty.port=8888.

Live demo

Find a live demo on Heroku: http://play-pac4j-scala-demo.herokuapp.com

About

Play Scala demo to test the play-pac4j-scala_2.11 security library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 75.2%
  • HTML 22.9%
  • JavaScript 1.9%