I take your points so considering an alternative that will address
the deficiencies of the current
implementation. One point to address though ...
> Btw. from what I can tell this dialog will only show up *once* per machine and only
when using Linux and in context of teiid/server adapter only if your server is remote
(i.e. it won't
> need to ask when using local servers)
The dialog (on linux) will always appear at the start of the session asking for the
secure storage
password, due to the teiid runtime client needing the admin password for communication
with the
teiid server.
Doesn't Teiid use the connection jboss server adapter creates ? Thus teiid should not
need this unless the Teiid server is remote, right?
Thus this issue (at least from Teiid perspective) is only for Linux with the Teiid server
being remote, right?
Looking into the fragment issue, it seems eclipse defies its own
extension by using a fragment for
windows and macosx. The extension point provides a priority so that multiple password
providers can
be offered yet the fragment does not use it. So ...
I could separate out my code into a linux-only fragment, and remove the specific
references to JBoss
and Teiid in the dialog messages, thereby 'genericising' it. This would ensure
that those users
running linux, who are the only ones to see it, would get a dialog with much more
information
regarding what the password is for - the primary purpose of overriding the dialog in the
first place.
This sounds like a plausible idea.
/max