summaryrefslogtreecommitdiffstats
path: root/include/axis2_options.h
diff options
context:
space:
mode:
authorGravatar damitha2011-05-31 09:16:01 +0000
committerGravatar damitha2011-05-31 09:16:01 +0000
commit0893c0b34450ccfa46463a71ad0fc588ef16abd7 (patch)
tree691cc2e3145557c028d94a4fb72cc5fcfb458b62 /include/axis2_options.h
parentbcaf5833f0b73566937ad9629d01c943b553abe7 (diff)
downloadaxis2c-0893c0b34450ccfa46463a71ad0fc588ef16abd7.tar.gz
axis2c-0893c0b34450ccfa46463a71ad0fc588ef16abd7.tar.bz2
Initial checkin of ntlm auth code
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1129586 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/axis2_options.h')
-rw-r--r--include/axis2_options.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/include/axis2_options.h b/include/axis2_options.h
index 4ed2185..3c320a0 100644
--- a/include/axis2_options.h
+++ b/include/axis2_options.h
@@ -840,6 +840,53 @@ extern "C"
const axis2_char_t * password,
const axis2_char_t * auth_type);
+ /**
+ * Sets ntlm http authentication information.
+ * @param env pointer to environment struct
+ * @param parent pointer to parent struct
+ * @param username string representing username
+ * @param password string representing password
+ * @param flags int pointer representing flags
+ * @param domain string representing domain
+ * @param workstation string representing workstation
+ * @param auth_type use "NTLM" to force ntlm http authentication
+ * or NULL for not forcing authentication
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axis2_options_set_ntlm_http_auth_info(
+ axis2_options_t * options,
+ const axutil_env_t * env,
+ const axis2_char_t * username,
+ const axis2_char_t * password,
+ const int * flags,
+ const axis2_char_t * domain,
+ const axis2_char_t * workstation,
+ const axis2_char_t * auth_type);
+
+ /**
+ * Sets ntlm proxy authentication information.
+ * @param env pointer to environment struct
+ * @param parent pointer to parent struct
+ * @param username string representing username
+ * @param password string representing password
+ * @param flags int pointer representing flags
+ * @param domain string representing domain
+ * @param workstation string representing workstation
+ * @param auth_type use "NTLM" to force ntlm proxy authentication
+ * or NULL for not forcing authentication
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ axis2_options_set_ntlm_proxy_auth_info(
+ axis2_options_t * options,
+ const axutil_env_t * env,
+ const axis2_char_t * username,
+ const axis2_char_t * password,
+ const int * flags,
+ const axis2_char_t * domain,
+ const axis2_char_t * workstation,
+ const axis2_char_t * auth_type);
/** @} */
#ifdef __cplusplus
}