Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 889 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 889 Bytes

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

Start and test

Build the project and launch the web app via the Payara Server on http://localhost:8080 with either the payara-micro maven plugin or embedded-payara plugin:

cd jee-pac4j-cdi-demo
mvn clean package payara-micro:start

OR

cd jee-pac4j-cdi-demo
mvn clean package embedded-payara: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.