[jboss-user] [JBossWS] - Re: Basic authentication in a JBossWS web service client

jason.greene@jboss.com do-not-reply at jboss.com
Wed Mar 28 12:52:24 EDT 2007


See WebServiceContextJSETestCase in the samples:
 
  | port =  (TestEndpoint)service.getPort(TestEndpoint.class);
  |  BindingProvider bp = (BindingProvider)port;     bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "kermit");       bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "thefrog");
  | 

-Jason

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032439#4032439

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032439



More information about the jboss-user mailing list