The default server host name chosen by the JSSE-based secure RMI
transport provider is not consistent with the one for the standard
TCP endpoints. In particular, because the provider does not use
AccessController.doPrivileged when accessing the local host name, it
uses "localhost" for the server host name instead of the actual host
name if connect permission isn't granted.
transport provider is not consistent with the one for the standard
TCP endpoints. In particular, because the provider does not use
AccessController.doPrivileged when accessing the local host name, it
uses "localhost" for the server host name instead of the actual host
name if connect permission isn't granted.