Subversive credential [message #41936] |
Tue, 17 February 2009 18:21  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03811 seconds