I’m using Luracast restler and i’m trying to implement some authentication by implementing iAuthenticate interface. 

The thing is, my authentication code needs to query my database to retrieve the user private key. This private key will always be provided in the url request (hashed).

I wanted to open just one database connection to each request, so i need to pass the db connection variable to my class that implements iAuthenticate and to the other classes that handle all the requests. But i can’t figure out how can i pass variables to my class that implements iAuthenticate.

Is it possible? 

For reference, here are [the luracast examples](http://help.luracast.com/restler/examples/_005_protected_api/readme.html)

thks in advance.