hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhiyong Li (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCLIENT-523) SPNEGO authentication scheme
Date Fri, 11 Sep 2009 01:33:57 GMT

    [ 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]);

        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. 


> 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@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message