--- a/jdk/src/share/classes/javax/security/sasl/SaslServerFactory.java Thu Nov 01 18:09:43 2012 -0400
+++ b/jdk/src/share/classes/javax/security/sasl/SaslServerFactory.java Fri Nov 02 10:48:04 2012 +0800
@@ -60,8 +60,10 @@
* IANA-registered name of a SASL mechanism. (e.g. "GSSAPI", "CRAM-MD5").
* @param protocol The non-null string name of the protocol for which
* the authentication is being performed (e.g., "ldap").
- * @param serverName The non-null fully qualified host name of the server
- * to authenticate to.
+ * @param serverName The fully qualified host name of the server to
+ * authenticate to, or null if the server is not bound to any specific host
+ * name. If the mechanism does not allow an unbound server, a
+ * <code>SaslException</code> will be thrown.
* @param props The possibly null set of properties used to select the SASL
* mechanism and to configure the authentication exchange of the selected
* mechanism. See the <tt>Sasl</tt> class for a list of standard properties.