Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 812 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 812 Bytes

This j2e-pac4j-demo project is a Java web application to test the j2e-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 web app with jetty on http://localhost:8080:

cd j2-pac4j-demo
mvn clean compile jetty: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.