Skip to main content



      Home
Home » Eclipse Projects » Subversive » Subversive credential
Subversive credential [message #41936] Tue, 17 February 2009 18:21 Go to next message
Eclipse UserFriend
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 04:10 Go to previous message
Eclipse UserFriend
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: Fri Jul 25 16:06:22 EDT 2025

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

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

Back to the top