OAM custom authentication plugin problem
I'm trying to create a custom authentication plugin in managed code (C#) to run in OAM 10.1.4.2. At present, the methods are basically empty:
- ObAnPluginGetVersion just returns AnDefines.OB_AN_PLUGIN_VERSION;
- ObAnPluginInit, ObAnPluginFN, and ObAnPluginTerminate return IObAuthnPlugin.Status.ObAnPluginStatusContinue
The plugin gets loaded and called by the authentication scheme, but the authentication fails with an OAM error message, "A plugin for the authentication scheme [...] has aborted processing credentials". I turned on trace-level logging for the Access service and it shows that the return value it's getting from ObAnPluginInit is Abort (3) instead of Continue (0).
Has anyone written a managed code authentication plugin? Any ideas on this issue?
Thanks,
Matthew