I would like to be able to check that a user has access to a repository (ie
has valid credentials) - before attempting to checkout/export/commit to the
repository (ie if the user has provided incorrect id/password, the
application can re-request them). In wiki.svnkit.com/Authentication under
Forced Authentication, it suggests that this is possible  however, I don't
understand how to implement what it suggests (what flag?). My current
operational code for creating authentication is:
.
.
repository = SVNRepositoryFactory.create(SVNURL.parseURIEncoded(cilRepos));
authManager = SVNWCUtil.createDefaultAuthenticationManager(user, passwd);
repository.setAuthenticationManager(authManager);
fileProperties = new SVNProperties();
baos = new ByteArrayOutputStream();
.
.

so after I've setup the 'repository' driver, I'd like to know that 'user' is
'authorised' to access the repository! Hope this makes sense to someone -
thanks in anticipation of your help.
-- 
View this message in context: 
http://old.nabble.com/Validation-of-user-credentials-tp32634143p32634143.html
Sent from the SVNKit - Users mailing list archive at Nabble.com.

Reply via email to