-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use a multimodule maven organisation for 2.x #38
Conversation
8bff754
to
df716a4
Compare
OK. This one targets an existing branch, so yes, it makes sense to keep the existing Yes, pac4j v2.3.0 has a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good to me. One minor question.
* | ||
* @return value for {@link CallbackFilter#setSaveInSession(Boolean)} | ||
*/ | ||
boolean[] saveInSession() default {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not using Boolean
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would you want something that can have the value null
here?
The point of those annotations is that they allow the user to express themselves without over thinking: if they put a value it is used, if they do not, the default is used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
- Bump to pac4j 2.3.0 - Users should depend on jersey-pac4j or resteasy-pac4j - Users can still depend on jax-rs-pac4j for backward compatibility - Add saveInSession parameter for callback endpoints
df716a4
to
3e846c3
Compare
I updated the PR, I will merge it later tonight except if you have other feedbacks :) |
cf #37 for details on why
@pierre-l here it is for 2.x
@leleuj, two points:
org.pac4j.jax-rs-pac4j
for backward compatibilitysaveInSession
parameter for callback endpoints but it isn't there inCallbackLogic.perform
, instead I set it on the logic itself, could you confirm that what I did is correct?