cxf-users mailing list archives

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

Hi,

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.)

Thanks
-- 
View this message in context: http://www.nabble.com/Extracting-HTTP-authorization-header-tp22076857p22076857.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message