public interface HostAuthenticationToken extends AuthenticationToken
HostAuthenticationToken
retains the host information from where
an authentication attempt originates.Modifier and Type | Method and Description |
---|---|
String |
getHost()
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.
|
getCredentials, getPrincipal
String getHost()
ServletRequest.getRemoteHost()
value.Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.