You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by kw...@apache.org on 2017/03/18 14:32:20 UTC
svn commit: r1787562 - in
/httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/auth:
DebugUtil.java NTLMEngineImpl.java
Author: kwright
Date: Sat Mar 18 14:32:20 2017
New Revision: 1787562
URL: http://svn.apache.org/viewvc?rev=1787562&view=rev
Log:
HTTPCLIENT-1834: Don't break backwards compatibility, and make debug class package private.
Modified:
httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/auth/DebugUtil.java
httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/auth/NTLMEngineImpl.java
Modified: httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/auth/DebugUtil.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/auth/DebugUtil.java?rev=1787562&r1=1787561&r2=1787562&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/auth/DebugUtil.java (original)
+++ httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/auth/DebugUtil.java Sat Mar 18 14:32:20 2017
@@ -34,7 +34,7 @@ import java.nio.ByteBuffer;
/**
* Simple debugging utility class for CredSSP and NTLM implementations.
*/
-public class DebugUtil
+class DebugUtil
{
public static String dump( final ByteBuffer buf )
Modified: httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/auth/NTLMEngineImpl.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/auth/NTLMEngineImpl.java?rev=1787562&r1=1787561&r2=1787562&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/auth/NTLMEngineImpl.java (original)
+++ httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/impl/auth/NTLMEngineImpl.java Sat Mar 18 14:32:20 2017
@@ -354,6 +354,17 @@ final class NTLMEngineImpl implements NT
protected byte[] ntlm2SessionResponseUserSessionKey = null;
protected byte[] lanManagerSessionKey = null;
+ @Deprecated
+ public CipherGen(final String domain, final String user, final String password,
+ final byte[] challenge, final String target, final byte[] targetInformation,
+ final byte[] clientChallenge, final byte[] clientChallenge2,
+ final byte[] secondaryKey, final byte[] timestamp) {
+ this(RND_GEN, System.currentTimeMillis(),
+ domain, user, password, challenge, target, targetInformation,
+ clientChallenge, clientChallenge2,
+ secondaryKey, timestamp);
+ }
+
public CipherGen(final Random random, final long currentTime,
final String domain, final String user, final String password,
final byte[] challenge, final String target, final byte[] targetInformation,