Search in sources :

Example 1 with SvnInteractiveAuthenticationProvider

use of org.jetbrains.idea.svn.auth.SvnInteractiveAuthenticationProvider in project intellij-community by JetBrains.

the class SvnConfiguration method getInteractiveManager.

public SvnAuthenticationManager getInteractiveManager(@NotNull SvnVcs svnVcs) {
    if (myInteractiveManager == null) {
        myInteractiveManager = new SvnAuthenticationManager(svnVcs, new File(getConfigurationDirectory()));
        myInteractiveManager.setRuntimeStorage(RUNTIME_AUTH_CACHE);
        myInteractiveProvider = new SvnInteractiveAuthenticationProvider(svnVcs, myInteractiveManager);
        myInteractiveManager.setAuthenticationProvider(myInteractiveProvider);
    }
    return myInteractiveManager;
}
Also used : SvnAuthenticationManager(org.jetbrains.idea.svn.auth.SvnAuthenticationManager) SVNConfigFile(org.tmatesoft.svn.core.internal.wc.SVNConfigFile) File(java.io.File) SvnInteractiveAuthenticationProvider(org.jetbrains.idea.svn.auth.SvnInteractiveAuthenticationProvider)

Aggregations

File (java.io.File)1 SvnAuthenticationManager (org.jetbrains.idea.svn.auth.SvnAuthenticationManager)1 SvnInteractiveAuthenticationProvider (org.jetbrains.idea.svn.auth.SvnInteractiveAuthenticationProvider)1 SVNConfigFile (org.tmatesoft.svn.core.internal.wc.SVNConfigFile)1