On Mon, Dec 16, 2019 at 3:51 AM Umesh Bhatt <[email protected]> wrote:
> Hi, > > I have MyCustomAuthenticationProvider class which is extending > SimpleAuthenticationProvider. > Is it possible to get current logged in user context in this? > I think this SimpleAuthenticationProvider::getuserContext() always creates > a new SimpleUserContext and doesn't return already created one. > After this I want to list all active connections created by this user. > > I think in order to do what you're trying to do - get active connections from another authentication module (JDBC, presumably), your custom extension module needs to decorate the existing JDBC extension, which will allow you to pull that information from the underlying extension and then use it as you like. -Nick
