Re: [Quickfix-users] Logon Authentication at Acceptor?
Brought to you by:
orenmnero
From: Djalma R. d. S. F. <drs...@gm...> - 2007-08-16 13:54:39
|
Hi, Intercept the logon message (35=A) in your Application::fromAdmin, if your custom authentication fails throw RejectLogon, QF will automatically respond with a logout (35=5) containing the reason. if (msgType == "A") { const _tstring strConnType = CRouterConfigManager::getInstance().get(session).getString(FIX::CONNECTION_TYPE); if (strConnType == "acceptor") { _tstring strRejectReason; if (!Authorize(message, strRejectReason)) { throw FIX::RejectLogon( strRejectReason ); } Djalma On 8/16/07, Check Me <meo...@gm...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: > http://www.quickfixengine.org/services.html > > > Hi All. > > Is there any way we can do a custom logon authentication in Acceptor, using > QuickFIX? I want to be able to authenticate intercept logon messages from > clients and do a custom authentication and respond with either a logon > confirmation or logout with reason, based on the result of my custom > authentication. > > I will appreaciate any help in this regard. > > Thanks, > Hemant > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > > |