src/share/classes/javax/security/sasl/SaslServer.java

Print this page

        

@@ -45,11 +45,11 @@
  *</pre></blockquote>
  * It can then proceed to use the server for authentication.
  * For example, suppose the LDAP server received an LDAP BIND request
  * containing the name of the SASL mechanism and an (optional) initial
  * response. It then might use the server as follows:
- *<blockquote><pre>
+ *<blockquote><pre>{@code
  * while (!ss.isComplete()) {
  *     try {
  *         byte[] challenge = ss.evaluateResponse(response);
  *         if (ss.isComplete()) {
  *             status = ldap.sendBindResponse(mechanism, challenge, SUCCESS);

@@ -73,11 +73,11 @@
  *      // communication with client
  *      ldap.in = new SecureInputStream(ss, ldap.in);
  *      ldap.out = new SecureOutputStream(ss, ldap.out);
  *    }
  * }
- *</pre></blockquote>
+ *}</pre></blockquote>
  *
  * @since 1.5
  *
  * @see Sasl
  * @see SaslServerFactory