commit | a1b8a0d9cb1a95346d64f003e6281e1d2c84c740 | [log] [tgz] |
---|---|---|
author | Ashok Pelluru <37666786+ashokmca07@users.noreply.github.com> | Thu May 12 16:56:02 2022 +0200 |
committer | GitHub <noreply@github.com> | Thu May 12 16:56:02 2022 +0200 |
tree | ea62a7daae709b911979979f880ca8a768b67fc0 | |
parent | ec005732cf23fbd2cccf3b2ef8c39768620ec8d9 [diff] |
SLING-11304: upgrade to sling 47 (#1) - fix for broken builds and upgrade to sling 47 - simple osgi mock test has been added Note: ServerConfiguration.java was removed since its manual options to setup pax exam IT and its no longer required (because org.apache.sling.testing.paxexam comes with default options)
This module is part of the Apache Sling project.
This filter exposes various request details as part of [MDC][1].
Currently it exposes following variables:
req.remoteHost
- Request remote hostreq.userAgent
- User Agent Headerreq.requestURI
- Request URIreq.queryString
- Query String from requestreq.requestURL
-req.xForwardedFor
-sling.userId
- UserID associated with the request. Obtained from ResourceResolverjcr.sessionId
- Session ID of the JCR Session associated with current request.The filter also allow configuration to extract data from request cookie, header and parameters. Look for configuration with name ‘Apache Sling Logging MDC Inserting Filter’ for details on specifying header, cookie, param names.