[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Creating a user using the API in Java

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 4 Apr 2012 08:51:20 -0400

On Wed, Apr 4, 2012 at 06:08, Mr. White <weisse.martin_at_googlemail.com> wrote:
> Hello guys,
>
> i came to realize that the Subversion API is way more complicated than
> i thought. I hoped there were functions to create/edit/delete users/
> repositories/groups, but the API doesn't offer those simple functions
> as far is my research goes.
> Could someone give an example on how to create a user with the API in
> JavaHL, because i'm really kind of lost in the documentation on
> that ... ?

The API is designed for manipulating the repository contents, and user
accounts are not part of the repository itself. You'll need to write
your own method of manipulating the security configuration files.

You're reinventing the wheel (at least a little) here. uberSVN,
CollabNet Edge, VisualSVN, and others already have this implemented.
There's also svncontrol (http://svncontrol.tigris.org/), though that
may be abandoned at this point.
Received on 2012-04-04 14:52:34 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.