Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5042571

Doc error: javax.net.ssl.SSLServerSocket.setWantClientAuth(boolean flag)

XMLWordPrintable

    • b55
    • sparc
    • solaris_9



      Name: rmT116609 Date: 05/05/2004


      A DESCRIPTION OF THE PROBLEM :
      The documentation for setWantClientAuth() states that a value of 'true' will override the value for setNeedClientAuth(). This does not seem right because the application may not want to need authentication. It is more logical for a value of 'false' to reset setNeedClientAuth() because the two values must be consistent

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Parameters:
      flag - true if the clients should try to authenticate themselves. Setting this parameter to false overrides the current setting of setNeedClientAuth(boolean).

      ACTUAL -
      Parameters:
      flag - true if the clients should try to authenticate themselves. Setting this parameter to true overrides the current setting of setNeedClientAuth(boolean).


      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.4.2/docs/api/javax/net/ssl/SSLServerSocket.html#setWantClientAuth(boolean)
      (Incident Review ID: 261082)
      ======================================================================

            wetmore Bradford Wetmore
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: