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

2024-05-24 Thread Steinar Bang
> lenny-5o6p1tln9c5dpfhejli...@public.gmane.org: > Ah, that’s a different world here unfortunately… you are on your own there Yep. There may be a feature request about a parametrized classloader (which is a good idea in any case) going all the way into the code that tries to load a class by

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

2024-05-23 Thread lenny
Ah, that’s a different world here unfortunately… you are on your own there > On May 23, 2024, at 11:59 AM, Steinar Bang wrote: > >> lenny-5o6p1tln9c5dpfhejli...@public.gmane.org: > >> That’s hardly enough to go on. Sounds like a configuration issue. > > No, that's just me thinking out

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

2024-05-23 Thread Steinar Bang
> lenny-5o6p1tln9c5dpfhejli...@public.gmane.org: > That’s hardly enough to go on. Sounds like a configuration issue. No, that's just me thinking out loud. > Do you have a reproducer? Not yet, but the first stack trace in the log is failing in INI parsing because of

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

2024-05-22 Thread lenny
Hi, That’s hardly enough to go on. Sounds like a configuration issue. Do you have a reproducer? > On May 22, 2024, at 12:33 PM, Steinar Bang wrote: > >> lenny-5o6p1tln9c5dpfhejli...@public.gmane.org: > >> Awesome! Thank you for your contributions and help! We appreciate it. > > My

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

2024-05-22 Thread Steinar Bang
> lenny-5o6p1tln9c5dpfhejli...@public.gmane.org: > Awesome! Thank you for your contributions and help! We appreciate it. My pleasure! I'm not all there yet, however...:-) All applications built without compilation and test errors, but I'm currently getting HTTP ERROR 500

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

2024-05-21 Thread lenny
Awesome! Thank you for your contributions and help! We appreciate it. > On May 21, 2024, at 4:45 PM, Steinar Bang wrote: > >> lenny-5o6p1tln9c5dpfhejli...@public.gmane.org > >> There are plenty of tests already. They were all expecting flipped values, >> as the naming is very confusing. No

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

2024-05-21 Thread Steinar Bang
> lenny-5o6p1tln9c5dpfhejli...@public.gmane.org > There are plenty of tests already. They were all expecting flipped values, > as the naming is very confusing. No need for any new tests. Ok. Anyway! My stuff builds against a snapshot from the current main of shiro. Thanks! (Tomorrow I

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

2024-05-21 Thread lenny
There are plenty of tests already. They were all expecting flipped values, as the naming is very confusing. No need for any new tests. > On May 21, 2024, at 12:18 PM, Steinar Bang wrote: > >> Steinar Bang : > >> Would you like a port of my unit tests to the shiro-jaxrs project (a 200 >>

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

2024-05-21 Thread Steinar Bang
> Steinar Bang : > Would you like a port of my unit tests to the shiro-jaxrs project (a 200 > OK test (logged in user with role admin), a 401 Authenticate test (user > not logged in) and a 403 Forbidden test (user without role admin logged > in))? But that offer is only good if I can use

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

2024-05-21 Thread Steinar Bang
> Steinar Bang : > lenny-5o6p1tln9c5dpfhejli6iq-xmd5yjdbdmrexy1tmh2...@public.gmane.org: >> Sheesh, I think you are right :) > Would you like me to create a new Gitub issue? Nevermind! I saw you reopened the old issue. Would you like a port of my unit tests to the shiro-jaxrs project

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

2024-05-20 Thread lenny
Sheesh, I think you are right :) > On May 20, 2024, at 4:01 PM, Steinar Bang wrote: > >> Steinar Bang : > >> lenny-5o6p1tln9c5dpfhejli6iq-xmd5yjdbdmrexy1tmh2...@public.gmane.org: >>> Hi, >>> I believe this will be fixed in 2.0.1 >>> See https://github.com/apache/shiro/issues/1383 >>>

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

2024-05-20 Thread Steinar Bang
> Steinar Bang : > lenny-5o6p1tln9c5dpfhejli6iq-xmd5yjdbdmrexy1tmh2...@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

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!

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

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