Re: [Quickfix-developers] How to implement our own authorization scheme
Brought to you by:
orenmnero
From: <OM...@th...> - 2003-02-01 18:05:26
|
I think the only thing holding you back from using the cracker to do th= is is the exceptions that it throws. In the fromAdmin callback you can th= row a RejectLogon exception, which will do exactly that with a logon messag= e. The cracker currently doesn't allow you to throw this exception so you = can either: A) Modify the onMessage( Logon, SessionID ) method to allow it to throw= RejectLogon B) In your fromAdmin, cast Logon messages yourself and do your check directly in that method. Then you can look inside the message and decide whether you want to thr= ow the RejectLogon exception. --oren |---------+-----------------------------------------------> | | Joerg Thoennes | | | <Joe...@ma...> | | | Sent by: | | | qui...@li...ur| | | ceforge.net | | | | | | | | | 01/31/2003 10:07 AM | | | Please respond to Joerg.Thoennes | | | | |---------+-----------------------------------------------> >--------------------------------------------------------------------= --------------------------| | = | | To: qui...@li... = | | cc: = | | Subject: [Quickfix-developers] How to implement our own auth= orization scheme | >--------------------------------------------------------------------= --------------------------| Hello, currently we develop a FIX gateway to some other system. We use Java 1.= 4 and the provided JNI library. I think the preferred way to use the message cracker for processing is very usable. But we need to configure session level processing in that way, that we check the login names against an application server and then tell the FIX engine whether the Logon is accepted. Is there any hook to do this? Thanks, J=F6rg -- Joerg Thoennes http://macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld =3D Something 2 See! http://www.vasoftware.com _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers = |