@@ -990,24 +990,25 @@ String getResponse() {
990
990
991
991
/** Type 1 message assembly class */
992
992
static class Type1Message extends NTLMMessage {
993
- protected byte [] hostBytes ;
994
- protected byte [] domainBytes ;
993
+ // FIXME see https://issues.apache.org/jira/browse/HTTPCLIENT-1557
994
+ // protected byte[] hostBytes;
995
+ // protected byte[] domainBytes;
995
996
996
997
/** Constructor. Include the arguments the message will need */
997
998
Type1Message (final String domain , final String host ) throws NTLMEngineException {
998
- super ();
999
- try {
1000
- // Strip off domain name from the host!
1001
- final String unqualifiedHost = convertHost (host );
1002
- // Use only the base domain name!
1003
- final String unqualifiedDomain = convertDomain (domain );
1004
-
1005
- hostBytes = unqualifiedHost != null ? unqualifiedHost .getBytes ("ASCII" ) : null ;
1006
- domainBytes = unqualifiedDomain != null ? unqualifiedDomain
1007
- .toUpperCase (Locale .ENGLISH ).getBytes ("ASCII" ) : null ;
1008
- } catch (final UnsupportedEncodingException e ) {
1009
- throw new NTLMEngineException ("Unicode unsupported: " + e .getMessage (), e );
1010
- }
999
+ // super();
1000
+ // try {
1001
+ // // Strip off domain name from the host!
1002
+ // final String unqualifiedHost = convertHost(host);
1003
+ // // Use only the base domain name!
1004
+ // final String unqualifiedDomain = convertDomain(domain);
1005
+ //
1006
+ // hostBytes = unqualifiedHost != null? unqualifiedHost.getBytes("ASCII") : null;
1007
+ // domainBytes = unqualifiedDomain != null ? unqualifiedDomain
1008
+ // .toUpperCase(Locale.ENGLISH).getBytes("ASCII") : null;
1009
+ // } catch (final UnsupportedEncodingException e) {
1010
+ // throw new NTLMEngineException("Unicode unsupported: " + e.getMessage(), e);
1011
+ // }
1011
1012
}
1012
1013
1013
1014
/**
0 commit comments