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 
>>>  for details.
> 
>> Ah, thanks!
> 
>> I will hold off switching from 1.13.0 until 2.0.1 is out.
> 
> Just tried a snapshot built from the current main and the fix still
> don't work for me: the test expecting 403 gets 401 and the test
> expecting 401 gets 403.
> 
> The test expecting 403 uses a logged in user without the the required role:
> https://github.com/steinarb/servlet/blob/master/servlet/servlet.jersey/src/test/java/no/priv/bang/servlet/jersey/JerseyServletTest.java#L127
> 
> The test expecting 401 has no user logged in:
> https://github.com/steinarb/servlet/blob/master/servlet/servlet.jersey/src/test/java/no/priv/bang/servlet/jersey/JerseyServletTest.java#L147
> 
> I put more info in a comment on issue 1383:
> https://github.com/apache/shiro/issues/1383#issuecomment-2121189462
> 



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 switching from 1.13.0 until 2.0.1 is out.

Just tried a snapshot built from the current main and the fix still
don't work for me: the test expecting 403 gets 401 and the test
expecting 401 gets 403.

The test expecting 403 uses a logged in user without the the required role:
 
https://github.com/steinarb/servlet/blob/master/servlet/servlet.jersey/src/test/java/no/priv/bang/servlet/jersey/JerseyServletTest.java#L127

The test expecting 401 has no user logged in:
 
https://github.com/steinarb/servlet/blob/master/servlet/servlet.jersey/src/test/java/no/priv/bang/servlet/jersey/JerseyServletTest.java#L147

I put more info in a comment on issue 1383:
 https://github.com/apache/shiro/issues/1383#issuecomment-2121189462


Re: [PR] Bump org.asciidoctor:asciidoctorj from 2.5.12 to 2.5.13 [shiro-site]

2024-05-20 Thread via GitHub


lprimak merged PR #203:
URL: https://github.com/apache/shiro-site/pull/203


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@shiro.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PR] Bump org.asciidoctor:asciidoctorj from 2.5.12 to 2.5.13 [shiro-site]

2024-05-20 Thread via GitHub


dependabot[bot] opened a new pull request, #203:
URL: https://github.com/apache/shiro-site/pull/203

   Bumps 
[org.asciidoctor:asciidoctorj](https://github.com/asciidoctor/asciidoctorj) 
from 2.5.12 to 2.5.13.
   
   Release notes
   Sourced from https://github.com/asciidoctor/asciidoctorj/releases;>org.asciidoctor:asciidoctorj's
 releases.
   
   v2.5.13
   Improvements:
   
   Upgrade to asciidoctor 2.0.23 (https://redirect.github.com/asciidoctor/asciidoctorj/issues/1272;>#1272)
   Upgrade to asciidoctorj-epub3 2.1.3 (https://redirect.github.com/asciidoctor/asciidoctorj/issues/1272;>#1272)
   Upgrade to JRuby 9.4.7.0 (https://redirect.github.com/asciidoctor/asciidoctorj/issues/1272;>#1272)
   
   Bug Fixes:
   
   Column#setWidth is ignored (https://redirect.github.com/asciidoctor/asciidoctorj/issues/1265;>#1265)
 (https://github.com/Vampire;>@​Vampire)
   
   
   
   
   Changelog
   Sourced from https://github.com/asciidoctor/asciidoctorj/blob/v2.5.13/CHANGELOG.adoc;>org.asciidoctor:asciidoctorj's
 changelog.
   
   == 2.5.13 (2024-05-19)
   Improvement::
   
   Upgrade to asciidoctor 2.0.23 (https://redirect.github.com/asciidoctor/asciidoctorj/issues/1272;>#1272)
   Upgrade to asciidoctorj-epub3 2.1.3 (https://redirect.github.com/asciidoctor/asciidoctorj/issues/1272;>#1272)
   Upgrade to JRuby 9.4.7.0 (https://redirect.github.com/asciidoctor/asciidoctorj/issues/1272;>#1272)
   
   Bug Fixes::
   
   Column#setWidth is ignored (https://redirect.github.com/asciidoctor/asciidoctorj/issues/1265;>#1265)
 (https://github.com/Vampire;>@​Vampire)
   
   
   
   
   Commits
   
   https://github.com/asciidoctor/asciidoctorj/commit/27b32c855cb4f1f1ba5c8b144bc2229f562e2126;>27b32c8
 Release 2.5.13 (https://redirect.github.com/asciidoctor/asciidoctorj/issues/1274;>#1274)
   https://github.com/asciidoctor/asciidoctorj/commit/28de11e5eecd8e3c2ad56fce0b932d4d887167b2;>28de11e
 Update asciidoctor 2.0.23 (https://redirect.github.com/asciidoctor/asciidoctorj/issues/1273;>#1273)
   https://github.com/asciidoctor/asciidoctorj/commit/fb66c12e02e98f3021c3de961ee4d3f1121d13cf;>fb66c12
 Support column widths 2.5.x (https://redirect.github.com/asciidoctor/asciidoctorj/issues/1271;>#1271)
   https://github.com/asciidoctor/asciidoctorj/commit/9f9248ae0af6b6b4749b2cedbf3965f1cf87b055;>9f9248a
 Prepare next release
   See full diff in https://github.com/asciidoctor/asciidoctorj/compare/v2.5.12...v2.5.13;>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.asciidoctor:asciidoctorj=maven=2.5.12=2.5.13)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@shiro.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org