[
https://issues.apache.org/jira/browse/HTTPCLIENT-523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753940#action_12753940 ]
Zhiyong Li commented on HTTPCLIENT-523:
---------------------------------------
I tried Mikael Wikström's HttpClient 3.x code such as CustomAuthenticationNegotiateExample.java. It works fine for me. However, when I changed the following line:
GetMethod httpget = new GetMethod(args[0]);
To
PostMethod httpget = new PostMethod(args[0]);
I am getting the error: HTTP/1.1 302 Moved Temporarily.
Can anyone let me know why I can not use PostMethod in this case? I am trying to use this with Spring HttpInvoker, which only supports "Post". Thus, I need to get "Post" to work.
Thanks.
> SPNEGO authentication scheme
> ----------------------------
>
> Key: HTTPCLIENT-523
> URL:
https://issues.apache.org/jira/browse/HTTPCLIENT-523> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpAuth
> Affects Versions: Snapshot
> Environment: Operating System: All
> Platform: All
> Reporter: Mikael Wikström
> Priority: Minor
> Fix For: 4.1.0
>
> Attachments: bcsLogin.conf, CustomAuthenticationNegotiateExample.java, CustomAuthenticationNegotiateExample.java, httpclient4kerb20090710.zip, KerberosHttpClient.zip, NegotiateScheme.java, NegotiateScheme.java, run.sh, submitclient.tar.gz
>
>
> Consider integrating the SPNEGO auth scheme from Commons HttpClient contrib package into HttpClient 4.0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail:
dev-unsubscribe@...
For additional commands, e-mail:
dev-help@...