-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
5.0
-
sparc
-
solaris_2.6
Name: ktR10099 Date: 12/16/2003
Specification for javax.net.ssl.SSLSocket include several methods, that
are aplicable only in server mode and thus are useless for SSLSocket,
which work in client mode.
For methods
public abstract void setWantClientAuth(boolean want)
public abstract boolean getWantClientAuth()
public abstract void setNeedClientAuth(boolean need)
public abstract boolean getNeedClientAuth()
specification explicitly say, that "...This option is only useful for
sockets in the server mode...", so it seems reasonable to specify, that
those methods do not carry any functionality.
For methods
public abstract void setUseClientMode(boolean mode)
public abstract boolean getUseClientMode()
it seems reasonable to update the spec in such a way, that
setUseClientMode() would do nothing and getUseClientMode() would always
return true.
======================================================================