[fixes #9287] Fix *-Capability OSGI manifest to provide ClaimInformationPointProviderFactory via service loader

This commit is contained in:
Christian Lutz 2021-12-21 15:31:00 +01:00 committed by Pedro Igor
parent 490590625d
commit 9e41053587

View file

@ -139,6 +139,12 @@
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Import-Package>${keycloak.osgi.import}</Import-Package> <Import-Package>${keycloak.osgi.import}</Import-Package>
<Export-Package>${keycloak.osgi.export}</Export-Package> <Export-Package>${keycloak.osgi.export}</Export-Package>
<Require-Capability>
osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)", osgi.serviceloader; filter:="(osgi.serviceloader=org.keycloak.adapters.authorization.ClaimInformationPointProviderFactory)";cardinality:=multiple, osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)"
</Require-Capability>
<Provide-Capability>
osgi.serviceloader; osgi.serviceloader=org.keycloak.adapters.authorization.ClaimInformationPointProviderFactory
</Provide-Capability>
</instructions> </instructions>
</configuration> </configuration>
</plugin> </plugin>