eclipse-ee4j/jaxb-istack-commons

Basic Authentication with wsimport does not allow @ in username

Opened this issue · 0 comments

To authenticate with the webservice I used something like http://user%40example.org:password@host:port/service?wsdl in the authfile of wsimport.

Issue javaee/metro-jax-ws#1101 addressed this issue in passwords by url-decoding the password after reading from the authfile. Same should be done for username.

Affects version

[2.3.0]

The command I used was:

wsimport -keep -d /output -verbose -Xnocompile -Xauthfile /temp/auth.txt http://localhost:8080/app/soap/Service?wsdl

ant the contents of auth.txt are

http://user%40example.com:password@localhost:4430/localhost:8080/app/soap/Service?wsdl

Source: javaee/metro-jax-ws#1243
Author: dvilaverde