I find out the official demo about the pac4j for JEE: jee-pac4j-demo in github (https://github.com/pac4j/jee-pac4j-demo)
The configuration for each Authentication mechanisms have defined in the org.pac4j.demo.jee.DemoConfigFactory, refer to the picture below: org.pac4j.demo.jee.DemoConfigFactory
However, many configs are hardcode in the ConfigFactory which is not flexible, is it any ways to define those configs in a property file such as oidc.properties / samls.properties, then we can load these properties and set to the ConfigFactory in order to adapt to diff environment (dev/sit/uat/prod).
Expect to define configs in external property file(s) such as oidc.properties / samls.properties, then we can load these properties and set to the ConfigFactory instead of hardcode configs in the implementation of ConfigFactory