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

Should have a way to communicate client locale to server

XMLWordPrintable

    • b41
    • generic
    • generic
    • Verified

      There should be a way for the remote client to communicate information such as its locale to the server. MBeans remotely invoked by the client should be able to discover this locale, for example to return localized text in MBeanInfo descriptions or as the result of operations. The locale or other information should be available in a well-known ThreadLocal variable or a variable of a class that wraps a ThreadLocal. Currently the only (hacky) way to achieve this is to arrange for the locale to be encoded in a Principal within the authenticated Subject for the connection.

            emcmanus Eamonn McManus
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: