OAM custom plugin connecting to OIM
We have a custom OAM 11.1.2 authentication plugin, which connects to OIM to retrieve user challenge questions.
The OIM portion of the application works fine on the command line by adding only the following external jars to the CLASSPATH:
CLASSPATH=".:$LIB_DIR/oimclient.jar:$LIB_DIR/jrf-api.jar:$LIB_DIR/spring.jar:$LIB_DIR/commons-logging.jar:$LIB_DIR/authwl.conf:$LIB_DIR/wlfullclient.jar"
When we deploy the OAM plugin jar and perform the testing we get the following exception: java.lang.SecurityException: unable to instantiate LoginConfiguration
The full exception stack trace is at he bottom of this post.
The exception happens exactly at the login() call: client.login(OIMAdmin, OIMAdminPW.toCharArray()); where client is an OIMClient instance.