Closed brjeter closed 5 years ago
It turns out that the issue was actually related to the fact that the bundle was a fragment and the logic to compute the list of domains was coming up with the host bundle as opposed to the fragment bundle as does the security manager.
Description
Acdebugger appears to look at the bundle's symbolic name for deciding what permissions it has, displaying that bundle's info, etc. This does not align with how the security manager works. The security manager uses that bundle's artifactId as the key.
Steps to Reproduce
Note: If it's easier than artificially creating this scenario, this will happen on DDF 2.13.x as of commit. Steps:
/=IDP|GUEST
to/=PKI|GUEST
https://localhost:8993/login/
and attempt to login.pax-web-jetty
(the artifactId) already has the needed permissionExpected behavior:
The acdebugger should only provide output saying bundle A needs the permission
Actual behavior:
The acdebugger will provide output saying that both bundles A and B need the permission
Reproduces how often:
Every time
Version
1.7