Let's make sure issue is not already fixed in latest builds first.
Steps to reproduce
From a fresh installation and clean workspace:
I tried
- The basic authentication with username and password embedded in the URL, for eg. http://admin:admin@localhost:8085/
- It does not work, the error which we get is Application terminated unexpectedly
- While Inspect we found that the error it throws is : TypeError: Failed to execute 'fetch' on 'Window': Request cannot be constructed from a URL that includes credentials:
- I think it is due to Clipboard.js that has been added as part of rap-client.js file, which is causing these issue. It works fine when we don't provide any username and password in the URL, the pop-ups appears and we enter credentials
- Clipboard.js is part of org.eclipse.rap.rwt.jar : org.eclipse.rap.rwt/js/rwt/client/Clipboard.js
- But, there is hard requirement for these, so we need to pass username and password in the URL itself.
I expected: < To work as it is with username and password in the URL >
But got: < Application Terminated Unexpectedly >
Tested under this environment:
- OS & version: Windows 10
- Eclipse IDE/Platform version (as shown in Help > About): Eclipse 2022-12
- RAP version is 3.23
- Java version is 11
- Tomcat version is 9.0.86
Community
Let's make sure issue is not already fixed in latest builds first.
Steps to reproduce
From a fresh installation and clean workspace:
I tried
I expected: < To work as it is with username and password in the URL >
But got: < Application Terminated Unexpectedly >
Tested under this environment:
Community