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?

1 Answer 1


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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.