Having configured the Apache to perform authentication for Subversion using the Windows Domain controller, I was disappointed to find that IntelliJ IDEA’s Subversion plug-in (svn4idea) does not currently support NTLM authentication. Like SmartSVN, which does support NTLM authentication in its latest incarnation (version 2.0.2), svn4idea is based on the javasvn library.
Armed with this information, I thought I’d see what would happen if I dropped SmartSVN’s javasn library over the top of svn4idea’s. The good news is that it mostly works. The only issue I have come across is that the svn4idea plug-in fails to load when the IDE is restarted if you configure it to save your credentials. With IDEA 5.1.1 the IDE just hangs on start-up and with 5.1.2 you get an error dialog.
This situation can be avoided by not checking the “save credentials” box when you are prompted for your Subversion username and password. Instead you will have the minor inconvenience of entering your password once per session. If your credentials are already stored on disk and the IDE is not starting, delete the credentials.xml
file in the svn4idea configuration directory (on Windows you’ll find this somewhere under C:Documents and SettingsyournameApplication DataSubversion
).
A word of warning: this configuration is almost certainly not supported by JetBrains.