Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
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.
|