Written by

Senior Product Engineer at George James Software
Question John Murray · Mar 8, 2016

Can my Eclipse plugin use an Atelier project's credentials?

Suppose I want to create an Eclipse plugin designed to be added to Atelier, and my plugin needs to perform some processing on the server that the current Atelier project is configured to connect to.

Is there a way I can use the connection credentials that have already been entered by the user? I don't really want to make them enter these again into my own plugin.

Comments

John Murray  Mar 11, 2016 to Michelle Stolwyk

Sounds good. Any estimate of when we'll get access to this?

0
Michelle Stolwyk  Sep 22, 2017 to John Murray

We still plan to provide extension points, but customers have not requested this feature broadly. As a result, we have prioritized other features and bug fixes. You will be sure to see extension points made available as the product matures, though.

0
Joyce Zhang · Mar 8, 2016

Hi John,

The credentials are kept in secure storage, so if you know your secure storage password you should be able to call the Eclipse APIs for secure storage. Michelle, another Atelier team member, is more familiar with this topic, but she is on vacation this week. I will let her know and she will reply to you soon.

Thanks,

Joyce

0
Michelle Stolwyk  Mar 11, 2016 to Joyce Zhang

Joyce is correct - we plan to create an extention point that can be used by other plugins. Extension points allow Eclipse plugins to cooperate with other installed plugins. As a result, your plugin will have safe and reliable access to the server connection and all related information.

Alternatively, you can pull the password from secure storage directly. The internal keys and data format is subject to change, so use of this method should be temporary.

ISecurePreferences secureStore = SecurePreferencesFactory.getDefault().node("com.intersys.eclipse.connmgr");
ISecurePreferences connectionNode = secureStore.node("Connection Name");  // replace with connection name
String password = node.get("pass","default"); // replace default as necessary
0
Tani Frankel · Mar 9, 2016

Hi John,

Out of curiosity - if you could share - what is your Plugin going to do?

Tani

0
John Murray  Mar 9, 2016 to Tani Frankel

Existing users of our Deltanji source code management tool, which runs natively inside Caché / Ensemble / HealthShare, may want to start using Atelier without having first to re-engineer their source control. I foresee a need for an Atelier user to be able to interact with a Deltanji dialog and then trigger a server-side action.

0
John Murray · Mar 2, 2017

Joyce answered this in a comment. I'm adding this as an answer so that the post no longer lists as "unanswered".

0