You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "XN137 (via GitHub)" <gi...@apache.org> on 2025/10/29 10:06:11 UTC
[PR] Prefer PolarisPrincipal over SecurityContext [polaris]
XN137 opened a new pull request, #2932:
URL: https://github.com/apache/polaris/pull/2932
WIP as based on `https://github.com/apache/polaris/pull/2925` currently
the general idea is that `SecurityContext` comes from `jakarta.ws.rs` and there is no reason for non-rest related classes to deal with those details.
instead, once preprocessing of a rest-request has inferred the `PolarisPrincipal` all inner/core code should rely on only that.
Note that this simplifies a bunch of tests that had to create `SecurityContext` around the principal that they wanted to use, thus leaving open the question how to implement `isUserInRole` and the like.
--
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: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Prefer PolarisPrincipal over SecurityContext [polaris]
Posted by "adutra (via GitHub)" <gi...@apache.org>.
adutra merged PR #2932:
URL: https://github.com/apache/polaris/pull/2932
--
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: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Prefer PolarisPrincipal over SecurityContext [polaris]
Posted by "XN137 (via GitHub)" <gi...@apache.org>.
XN137 commented on PR #2932:
URL: https://github.com/apache/polaris/pull/2932#issuecomment-3481506165
rebased after trivial merge conflict in:
```
runtime/service/src/test/java/org/apache/polaris/service/catalog/iceberg/AbstractIcebergCatalogViewTest.java
```
--
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: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org