Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2797 - qa/main/2450fork-rc/transit/core/handler/src/main/net/dpml/transit/network

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: niclas AT hedhman.org
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2797 - qa/main/2450fork-rc/transit/core/handler/src/main/net/dpml/transit/network
  • Date: Wed, 08 Jun 2005 11:04:50 -0400

Author: niclas AT hedhman.org
Date: Wed Jun 8 11:04:49 2005
New Revision: 2797

Modified:

qa/main/2450fork-rc/transit/core/handler/src/main/net/dpml/transit/network/DelegatingAuthenticator.java
Log:
Patched the HTTPS Transit bug in this branch.

Modified:
qa/main/2450fork-rc/transit/core/handler/src/main/net/dpml/transit/network/DelegatingAuthenticator.java
==============================================================================
---
qa/main/2450fork-rc/transit/core/handler/src/main/net/dpml/transit/network/DelegatingAuthenticator.java
(original)
+++
qa/main/2450fork-rc/transit/core/handler/src/main/net/dpml/transit/network/DelegatingAuthenticator.java
Wed Jun 8 11:04:49 2005
@@ -129,12 +129,16 @@
String prompt = getRequestingPrompt();
String scheme = getRequestingScheme();
int port = getRequestingPort();
- String addr = getRequestingSite().toString();
- if( addr == null )
+ String addr =
+ if( host == null )
{
- addr = host;
+ host = getRequestingSite().getHostName();
+ if( host == null )
+ {
+ host = getRequestingSite().getHostAddress();
+ }
}
- RequestIdentifier id = new RequestIdentifier( addr, port, protocol,
scheme, prompt );
+ RequestIdentifier id = new RequestIdentifier( host, port, protocol,
scheme, prompt );
synchronized( m_authenticators )
{
TransitAuthenticator auth = (TransitAuthenticator)
m_authenticators.get( id );



  • svn commit: r2797 - qa/main/2450fork-rc/transit/core/handler/src/main/net/dpml/transit/network, niclas, 06/08/2005

Archive powered by MHonArc 2.6.24.

Top of Page