Authentication failed

Imported from previous forum

Hello,

Authentication is performed by the acceptor: he examines data (CompID field) in logon message. If the initiator is successfully authenticated, the acceptor responds with a Logon message. But if authentication fails, the session acceptor should shut down the connection.

The question is: in which way the connection has to be shut down? Should acceptor send a Logout message or maybe a reject message to initiator before closing connection?

Moreover, it may be useful to initiator to examines data in logon response to be sure he’s connected on the right FIX engine. What do you think about it?

Thanks.