Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Subversive credential
Subversive credential [message #41936] Tue, 17 February 2009 23:21 Go to next message
Jean-Marie Damas is currently offline Jean-Marie DamasFriend
Messages: 29
Registered: July 2009
Junior Member
Hi,

I'am currently working on an Eclipse plugin based on the Subversive one.

For convenience reasons, I'd like to reuse the credential used by
Subversive to authenticate to the SVN server.
Is there any Subversive API which enables to retrieve the credential
stored internally by Subversive ?

In an other way, is it possible to provide credentials to Subversive ?
These provided credentials would come from any source (a custom UI, ...)

Thanks
Re: Subversive credential [message #42128 is a reply to message #41936] Thu, 26 February 2009 09:10 Go to previous message
Igor Burilo is currently offline Igor BuriloFriend
Messages: 435
Registered: July 2009
Senior Member
Hello,

You can manipulate credentials through IRepositoryLocation.
For examples you can search references to it.
You can obtain IRepositoryLocation in several ways, e.g.

IRepositoryLocation[] locations =
SVNRemoteStorage.instance().getRepositoryLocations();

If you have a resource:
IResource resource = ...
IRepositoryLocation location =
SVNRemoteStorage.instance().getRepositoryLocation(resource);


> Hi,
>
> I'am currently working on an Eclipse plugin based on the Subversive one.
>
> For convenience reasons, I'd like to reuse the credential used by
> Subversive to authenticate to the SVN server.
> Is there any Subversive API which enables to retrieve the credential
> stored internally by Subversive ?
>
> In an other way, is it possible to provide credentials to Subversive ?
> These provided credentials would come from any source (a custom UI, ...)
>
> Thanks
Previous Topic:Add ability to create SVN repository in newset 2.1.0.I20090213-1500
Next Topic:Hide Subversive contextual menu items
Goto Forum:
  


Current Time: Thu Dec 18 16:37:47 GMT 2014

Powered by FUDForum. Page generated in 0.01990 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software