Hi Dan,

Yes, it seems that your interceptor is called before the client is 
authenticated - it the reason why you cannot access SecurityContext.
Ensure that interceptor is placed in chain AFTER WSS4JOutInterceptorInternal 
(Phase.POST_PROTOCOL).

Regards,
Andrei.

-----Original Message-----
From: DTaylor [mailto:[email protected]] 
Sent: 10 May 2012 18:08
To: [email protected]
Subject: RE: Accessing Claims in a client

Hi Andrei,

The problem I'm having is that I can't retrieve the AssertionWrapper at all, 
nor the SecurityContext.  The incoming message is lacking one at the point at 
which my interceptor is running.

Could this be due to the fact that I'm in the client at the point where the 
initial response is coming back from the STS?

Thanks,

Dan.


--
View this message in context: 
http://cxf.547215.n5.nabble.com/Accessing-Claims-in-a-client-tp5698187p5700757.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to