Re: JDBC authority - Make optional the ID query

2020-12-11 Thread Karl Wright
I think if there is an option for not needing to do the lookup then by all
means we should allow a pass-through.  But I believe there may already be
that option in other existing authority connectors.  It may be best in any
case to have a simple "pass through" authority connector available that can
be used everywhere, rather than make this an option of the JDBC connector.

Karl



On Tue, Dec 8, 2020 at 7:56 AM  wrote:

> Hi Karl,
>
> Currently, the query to retrieve the User ID from the USERNAME in the JDBC
> authority connector configuration is mandatory, an error is triggered if it
> is not fulfilled or if the query does not work. However, we may have a
> token
> query which only uses the USERNAME to work, making the User ID query
> useless
> and resources consuming for nothing.
>
> We may update the code to make the user ID query not mandatory, what do you
> think ?
>
> Regards,
> Julien Massiera
>
>
>
>
>
>


JDBC authority - Make optional the ID query

2020-12-08 Thread julien.massiera
Hi Karl,

Currently, the query to retrieve the User ID from the USERNAME in the JDBC
authority connector configuration is mandatory, an error is triggered if it
is not fulfilled or if the query does not work. However, we may have a token
query which only uses the USERNAME to work, making the User ID query useless
and resources consuming for nothing.

We may update the code to make the user ID query not mandatory, what do you
think ?

Regards,
Julien Massiera