--- a/jdk/src/share/classes/com/sun/security/ntlm/Server.java Thu Nov 01 18:09:43 2012 -0400
+++ b/jdk/src/share/classes/com/sun/security/ntlm/Server.java Fri Nov 02 10:48:04 2012 +0800
@@ -106,7 +106,7 @@
* various negotiated information.
* @param type3 the incoming Type3 message from client, must not be null
* @param nonce the same nonce provided in {@link #type2}, must not be null
- * @return username and hostname of the client in a byte array
+ * @return client username, client hostname, and the request target
* @throws NTLMException if the incoming message is invalid, or
* {@code nonce} is null.
*/
@@ -194,7 +194,7 @@
throw new NTLMException(NTLMException.AUTH_FAILED,
"None of LM and NTLM verified");
}
- return new String[] {username, hostname};
+ return new String[] {username, hostname, incomingDomain};
}
/**