I'm setting up an svn server on an amazon ec2 box and would like to handle server-side authentication dynamically on connection. Is there a way to use custom applications written in java, python, or perhaps even a simple shell script to validate authentication programmatically? An ideal solution would be one that allows me to pass a provided user/pass to a java app and return the authentication decision to svn, which then responds to the client.
I can't seem to find much on this. While I'm experienced with client-side svn, I'm new to its more advanced server capabilities and need some direction :P