You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "arturobernalg (via GitHub)" <gi...@apache.org> on 2025/10/11 12:22:00 UTC

[PR] 3.0: Remove Session#doPrivileged; switch to Subject.doAsPrivileged [jspwiki]

arturobernalg opened a new pull request, #402:
URL: https://github.com/apache/jspwiki/pull/402

   PR description (concise)
   
   - Remove the Security Manager–dependent Session#doPrivileged from jspwiki-api.
   - Replace the only usage with Subject.doAsPrivileged in DefaultAuthorizationManager; behavior unchanged.
   - Keeps policy checks: global via AccessController, local via LocalPolicy.
   - Rationale: avoid a 3.x→4.x API break; aligns with JDK 17–25 where SM is deprecated/disabled.
   - Migration: callers should use Subject.doAs( session.getSubject(), action ) (or doAsPrivileged if needed).
   


-- 
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-unsubscribe@jspwiki.apache.org

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


Re: [PR] 3.0: Remove Session#doPrivileged; switch to Subject.doAsPrivileged [jspwiki]

Posted by "spyhunter99 (via GitHub)" <gi...@apache.org>.
spyhunter99 merged PR #402:
URL: https://github.com/apache/jspwiki/pull/402


-- 
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-unsubscribe@jspwiki.apache.org

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