axl_bool vortex_sasl_accept_negotiation_common ( VortexCtx ctx,
const char *  mech,
VortexSaslCommonHandler  auth_handler,
axlPointer  user_data 
)

Unified SASL listener side profile activation.

This function is used to enable the Vortex SASL engine to accept and route into the application level, SASL auth requests for the given SASL mech.

The notification and auth check will be done with the provided VortexSaslCommonHandler configured at the auth_handler. An optional user defined pointer will be passed to the auth handler if defined user_data.

References vortex_ctx_set_data_full(), and vortex_sasl_accept_negotiation().