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

SSLEngine needs session caching API

XMLWordPrintable

    • 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

            wetmore Bradford Wetmore
            wetmore Bradford Wetmore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: