To my knowledge, when working with SVN repositories there exists a file called "svnserve.conf", which among its properties there exist the "realm" value.
If you have a local repository, I guess you can create this file and then set this value.
My question is this, if I'm using an SVN repository of a third party provider; how can I get the "realm" value using SVNKit in Java? Is this possible?