Hi,

I have custom auth provider which is extending "SimpleAuthentionProvider". I 
want to implement connection tracking in this.
So that I can get list of active connections and create a shared connection to 
an existing active connection.
Pls let me know if I can refer any existing module/code for doing this.

Regards,
Umesh

-----Original Message-----
From: Nick Couchman <[email protected]> 
Sent: Tuesday, December 17, 2019 12:41 AM
To: [email protected]
Subject: Re: Listing all active connections in custom auth provider

On Mon, Dec 16, 2019 at 11:45 AM Umesh Bhatt <[email protected]> wrote:

> Hi,
>
> Thanks for sharing info.
> I am not using JDBC authentication, can this be done with File Based 
> Authentication?
> Also can you pls provide more info on decorate? What is the use of it?
>
>
The JDBC module is the only one currently that implements active connection 
tracking, so, no, you cannot do it with File-Based Authentication, unless you 
implement a file-based extension that also does the connection tracking.

Decoration allows for extension modules to use the facilities in other modules, 
including storing data.  An example of this is the TOTP authentication 
extension, which uses the JDBC module to store the TOTP information and also 
requires additional authentication (the second factor) for the user.

-Nick

Reply via email to