Returns the host name of the client from where the
authentication attempt originates or if the Shiro environment cannot or
chooses not to resolve the hostname to improve performance, this method
returns the string representation of the client's IP address.
<p/>
When used in web environments, this value is usually the same as the
{@code ServletRequest.getRemoteHost()} value.
@return the fully qualified name of the client from where the
authentication attempt originates or the string representation
of the client's IP address is hostname resolution is not
available or disabled.
Returns the host name of the client from where the authentication attempt originates or if the Shiro environment cannot or chooses not to resolve the hostname to improve performance, this method returns the string representation of the client's IP address. <p/> When used in web environments, this value is usually the same as the {@code ServletRequest.getRemoteHost()} value.
@return the fully qualified name of the client from where the authentication attempt originates or the string representation of the client's IP address is hostname resolution is not available or disabled.