2 Replies Latest reply: Nov 26, 2012 1:04 AM by 886682 RSS

    Custom Authentication Plugin OAM10g

    886682
      Hi,

      I have written a custom authentication plugin in C for OAM 10g. In this plugin i am making ldap connection to the OVD which in turn connects to a database adapter.
      I making an ldap connection for every transaction and releasing it at end of the transaction . Since this way is not recommended, the approach needs to be changed.

      I now open the connection when the plugin is initialized(that is the first time it is loaded) and reuse this connection for all request. But the drawback is if for some reason i am unable to connect to ldap then i can't bind to OVD again till i restart OVD and the plugin is loaded. Any help will be appreciated on what should be the right approach to do this?

      TIA .

      Edited by: 883679 on Nov 8, 2012 8:57 PM

      Edited by: 883679 on Nov 14, 2012 11:34 PM

      Edited by: 883679 on Nov 25, 2012 9:05 PM

      Edited by: 883679 on Nov 25, 2012 9:09 PM