Identity Management (MOSC)

MOSC Banner

How to access external library from OAM authentication plugin?

edited Apr 20, 2017 2:48PM in Identity Management (MOSC) 2 commentsAnswered ✓

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)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center