[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: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 4 Apr 2012 08:53:25 -0400

On Wed, Apr 4, 2012 at 6:08 AM, Mr. White <weisse.martin_at_googlemail.com> wrote:

> 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.

Subversion has no concept of user. Where your users come from and how
they are maintained is up to you and your server configuration. For
example, a lot of people use their Windows Active Directory for
authentication. To create users you add them to active directory.

> 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 ... ?

If you are using simply file of users I would recommend using
Subversion Edge for your server. Subversion Edge provides all the
binaries for Apache, Subversion and ViewVC along with a simple web UI
to configure and manage the server. Subversion Edge also includes a
REST API which allows you to do things like manage repositories and
users via scripts and programs. See this blog post:

http://blogs.collab.net/subversion/2012/03/subversion-server-automation/

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2012-04-04 14:53:57 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.