-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
tiger
-
generic
-
generic
SSLSession.getHost() needs to return a "non-authoritative" hostname.
However, there is no way to specify this to the SSLEngine.
One approach might be to add one or more of the following factory
methods:
public SSLEngine createSSLEngine(String host);
public SSLEngine createSSLEngine(String host, int port);
public SSLEngine createSSLEngine(Object host);
getHost returns Object.toString()
Another is to add method(s) to SSLEngine that would register the cache
information.
public SSLEngine updateHostInfo(String host);
public SSLEngine updateHostInfo(String host, int port);
public SSLEngine updateHostInfo(Object host);
Jeff also suggested a more thorough cache control API could be put
together. (See 4922245)
###@###.### 2003-09-12
However, there is no way to specify this to the SSLEngine.
One approach might be to add one or more of the following factory
methods:
public SSLEngine createSSLEngine(String host);
public SSLEngine createSSLEngine(String host, int port);
public SSLEngine createSSLEngine(Object host);
getHost returns Object.toString()
Another is to add method(s) to SSLEngine that would register the cache
information.
public SSLEngine updateHostInfo(String host);
public SSLEngine updateHostInfo(String host, int port);
public SSLEngine updateHostInfo(Object host);
Jeff also suggested a more thorough cache control API could be put
together. (See 4922245)
###@###.### 2003-09-12