UsernamePasswordToken.setHost

Sets the host name or IP string from where the authentication attempt occurs. It is up to the Authenticator implementation processing this token if an authentication attempt without a host is valid or not. <p/> <p>(Shiro's default Authenticator allows <tt>null</tt> hosts to allow localhost and proxy server environments).</p>

@param host the host name or IP string from where the attempt is occurring

class UsernamePasswordToken
void
setHost
(
string host
)

Meta