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
ClaimProcessorinterface 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 requestonRequestEnd()—called by the framework when the request response is sent to the useronSessionStart()—called by the framework when the user logs on
- AbstractClaimProcessor Class
-
The
AbstractClaimProcessorclass 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 requestonRequestEnd()—called by the framework when the request response is sent to the useronSessionStart()—called by the framework when the user logs on