[jcifs] Please Help Me!
Michael B Allen
mba2000 at ioplex.com
Fri Sep 3 00:03:44 GMT 2004
Eric Glass said:
>> This should really just be:
>>
>> accountPassword = auth.getAnsiHash(
>> session.transport.server.encryptionKey ); passwordLength =
>> accountPassword.length; unicodePassword = auth.getUnicodeHash(
>> session.transport.server.encryptionKey ); unicodePasswordLength =
>> unicodePassword.length; // prohibit HTTP auth attempts for the null
>> session if (unicodePasswordLength == 0 && passwordLength == 0) {
>> throw new RuntimeException("Null setup prohibited.");
>> }
Applied.
More information about the jcifs
mailing list