3 Replies Latest reply on May 25, 2011 5:56 AM by Alessio Soldano

    JBossWSNonSpringBusFactory does not register WS-SecurityPolicy interceptor providers

    Riccardo Serafin Newbie

      Hello,

       

      when creating a client without spring support, the WS-Policy engine is stared and the policy interceptor providers for WS-Addressing and WS-RM are added, among others, while the providers needed for WS-SecurityPolicy is not added. In particular, it could be enough to call the

      WSSecurityPolicyLoader with the created bus to enable WS-SecuritySupport (with spring active the loader is created automatically).

       

      This should be added in the JBossWSNonSpringBusFactory initPolicyEngine method, or at least commented in the tutorials. Would you like me to create a JIRA issue?

       

      All the best,

      Riccardo.