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 Wed, 10 Jun 2009 16:16:07 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718124#action_12718124
] 

Zhiyong Li commented on HTTPCLIENT-523:
---------------------------------------

I tried to run Matt's example against Jboss (4.2.0 with its SPNEGO support package). However,
it does not give me the succeful result. The last couple of lines are as follows:

46670 [main] DEBUG org.apache.http.wire  - << "HTTP/1.1 200 OK[EOL]"
46670 [main] DEBUG org.apache.http.wire  - << "Server: Apache-Coyote/1.1[EOL]"
46670 [main] DEBUG org.apache.http.wire  - << "Pragma: No-cache[EOL]"
46670 [main] DEBUG org.apache.http.wire  - << "Cache-Control: no-cache[EOL]"
46670 [main] DEBUG org.apache.http.wire  - << "Expires: Wed, 31 Dec 1969 19:00:00 EST[EOL]"
46670 [main] DEBUG org.apache.http.wire  - << "Set-Cookie: JSESSIONID=EB8B50DFCEE15A45E1D6FC1F20303B
93; Path=/[EOL]"
46670 [main] DEBUG org.apache.http.wire  - << "Transfer-Encoding: chunked[EOL]"
46670 [main] DEBUG org.apache.http.wire  - << "Date: Wed, 10 Jun 2009 14:49:52 GMT[EOL]"
46670 [main] DEBUG org.apache.http.headers  - << HTTP/1.1 200 OK
46670 [main] DEBUG org.apache.http.headers  - << Server: Apache-Coyote/1.1
46670 [main] DEBUG org.apache.http.headers  - << Pragma: No-cache
46670 [main] DEBUG org.apache.http.headers  - << Cache-Control: no-cache
46670 [main] DEBUG org.apache.http.headers  - << Expires: Wed, 31 Dec 1969 19:00:00
EST
46670 [main] DEBUG org.apache.http.headers  - << Set-Cookie: JSESSIONID=EB8B50DFCEE15A45E1D6FC1F2030
3B93; Path=/
46670 [main] DEBUG org.apache.http.headers  - << Transfer-Encoding: chunked
46670 [main] DEBUG org.apache.http.headers  - << Date: Wed, 10 Jun 2009 14:49:52 GMT
46686 [main] DEBUG org.apache.http.client.protocol.ResponseProcessCookies  - Cookie accepted:
"[vers
ion: 0][name: JSESSIONID][value: EB8B50DFCEE15A45E1D6FC1F20303B93][domain: windowpain][path:
/][expi
ry: null]".
46686 [main] DEBUG org.apache.http.impl.client.DefaultRequestDirector  - Connection can be
kept aliv
e for -1 ms
46686 [main] DEBUG org.apache.http.impl.auth.NegotiateScheme  - enter isComplete()
----------------------------------------
Response content length: -1
46702 [main] DEBUG org.apache.http.wire  - << "0[EOL]"
46702 [main] DEBUG org.apache.http.impl.conn.SingleClientConnManager  - Releasing connection
org.apa
che.http.impl.conn.SingleClientConnManager$ConnAdapter@37fb1e

On the Jboss side, I noticed that there is a piece of code of decoding NogToken and that failed
since the "sequence type" (48) in the auth token is beyong what is expected.  

Any suggestions?

Zhiyong

> 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: Future
>
>         Attachments: bcsLogin.conf, CustomAuthenticationNegotiateExample.java, CustomAuthenticationNegotiateExample.java,
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


Mime
View raw message