-
Notifications
You must be signed in to change notification settings - Fork 13
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
Not compatible with dropwizard 2 #50
Comments
@naveg normally, at least as a workaround, you should already be able to use the maven dependency management to
If you can confirm this works, then some solution should be findable in a more generic manner here I suppose. |
Hmm - I tried that but wound up with a different problem:
Before your suggestion I was getting this error, which makes sense (AbstractContainerRequestValueFactory is removed in jersey 2.26)
|
@naveg ha, I suppose the latest fixes for working with jersey 2.30 is not out yet, see pac4j/jax-rs-pac4j#74. Maybe you could try using the snapshot version to validate it works as expected? |
A new error message must be progress...
Looks very similar to some errors posted in pac4j/jax-rs-pac4j#45 |
Keep me posted if a new release is necessary. I plan some major work on jax-rs-pac4j and dropwizard-pac4j (pac4j v4 upgrade) before spring. |
If someone has the solution, we can fix that now. Otherwise, I'll investigate in a few months... |
I'm using jersey 2.29 and I notice the same issue |
#51 |
@richeyh thanks for the pull request. We'll need to schedule the Dropwizard v2.x upgrade vs the pac4j v4 upgrade. |
Any news on the Dropwizard v2.x compatibility front? |
I didn't get any update for my last comment: #51 (comment) I expect a contribution on this... |
Thanks. I'm not there yet with DW2, but may be able to help out once I take the plunge. Watching #51 meanwhile. -JM |
yeah i can open the PR the compatibility issue was dealt with on our end via some exclusions and versions bumps.
|
v5 of |
The latest version of dropwizard (2.0.2 at the time of writing) uses jersey 2.30. dropwizard-pac4j depends on jersey225-pac4j, and as a result is not compatible.
A good solution might be to release separate artifacts targeting different dropwizard versions, similar to what jax-rs-pac4j does
The text was updated successfully, but these errors were encountered: