I think the problem is that the client first sends a request without
Authorization. You have to reject this request with 401. The next
request will then be with Authentication.
You can also set the flag for preemptive authorization. Then it should work.
Christian
Am 11.10.2011 17:33, schrieb prasad:
it appears that policy from "AuthorizationPolicy policy =
message.get(AuthorizationPolicy.class)" is turning out to be null. Am i
doing anything wrong here.
Also please let me know if there is a different forum that i could contact
for this.
Thanks in advance,
Prasad.
--
View this message in context:
http://cxf.547215.n5.nabble.com/BasicAuth-SoapHeaderInterceptor-Nullpointer-exception-issue-tp4885314p4892162.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com