ClientContext
Information about the client sending a request. When IG receives a request, it injects information about the client sending the request into this context.
Properties
The context is named client
, and is accessible at ${contexts.client}
.
The context has the following properties:
"certificates"
: java.util.List <java.security.cert.Certificate>-
List of X.509 certificates presented by the client. If the client does not present any certificates, IG returns an empty list. Never
null
. "isExternal"
: boolean-
True if the client connection is external.
"isSecure"
: boolean-
True if the client connection is secure.
"localAddress"
: java.lang.String-
The IP address of the interface that received the request.
"localPort"
: integer-
The port of the interface that received the request.
"remoteAddress"
: java.lang.String-
The IP address of the client (or the last proxy) that sent the request.
"remotePort"
: integer-
The source port of the client (or the last proxy) that sent the request.
"remoteUser"
: java.lang.String-
The login of the user making the request, or
null
if unknown. This is likely to benull
unless you have deployed IG with a non-default deployment descriptor that secures the IG web application. "userAgent"
: java.lang.String-
The value of the User-Agent HTTP header in the request if any, otherwise
null
.