You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Christian Schneider (Jira)" <ji...@apache.org> on 2022/07/21 08:28:00 UTC
[jira] [Created] (OAK-9852) FilterProviderImpl should log a warning if a subject is not completely principal based
Christian Schneider created OAK-9852:
----------------------------------------
Summary: FilterProviderImpl should log a warning if a subject is not completely principal based
Key: OAK-9852
URL: https://issues.apache.org/jira/browse/OAK-9852
Project: Jackrabbit Oak
Issue Type: Improvement
Components: authorization-principalbased
Reporter: Christian Schneider
For content distribution we use a user mapping with a subservice like:
{code:java}
"org.apache.sling.distribution.journal:importer=[sling-distribution-importer,sling-distribution,content-writer-service,repository-reader-service,version-manager-service,group-administration-service,user-administration-service,namespace-mgmt-service]"{code}
Angela explained to me that if any of the subjects in the list is not principal based then the whole subservice will fall back to default authoristation. This can lead to unexpected access denied issues that are difficult to debug.
So it would be great if we could add some warn logging that cleary tells us that our subservice is possibly not working as expected.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)