| A Factory for creating an XWSSecurityConfiguration object(s). An XWSSecurityConfiguration object is used
by a JAXWS 2.0 Client to specify the client side security configuration.
A JAXWS client would specify the client side security configuration in the following manner
FileInputStream f = new FileInputStream("./etc/client_security_config.xml");
XWSSecurityConfiguration config = SecurityConfigurationFactory.newXWSSecurityConfiguration(f);
((BindingProvider)stub).getRequestContext().
put(XWSSecurityConfiguration.MESSAGE_SECURITY_CONFIGURATION, config);
since: JAXWS 2.0 |