Hello everyone,
I'm using OAM 11.1.2 and I want to build an authentication plugin.
In my code I need to reference classes to validate the information. These classes are in a jar file. This jar distribution depends on another jar.
Meaning I need to add multiple jar's to my plugin.
How can this be done?
I tried the following:
* Adding the classes of the jars directly into my jar. Didn't work, since it still depends on yet other classes.
* Adding the jar's as libraries to the wls-server, meanly the oam_server1. Adding the reference to these jars in the manifest.xml file. Then I have a problem during activation of the plugin. He complains that he can't find the classes.
<Activation failed due to felix bundle exception while installing and starting the bundle.Unresolved constraint in bundle firstPlugin [3]: Unable to resolve 3.0: missing requirement [3.0] package; (package=javax.net.ssl.HttpsURLConnection)
org.osgi.framework.BundleException: Unresolved constraint in bundle firstPlugin [3]: Unable to resolve 3.0: missing requirement [3.0] package; (package=javax.net.ssl.HttpsURLConnection)
So any other solution is very much appreciated here.
Thank you in advance.
Filip Huysmans.