|
|
Re: Authorization in Eclipse Installer [message #1805663 is a reply to message #1805318] |
Fri, 19 April 2019 19:09 |
Tim Sibirsky Messages: 9 Registered: October 2018 |
Junior Member |
|
|
Sorry for long response...
Thanks a lot for answering. As I have understood, Eclipse Installer out-of-the-box supports only cookie-based and http basic authentication, right?
The problem is that we use token-based authentication (token is passed via separate http header). So it means that methods mentioned above are not suitable for our case. Is there a way to embed into Eclipse Installer our custom authentication logic?
[Updated on: Fri, 19 April 2019 19:10] Report message to a moderator
|
|
|
Re: Authorization in Eclipse Installer [message #1805668 is a reply to message #1805663] |
Sat, 20 April 2019 04:38 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
In the end, cookies are also exchanged via the HTTP header. Whatever is needed in your case would need to be processed by ECFURIHandlerImpl likely in a similar same way as the current form-based logic. So likely it's best that you contribute the mechanism needed for this type of protocol to the open source code so that it's available for you or anyone else to use. No matter what, some extensibility mechanism would need to be designed if there needs to be new support for pluggable extensions. I spent many painful days figuring out what a browser exactly is doing in order to login and finally be able to access the actual resources and then emulating that same processing (header exchanges) automatically in Oomph. So you can either implement this yourself and contribute an extension mechanism, contribute the entire implementation, or sponsor the development of these things...
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04372 seconds