-
Bug
-
Resolution: Fixed
-
P4
-
1.4.2
-
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)
======================================================================