jira-importer commented on issue #322:
URL: https://github.com/apache/maven-scm/issues/322#issuecomment-2964585633

   **[David 
Hawkins](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dhawkins)**
 commented
   
   I forgot to mention authentication.  In order to get authentication 
information into the JavaSVN library, I added the ability for the svn provider 
to look up authentication information in the user's settings.xml.  It attempts 
to locate a server with the appropriate id.  If found, it will use that 
username, password, private key, passphrase, etc. when authenticating.  This is 
the comment block from the method which attempts to find an appropriate server 
id:
   
   Attempt to look up the username/password from the user's maven settings 
file.  
   Start with the full url and work backwards for each directory until we have 
only
   the host name.  Then do the same pattern again without the protocol.
   
   Example:
   http://svn.mydomain.com/myrepo/myproject
   http://svn.mydomain.com/myrepo
   http://svn.mydomain.com
   svn.mydomain.com/myrepo/myproject
   svn.mydomain.com/myrepo
   svn.mydomain.com
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to