New servlet filter : ClientExtractFilter has been added in this release. This servlet filter will be a central place to extract all the information related to the web client environment. This filter extract information from HTTP headers. Currently only client IP address is being extracted. We however ensure that this information is extracted only once, for any given request.
This servlet filter is executed for each request as suggested by URL pattern:/* in web.xml.
The WebClientInformation utility class has been added which acts as a placeholder for web client information extracted in filter. This class currently holds only IP address however may be enhanced in future.
Then this WebClientInformation is put into the TaskSession as an attribute identified by key: WebClientInfo. So any event, task , UI or workflow created as result of request will have client information where this request generated.
|
Copyright © 2014 CA.
All rights reserved.
|
|