How to access external library from OAM authentication plugin?
I am developing a custom authentication plugin for Oracle Access Manager (OAM). I need to access an external custom library for this purpose. But I do not want to package it with the plugin bundle. I also do not want to deploy it as a standalone plugin and export the packages using Export-Package feature. I deployed it in a specific directory and added it to the classpath. I want to import it from there. The problem is that the plugin activation fails when importing the packages from that library. It throws the following exception.
Caused By: org.osgi.framework.BundleException: Unresolved constraint in bundle OAMAuthnStepOne [2]: Unable to resolve 2.0: missing requirement [2.0] osgi.wiring.package; (osgi.wiring.package=com.company)