[jboss-user] [JBossWS] - Http Basic Authentication / GET and POST differences?

boopet do-not-reply at jboss.com
Mon May 19 08:00:41 EDT 2008


Hello,

we are using a JBossWS 2.0.1 client to access a Axis2 Webservice secured with Http Basic Authentication.

The client side gets username and password to login this way:

BindingProvider.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "username");
  | ..

The authentication to the webservice does only work, if GET requests to the WSDL file are excluded from the htaccess protection at the server side.

obviosly the login credentials are only sent with POST requests to the webservice methods.

Does anyone know, if this is intended to be this way? Is there a way to also  authenticate for GET requests with the JBossWS client?


thanks
norbert




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

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



More information about the jboss-user mailing list