This play-pac4j-java-demo
project is a Java Play framework web app to test the play-pac4j-java security library with various authentication mechanisms: Facebook, Twitter, form, basic auth, CAS, SAML, OpenID Connect, JWT...
Build the project and launch the Play app on http://localhost:9000:
cd play-pac4j-java-demo
bin\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.
Find a live demo on Heroku: http://play-pac4j-java-demo.herokuapp.com