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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to