Documentation Center

Implementing Claim Processors

A Claim Processor converts Input Claims to Output Claims. You can implement a Claim Processor by implementing the ClaimProcessor interface or by extending the AbstractClaimProcessor class using the Ambient Data Framework Java API (available as Javadoc Web site).

ClaimProcessor Interface
The ClaimProcessor interface has the following methods which you need to implement. The framework calls the methods in your Claim Processor when the corresponding events happen in the application server:
  • onRequestStart()—called by the framework when a user makes a request
  • onRequestEnd()—called by the framework when the request response is sent to the user
  • onSessionStart()—called by the framework when the user logs on
AbstractClaimProcessor Class
The AbstractClaimProcessor class has the following methods which you need to override. The framework calls the methods in your Claim Processor when the corresponding events happen in the application server:
  • onRequestStart()—called by the framework when a user makes a request
  • onRequestEnd()—called by the framework when the request response is sent to the user
  • onSessionStart()—called by the framework when the user logs on