Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylyn-integrators] Authentication question

I'm working on a Mylyn connector for our product, and it's going to (at least for the initial implementation) use a combination of installed client & web UI.  For running the queries and filling out the task list, I'm fetching data via the installed client.  For editing, I want to open items (tasks) in our web UI.  I have this working, except that the authentication is rather awkward.

 

I noticed on the AbstractRepositorySettingsPage there is a method setNeedsHTTPAuth.  If I set this to true, I get an extra collapsible settings group that lets me enter an additional username & password.

First question: Why isn't this automatically filled in to match the credential boxes above it?  Is there a good way to consolidate these settings?

Second question: I must be completely missing the purpose of this setting.  I enter something there, choose to save the password, then go to open my task (using a BrowserFormPage, modelled off code I found in the Web Connector), and I still get a prompt for user name & password. How can I pass HTTP authentication credentials into the browser to avoid this?

 

Thanks!

 

Kristina Taylor
Software Developer

MKS Inc.

410 Albert Street
Waterloo, Ontario
N2L 3V3

 

519-883-3478

www.mks.com

 

When software is critical, build on MKS Integrity™

The information in this e-mail message, including any attachments, is confidential. It is intended only for the named addressee and any use or disclosure by others is strictly prohibited. If you have received this message in error, please accept my apologies, notify me and be so kind as to delete all copies of the message. Thank you.

 


Back to the top