cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CXFbanda <>
Subject Extracting HTTP authorization header
Date Wed, 18 Feb 2009 11:38:01 GMT


I need to extract HTTP authorization header.
I am able to do it using @Context HttpHeader injection by CXF and then
extracting Authorization info from that.
However, i need to do that for all the resource mappings.
Is there any way I can avoid replicating code in each method?
Is there any way by which I can specify a particular method to be executed,
irrespective of the request?
(where I can have this extraction code, and then store the extracted header
in some instance variable.)

View this message in context:
Sent from the cxf-user mailing list archive at

View raw message