|
Has the documentation been updated for this change? Also, I don't see that any tests were added/updated for this change? Reopening for more info and docs/tests. In step 1, where do you get the error?
In step 2, what does Continuum do with the credentials? I think it
In step 4, what part succeeds that you think should fail? I am currently working through the 16 combinations of the following yes/no questions to define the requirements for Continuum's behavior wrt cached credentials: > In step1, where do you get the error > In step 2, what does Continuum do with the credentials? > In step 4, what part succeeds that you think should fail? In step 4 In my opinion, this is not related to subversion at all but to the HttpClient. When I restarted continuum, and do step 1 again, I will still get the authentication error when trying to add a project without credentials. So what I did is to clear the credentials from the HttpClient everytime we try to add a project, which does not affect svn credentials caching. I think there is no need to update the documentation for this. There's already a line in addProject.apt that says "You can define username/password if the POM URL requires authentication". As for the test, do we happen to have a sample project that requires authentication when reading? There is a test that was disabled because it requires username/password that's why i did not create one for this for the mean time. I want to document the expected behavior for the various cases. It's not clear how the credentials you supply when adding a project are used later. (And [unrelated to this issue] I think it might be caching the credentials supplied during the release, which IMO it shouldn't.) Where is the disabled test you mentioned? Even if we can't automate it we can define the prerequisites and the steps to test it manually. I can work on that. For this issue, I did not perform any build or release. Just try to add the same project without credentials. The disabled test is in AbstractContinuumProjectBuilderTest Attaching work in progress - defining requirements for what Continuum does with the credentials you provide when you add a project. Because of the checkbox on the add project form, cached svn credentials also come into play. It's currently in a spreadsheet, so this is a pdf export. I want to get it into plain text, but I know working with a table in APT would be painful. Maybe xdoc will work better... Added requirements doc in r787528. It should show up here shortly: http://continuum.apache.org/ref/1.4.0-SNAPSHOT/credentials.html Thanks for the additional info, Marica! I updated user docs in r787534 to clarify that the credentials are stored in plain text in the database and reused later for scm checkout and update. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
clear httpclient credentials when adding project
fixed in:
r786035 in 1.3.x branch
r786036 in trunk