Description
Unable to load oak-auth-external in osgi environments [1]. The package org.apache.jackrabbit.oak.spi.security.authentication.credentials
does not have an entry in Export-package declaration in the pom though it has a export version of 1.0.
Adding the entry in the Export-package fixes the issue.
[1]
30.03.2016 14:53:15.040 *ERROR* [FelixDispatchQueue] org.apache.jackrabbit.oak-auth-external FrameworkEvent ERROR (org.osgi.framework.BundleException: Unable to resolve org.apache.jackrabbit.oak-auth-external [89](R 89.0): missing requirement [org.apache.jackrabbit.oak-auth-external [89](R 89.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.oak.spi.security.authentication.credentials)(version>=1.0.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.jackrabbit.oak-auth-external [89](R 89.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.oak.spi.security.authentication.credentials)(version>=1.0.0)(!(version>=2.0.0)))]) org.osgi.framework.BundleException: Unable to resolve org.apache.jackrabbit.oak-auth-external [89](R 89.0): missing requirement [org.apache.jackrabbit.oak-auth-external [89](R 89.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.oak.spi.security.authentication.credentials)(version>=1.0.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.jackrabbit.oak-auth-external [89](R 89.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.oak.spi.security.authentication.credentials)(version>=1.0.0)(!(version>=2.0.0)))] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111) at org.apache.felix.framework.Felix.startBundle(Felix.java:2117) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) at java.lang.Thread.run(Thread.java:745) 30.03.2016 14:53:15.040 *ERROR* [FelixDispatchQueue] org.apache.jackrabbit.oak-auth-ldap FrameworkEvent ERROR (org.osgi.framework.BundleException: Unable to resolve org.apache.jackrabbit.oak-auth-ldap [90](R 90.0): missing requirement [org.apache.jackrabbit.oak-auth-ldap [90](R 90.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.oak.spi.security.authentication.external)(version>=2.0.0)(!(version>=3.0.0))) [caused by: Unable to resolve org.apache.jackrabbit.oak-auth-external [89](R 89.0): missing requirement [org.apache.jackrabbit.oak-auth-external [89](R 89.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.oak.spi.security.authentication.credentials)(version>=1.0.0)(!(version>=2.0.0)))] Unresolved requirements: [[org.apache.jackrabbit.oak-auth-ldap [90](R 90.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.oak.spi.security.authentication.external)(version>=2.0.0)(!(version>=3.0.0)))]) org.osgi.framework.BundleException: Unable to resolve org.apache.jackrabbit.oak-auth-ldap [90](R 90.0): missing requirement [org.apache.jackrabbit.oak-auth-ldap [90](R 90.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.oak.spi.security.authentication.external)(version>=2.0.0)(!(version>=3.0.0))) [caused by: Unable to resolve org.apache.jackrabbit.oak-auth-external [89](R 89.0): missing requirement [org.apache.jackrabbit.oak-auth-external [89](R 89.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.oak.spi.security.authentication.credentials)(version>=1.0.0)(!(version>=2.0.0)))] Unresolved requirements: [[org.apache.jackrabbit.oak-auth-ldap [90](R 90.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.oak.spi.security.authentication.external)(version>=2.0.0)(!(version>=3.0.0)))] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111) at org.apache.felix.framework.Felix.startBundle(Felix.java:2117) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) at java.lang.Thread.run(Thread.java:745)
Attachments
Issue Links
- relates to
-
OAK-3886 Delegate supported Credentials types to ExternalIdentityProvider
- Closed