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
dropwizard-shiro not compatible with drowizard 2.0.0 #15
Comments
See silb/shiro-jersey#11 for potential workarounds. |
I created a small rewrite at work to get things working for us in Dropwizard 2.0 with Shiro 1.5, that might be helpful if someone wants to do something similar. Basically simplifying the code by using classes available in Dropwizard-auth and Shiro and some general code refactoring. There's an issue right now with Shiro 1.5.0 and setting the filter url pattern to "/", due to a bug in Shiro's path normalisation. A fix for that has been merged and should be in 1.5.1 according to apache/shiro#201 It might be too simplistic for some use cases, but we're basically only interested in setting up a standard filter with annotation bindings for the Pricipal towards a database backed realm. |
There is a working snapshot version for Dropwizard 2.0 in dropwizard-2.0 which again requires a snapshot artifact built from https://github.com/silb/shiro-jersey/tree/jersey-2.26. |
@silb any chance of a release to maven central? |
This project is not compatible with dropwizard 2.0.0. The following exception is thrown
java.lang.ClassNotFoundException: org.glassfish.jersey.server.spi.internal.ValueFactoryProvider
.The text was updated successfully, but these errors were encountered: