Community
Participate
Working Groups
I had a discussion with John about Bug 413655 and Bug 415000. In both cases we were doing a readUser() of a user that did not exist. The way CompatibilityMetaStore is implemented, readUser() creates the user when it does not exist. I did not think this was correct, readUser() only reads and does not create, an explicit createUser() is needed. In fact this is a supported code path. The intent is that the server may change it's implementation of an IOrionCredentialsService, say changing from Orion's implementation to LDAP. In this case, users in LDAP already exist. We need to fix IMetaStore.readUser() to indicate a non existing user should be created. We also need to fix the tests. We also may want to revert the fixes made in Bug 413655 and Bug 415000.
(In reply to comment #0) > We need to fix IMetaStore.readUser() to indicate a non existing user should > be created. We also need to fix the tests. Fixed with http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=c4897b256455b71e76c875561d3688257a2653b3