Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Basic Authentication with wsimport does not allow @ in username #1243

Open
dvilaverde opened this issue Aug 15, 2018 · 0 comments
Open

Basic Authentication with wsimport does not allow @ in username #1243

dvilaverde opened this issue Aug 15, 2018 · 0 comments

Comments

@dvilaverde
Copy link

dvilaverde commented Aug 15, 2018

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

Issue #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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant