shiro-jaxrs of shiro 2.0.0: tests expecting 403 get 401 and tests expecting 401 get UnauthenticatedException

2024-04-28 Thread Steinar Bang
I'm trying to switch from shiro 1.13.0 to shiro 2.0.0 and I'm running into test failures in my tests of jersey JAX-RS resources. I am getting 401 Unauthorized responses where I'm expecting 403 Forbidden (accessing rest endpoint with a logged in user without the required role) and I'm getting

Re: shiro-jaxrs of shiro 2.0.0: tests expecting 403 get 401 and tests expecting 401 get UnauthenticatedException

2024-04-28 Thread lenny
Hi, I believe this will be fixed in 2.0.1 See https://github.com/apache/shiro/issues/1383 for details. > On Apr 28, 2024, at 10:03 AM, Steinar Bang wrote: > > I'm trying to switch from shiro 1.13.0 to shiro 2.0.0 and I'm running > into test

Re: shiro-jaxrs of shiro 2.0.0: tests expecting 403 get 401 and tests expecting 401 get UnauthenticatedException

2024-04-28 Thread Steinar Bang
> lenny-5o6p1tln9c5dpfhejli...@public.gmane.org: > Hi, > I believe this will be fixed in 2.0.1 > See https://github.com/apache/shiro/issues/1383 > for details. Ah, thanks! I will hold off switching from 1.13.0 until 2.0.1 is out. Thanks again!

Shiro 2.0.1 release

2024-04-28 Thread lenny
Hi, Looks like we are starting go get multiple issues submitted that are already slated to be fixed in 2.0.1 I am thinking to release 2.0.1 sooner rather than later. However, there are a few outstanding issues: https://github.com/apache/shiro/milestone/7