@@ -968,24 +968,25 @@ String getResponse() {
968
968
969
969
/** Type 1 message assembly class */
970
970
static class Type1Message extends NTLMMessage {
971
- protected byte [] hostBytes ;
972
- protected byte [] domainBytes ;
971
+ // FIXME https://issues.apache.org/jira/browse/HTTPCLIENT-1557
972
+ // protected byte[] hostBytes;
973
+ // protected byte[] domainBytes;
973
974
974
975
/** Constructor. Include the arguments the message will need */
975
976
Type1Message (final String domain , final String host ) throws NTLMEngineException {
976
- super ();
977
- try {
978
- // Strip off domain name from the host!
979
- final String unqualifiedHost = convertHost (host );
980
- // Use only the base domain name!
981
- final String unqualifiedDomain = convertDomain (domain );
982
-
983
- hostBytes = unqualifiedHost != null ? unqualifiedHost .getBytes ("ASCII" ) : null ;
984
- domainBytes = unqualifiedDomain != null ? unqualifiedDomain
985
- .toUpperCase (Locale .ENGLISH ).getBytes ("ASCII" ) : null ;
986
- } catch (final UnsupportedEncodingException e ) {
987
- throw new NTLMEngineException ("Unicode unsupported: " + e .getMessage (), e );
988
- }
977
+ // super();
978
+ // try {
979
+ // // Strip off domain name from the host!
980
+ // final String unqualifiedHost = convertHost(host);
981
+ // // Use only the base domain name!
982
+ // final String unqualifiedDomain = convertDomain(domain);
983
+ //
984
+ // hostBytes = unqualifiedHost != null? unqualifiedHost.getBytes("ASCII") : null;
985
+ // domainBytes = unqualifiedDomain != null ? unqualifiedDomain
986
+ // .toUpperCase(Locale.ENGLISH).getBytes("ASCII") : null;
987
+ // } catch (final UnsupportedEncodingException e) {
988
+ // throw new NTLMEngineException("Unicode unsupported: " + e.getMessage(), e);
989
+ // }
989
990
}
990
991
991
992
/**
0 commit comments