About Question enthuware.ocejws.v6.2.230 :
Posted: Fri May 02, 2014 4:55 pm
Another alternative and simpler way to implement application authentication in JAX-WS is:
Code: Select all
Map<String, Object> context = ((BindingProvider)port).getRequestContext();
context.put(BindingProvider.USERNAME_PROPERTY, "un");
context.put(BindingProvider.PASSWORD_PROPERTY,"password");