Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 688 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 688 Bytes

This spark-pac4j-demo project is a SparkJava application to test the spark-pac4j security library with various authentication mechanisms: Facebook, Twitter, form, basic auth, CAS, SAML, OpenID Connect, JWT...

Start & test

Build the project and launch the SparkJava app on http://localhost:8080:

cd spark-pac4j-demo
mvn clean compile exec:java

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.