On 09/09/2015 01:54 PM, Mark Rotteveel wrote:
> Looking through the code in interface.cpp, there seem to be two new
> authentication mechanisms in Firebird 3, one in the op_connect (with
> CNCT_specific_data), and again one in op_attach with the DPB; they use
> the same or similar data, but two different ways of using.
>
> Why is this? Wouldn't it have been simpler to implement only one
> authentication mechanism (besides the classic mechanism) and stick with
> that?
>
> Mark

FB3 supports use of multiple authentication plugins. It may happen (when 
no encryption is used) that first one works at connect stage, next 
starts at attach stage and later follows exchange with auth data until 
authentication success (or failure). This saves roundtrips when attaching.



------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to