You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@synapse.apache.org by vijayaratha vijayasingam <vi...@gmail.com> on 2013/05/02 10:36:21 UTC

FIX transport logon message, username/password configuration

Hi all;
In the FIX transport implementation, If synapse acts as an initiator, it
first sends logon message to the acceptor..If the acceptor requires
username/password for logon message, is there a way to provide that
configuration in initiator.cfg file?

In the logon message (MsgType=A) it has two tags, 553 and 554, for username
and password. So, acceptor might require these fields for logon purpose.

Thanks
-ratha

Re: FIX transport logon message, username/password configuration

Posted by vijayaratha vijayasingam <vi...@yahoo.co.uk>.
Thanks a lot hiranya..


________________________________
 From: Hiranya Jayathilaka <hi...@gmail.com>
To: user@synapse.apache.org 
Sent: Friday, 10 May 2013, 3:58
Subject: Re: FIX transport logon message, username/password configuration
 

Hi Ratha,

AFAIK this cannot be done through the configuration. See [1] for the related documentation.

You should be able to implement a custom event handler [2] to support this requirement though. Implement the toAdmin method of the SessionEventHandler and write the code to add the tags 553 and 554.

Thanks,
Hiranya

[1] - http://www.quickfixj.org/confluence/display/qfj/User+FAQ
[2] - http://svn.apache.org/repos/asf/synapse/tags/2.1.0/modules/transports/optional/fix/src/main/java/org/apache/synapse/transport/fix/SessionEventHandler.java

On May 2, 2013, at 1:36 AM, vijayaratha vijayasingam <vi...@gmail.com> wrote:

> Hi all;
> In the FIX transport implementation, If synapse acts as an initiator, it
> first sends logon message to the acceptor..If the acceptor requires
> username/password for logon message, is there a way to provide that
> configuration in initiator.cfg file?
> 
> In the logon message (MsgType=A) it has two tags, 553 and 554, for username
> and password. So, acceptor might require these fields for logon purpose.
> 
> Thanks
> -ratha

--
Hiranya Jayathilaka
Mayhem Lab/RACE Lab;
Dept. of Computer Science, UCSB;  http://cs.ucsb.edu
E-mail: hiranya@cs.ucsb.edu;  Mobile: +1 (805) 895-7443
Blog: http://techfeast-hiranya.blogspot.com

Re: FIX transport logon message, username/password configuration

Posted by Hiranya Jayathilaka <hi...@gmail.com>.
Hi Ratha,

AFAIK this cannot be done through the configuration. See [1] for the related documentation.

You should be able to implement a custom event handler [2] to support this requirement though. Implement the toAdmin method of the SessionEventHandler and write the code to add the tags 553 and 554.

Thanks,
Hiranya

[1] - http://www.quickfixj.org/confluence/display/qfj/User+FAQ
[2] - http://svn.apache.org/repos/asf/synapse/tags/2.1.0/modules/transports/optional/fix/src/main/java/org/apache/synapse/transport/fix/SessionEventHandler.java

On May 2, 2013, at 1:36 AM, vijayaratha vijayasingam <vi...@gmail.com> wrote:

> Hi all;
> In the FIX transport implementation, If synapse acts as an initiator, it
> first sends logon message to the acceptor..If the acceptor requires
> username/password for logon message, is there a way to provide that
> configuration in initiator.cfg file?
> 
> In the logon message (MsgType=A) it has two tags, 553 and 554, for username
> and password. So, acceptor might require these fields for logon purpose.
> 
> Thanks
> -ratha

--
Hiranya Jayathilaka
Mayhem Lab/RACE Lab;
Dept. of Computer Science, UCSB;  http://cs.ucsb.edu
E-mail: hiranya@cs.ucsb.edu;  Mobile: +1 (805) 895-7443
Blog: http://techfeast-hiranya.blogspot.com