axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (Moved) (JIRA)" <>
Subject [jira] [Moved] (AXIS2-5225) Host provided by authenticator is treated incorrectly
Date Fri, 30 Dec 2011 13:23:30 GMT


Andreas Veithen moved AXIS-2856 to AXIS2-5225:

          Component/s:     (was: Basic Architecture)
    Affects Version/s:     (was: 1.5)
                  Key: AXIS2-5225  (was: AXIS-2856)
              Project: Axis2  (was: Axis)
> Host provided by authenticator is treated incorrectly
> -----------------------------------------------------
>                 Key: AXIS2-5225
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5
>         Environment: any OS
>            Reporter: Kirill Safonov
> As of 1.5.1 AbstractHTTPSender.setAuthenticationInfo() obtains host from authenticator.
Then this value is used to:
> 1) Create NTCredentials instance. Here 'host' is expected to describe source party (Javadoc:
"The host the authentication request is originating from...")
> 2) Create AuthScope instance. Here 'host' is stored and AuthScope instance is later matched
with another instance provided by HttpMethodDirector.authenticateHost(), which uses host from
connection (points to target machine).
> So, client has to pass server host to NTCredentials constructor, otherwise authentication
will not be performed as expected. This contradicts to Javadoc and also may cause problems
with NTLM authentication where client host name (and not server name) is part of the handshake

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message