You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Ryan McKinley <ry...@gmail.com> on 2013/08/28 21:52:42 UTC

AuthSchemas.SPNEGO = "negotiate"?

AuthSchemas.SPNEGO = "negotiate"
is lowercase?

In http://www.ietf.org/rfc/rfc4559.txt  it is upper case

Likely it does not matter, but is this intentional?

ryan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: AuthSchemas.SPNEGO = "negotiate"?

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Wed, 2013-08-28 at 12:52 -0700, Ryan McKinley wrote:
> AuthSchemas.SPNEGO = "negotiate"
> is lowercase?
> 
> In http://www.ietf.org/rfc/rfc4559.txt  it is upper case
> 
> Likely it does not matter, but is this intentional?
> 
> ryan
> 

Hi Ryan

This is most like done for compatibility reasons or no reason at all.
The RFC, however, has this passage:
--- 
The Hypertext Transport Protocol (HTTP) auth-scheme of
   "negotiate" is defined here; 
---

which seems suggest that there may be different interpretations. At the
same time AuthSchemas#SPNEGO is just a constant. We could change its
value in a feature release.

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org