[Vortex] Is there any server side event on SASL completed?

Francis Brosnan Blazquez francis at aspl.es
Fri Sep 27 13:12:41 CEST 2013


> Hi,

Hi Matthias,

> I am playing with the vortex C library and like the way BEEP works very
> much. 

;-)

> One thing I could not find out yet:
> 
> Is there an event to register, that is triggered when SASL finished? On
> the client side I can use the process_status callback passed to
> vortex_sasl_start_auth. But I cannot find anything similar on the server
> side.

Uhmn...good question. There is (still) no handler that could provide
such notification (right now).

Technically you could do so directly in your auth handler (where you
have first hand information about the auth state). This applies well for
methods like plain where you just return OK|ERROR 

In the case you are using a SASL method that returns the password (and
hence, you cannot know if the auth op will end up well), the recommended
solution is to check SASL state (vortex_sasl_is_authenticated) at your
frame received handlers at first place.

...and if I were to update Vortex to include this feature, I would start
adding it [1] inside __vortex_sasl_server_iterate, right after the flag
SASL_IS_AUTHENTICATED and the SASL filters are configured (around line
2104).

[1] https://dolphin.aspl.es/svn/publico/af-arch/trunk/libvortex-1.1/sasl/vortex_sasl.c

Let us to know your progress, Cheers!

> Regards,
> Matthias
> 
> 
> 
> Hola:
> 
> Estoy jugando con la biblioteca vortex C. Me gusta mucho el protocolo BEEP.
> Pero hay una cosa que no comprendo:
> 
> Hay un evento que señala el término de SASL al lado del servidor? Al
> lado del cliente puedo usar el parámetro process_status de
> vortex_sasl_start_auth. Pero no encontral algo similar para el servidor.
> 
> Saludos,
> Matthias

;-) It's very kind about you writing in Spanish too, but remember to
always include an english translation (so other non spanish users can
understand it). Just like you did it know.

Buena suerte y permítenos saber tus progresos, Saludos!

_______________________________________________
> Vortex mailing list
> Vortex at lists.aspl.es
> http://lists.aspl.es/cgi-bin/mailman/listinfo/vortex

-- 
Francis Brosnan Blázquez <francis.brosnan at aspl.es>
ASPL
91 134 14 22 - 91 134 14 45 - 91 116 07 57

AVISO LEGAL

Este mensaje se dirige exclusivamente a su destinatario. Los datos
incluidos en el presente correo son confidenciales y sometidos a secreto
profesional, se prohíbe divulgarlos, en virtud de las leyes vigentes. Si
usted no lo es y lo ha recibido por error o tiene conocimiento del mismo
por cualquier motivo, le rogamos que nos lo comunique por este medio y
proceda a destruirlo o borrarlo.

En virtud de lo dispuesto en la Ley Orgánica 15/1999, de 13 de
diciembre, de Protección de Datos de Carácter Personal, le informamos de
que sus datos de carácter personal, recogidos de fuentes accesibles al
público o datos que usted nos ha facilitado previamente, proceden de
bases de datos propiedad de Advanced Software Production Line, S.L.
(ASPL). No obstante, usted puede ejercitar sus derechos de acceso,
rectificación, cancelación y oposición dispuestos en la mencionada Ley
Orgánica, notificándolo por escrito a:
ASPL - Protección Datos, C/Antonio Suárez 10 A-102, 28802, Alcalá de
Henares (Madrid).



More information about the Vortex mailing list