Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Tomas-Kraus opened this issue Jun 2, 2022 · 0 comments
Open
Assignees

Comments

@Tomas-Kraus
Copy link
Member

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

@Tomas-Kraus Tomas-Kraus self-assigned this Jun 13, 2022
@Tomas-Kraus Tomas-Kraus transferred this issue from eclipse-ee4j/metro-jax-ws Jun 13, 2022
Tomas-Kraus added a commit to Tomas-Kraus/jaxb-istack-commons that referenced this issue Jun 13, 2022
…not allow '@' in username

Signed-off-by: Tomas Kraus <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant