--
You received this message because you are subscribed to the Google Groups "Pac4j development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pac4j-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to pac4j-dev+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to pac4j-dev+unsubscribe@googlegroups.com.
We're very close ;-) A few weeks I would say... as I'm about to release RC2, but the API changes (although not backward compatible) are not very strong between v2 and v3.If you're super quick, start with the v2 otherwise use the v3.Thanks.Best regards,Jérôme
Hi,
To unsubscribe from this group and stop receiving emails from it, send an email to pac4j-dev+unsubscribe@googlegroups.com.
Hi,
To unsubscribe from this group and stop receiving emails from it, send an email to pac4j-dev+unsubscribe@googlegroups.com.
Hi,
I took a look at your implementation. It looks good. As pac4j is a security engine, it's mostly a matter of providing it with the right abstractions after and before calling it.In the SecurityHandler, when the access is granted to a user, a specific class/value is returned to be aware of that and not halt the request processing. So you can safely keep your String instance for comparison, I followed your idea (instead of a class) for spark-pac4j (v2.3.0): https://github.com/pac4j/spark-pac4j/commit/d1c32ae92d1e1fcfeff6eeabf18d7e7ffb66c640In the CallbackHandler, the default client is an expected parameter, like the defaultUrl or the multiProfile property. For example in the pure J2E implementation: https://github.com/pac4j/j2e-pac4j/blob/master/src/main/java/org/pac4j/j2e/filter/CallbackFilter.java#L48For the form login page authentication, the username and password are expected to be request parameters send via the POST method with the name: username and password. See: https://github.com/pac4j/pac4j/blob/master/pac4j-http/src/main/java/org/pac4j/http/client/indirect/FormClient.java#L71 and https://github.com/pac4j/pac4j/blob/master/pac4j-core/src/main/java/org/pac4j/core/credentials/extractor/FormExtractor.javaFor the basic auth authentication, the username and password are expected to be sent as a header "Authorization", with prefix "Basic: " and base64 encoding. See: https://github.com/pac4j/pac4j/blob/master/pac4j-http/src/main/java/org/pac4j/http/client/indirect/IndirectBasicAuthClient.java#L52 and https://github.com/pac4j/pac4j/blob/master/pac4j-core/src/main/java/org/pac4j/core/credentials/extractor/BasicAuthExtractor.javaThanks.Best regards,Jérôme
To unsubscribe from this group and stop receiving emails from it, send an email to pac4j-dev+unsubscribe@googlegroups.com.
Hi,
I just created the repository: https://github.com/pac4j/javalin-pac4jYou can submit a PR. For the README, I highly recommend you copy/paste the one from the j2e-pac4j implementation and adapt it.I'll take care of the releases and upgrades as much as possible, I count on your help for the major Javalin upgrades.Here is your specific logo: https://pac4j.github.io/pac4j/img/logo-javalin.pngThanks.Best regards,Jérôme
To unsubscribe from this group and stop receiving emails from it, send an email to pac4j-dev+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to pac4j-dev+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to pac4j-dev+unsubscribe@googlegroups.com.