AXIS2_EXTERN int AXIS2_CALL saml_auth_query_set_authentication_method()

in src/omxmlsec/saml/query.c [714:724]


AXIS2_EXTERN int AXIS2_CALL saml_auth_query_set_authentication_method(saml_authentication_query_t *authentication_query,
																	  const axutil_env_t *env,
																	  axis2_char_t *authentication_mtd)
{
	if(authentication_query->auth_method)
	{
		AXIS2_FREE(env->allocator, authentication_query->auth_method);
	}
	authentication_query->auth_method = axutil_strdup(env, authentication_mtd);
	return AXIS2_SUCCESS;
}