Re: Security Subject from AccessControlContext is null when using JAAS and CXF JAASAuthenticationFilter

2015-01-18 Thread Niels Bertram
Hi Christian, yes I did give cxf 3.0.3 on Karaf 2.3.9 a try without the desired outcome. After some digging, it appears that the AccessControlContext does not have the combiner field populated after a sucessful authentication. There are a few AccessControlContext instances in the heap that have a

Re: Security Subject from AccessControlContext is null when using JAAS and CXF JAASAuthenticationFilter

2015-01-18 Thread Christian Schneider
Did you try with CXF 3.0.2 ? The older versions of CXF did not set the AccessControlContext. Btw. if you use Blueprint you can also try the jaas authorization blueprint extension. See https://github.com/apache/aries/blob/trunk/blueprint/blueprint-itests/src/test/java/org/apache/aries/blueprint

Security Subject from AccessControlContext is null when using JAAS and CXF JAASAuthenticationFilter

2015-01-18 Thread Niels Bertram
I am trying to get the contexts Principal from the AccessControlContext as documented on stackexchange . Unfortunately whenever I retrieve the subject using the current AccessControlContext, the subject is