I'm writing a custom ClaimProcessor for the Ambient Data Framework. I need to access some HTTP request headers to make it work. How do I access the HTTP request from my claim processor? Or at least, how do I get to the request headers?
You cannot access the request object directly, as cartridges are web-application-agnostic (i.e. the .NET request object is very different from the JSP one). Instead, you can access the headers and other parameters from the ClaimStore passed into your methods.
The ADF automatically extracts the variables from the request and adds them as claims. For a list of the predefined claims, take a look at the Default Claims page of the documentation.