Skip to content
Projects

pac4j/spark-pac4j-demo

View on GitHub

pac4j/spark-pac4j-demo has 38 GitHub stars and 14 forks. Star changes are not measured yet. Last checked 2026-11-13 04:07 UTC. Last push 2026-11-10.

How these counts are measured

Measured star growth

in 24h
Update delayed
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

Demo webapp to test the spark-pac4j library for Sparkjava

Security

README.md

Original

This demo secures a Spark Java application with spark-pac4j, the Spark Java implementation of pac4j, the security engine for Java. If it is useful to you, please ⭐ star pac4j on GitHub: it helps other developers discover it!

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.

Explore related projects