public interface ClientInfo
Modifier and Type | Method and Description |
---|---|
List<X509Certificate> |
getCertificates()
Returns the list (possibly empty) of X509 certificate(s) provided by the client.
|
String |
getRemoteAddress()
Returns the IP address of the client (or last proxy) that sent the request.
|
String |
getRemoteHost()
Returns the fully qualified name of the client (or last proxy) that sent the request.
|
int |
getRemotePort()
Returns the source port of the client (or last proxy) that sent the request.
|
String |
getRemoteUser()
Returns the login of the user making this request or
null if not known. |
String |
getUserAgent()
Returns the value of the User-Agent HTTP Header (if any, returns
null otherwise). |
String getRemoteUser()
null
if not known.null
if not known.HttpServletRequest.getRemoteUser()
String getRemoteAddress()
ServletRequest.getRemoteAddr()
String getRemoteHost()
ServletRequest.getRemoteHost()
int getRemotePort()
ServletRequest.getRemotePort()
List<X509Certificate> getCertificates()
String getUserAgent()
null
otherwise).null
otherwise).Copyright © 2014 ForgeRock AS. All rights reserved.