Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you are using Apache to manage access to a subversion repository (instructions), you can use the same configuration method to delegate user authentication to Crowd.

Example:

To restrict Subversion repository access to certain groups and/or users, you can add the Require group and Require user directives, described in the page on integrating Crowd with Apache.
For more fine-grained access, Crowd provides the AuthzSVNCrowdAccessFile directive which allows you to define path-based access rules.
To restrict Subversion repository access to certain groups and/or users, you can add the Require group and Require user directives, described in integrating Crowd with Apache.

For more fine-grained access, Crowd provides the AuthzSVNCrowdAccessFile directive which allows you to define path-based access rules.

Code Block
languagebash
<Location /svn>

 # UncommentAuthName this"Atlassian toCrowd"
enable the repository,AuthType Basic
DAV svn AuthBasicProvider crowd
#
Set this toCrowdAppName thecrowduserdb
path to yourCrowdAppPassword repositoryyourpassword
 SVNPath CrowdURL http:/var/lib/svnlocalhost:8095/crowd/

 AuthName crowdCrowdCreateSSO off AuthType Basic# Improves performance PerlAuthenHandler Apache::CrowdAuth
 PerlSetVar CrowdAppName subversion
 PerlSetVar CrowdAppPasswordwhen using Subversion clients that

  DAV svn

PerlSetVar CrowdSOAPURL http://localhost:8080/crowd/services/SecurityServer

 require valid-user

 # The following three lines allow anonymous read, but make
 # committers authenticate themselves.
 <LimitExcept GET PROPFIND OPTIONS REPORT>
  # Set this to the path to your repository
  SVNPath /opt/svn-data/hamsters

  AuthzSVNCrowdAccessFile /etc/apache2/dav_svn.authz
  Require valid-user

</LimitExcept>

</Location>

References

http://confluence.atlassian.com/display/CROWD/PostgreSQL+for+CrowdID

...