Package hudson.scm

Class SVNAuthStoreHandlerImpl

java.lang.Object
hudson.scm.SVNAuthStoreHandlerImpl
All Implemented Interfaces:
org.tmatesoft.svn.core.internal.wc.ISVNAuthStoreHandler

public class SVNAuthStoreHandlerImpl extends Object implements org.tmatesoft.svn.core.internal.wc.ISVNAuthStoreHandler
ISVNAuthStoreHandler implementation that always return true.

This is to convince Subversion to store passwords, in relation to JENKINS-8059.

Author:
Kohsuke Kawaguchi
  • Constructor Details

    • SVNAuthStoreHandlerImpl

      public SVNAuthStoreHandlerImpl()
  • Method Details

    • canStorePlainTextPasswords

      public boolean canStorePlainTextPasswords(String realm, org.tmatesoft.svn.core.auth.SVNAuthentication auth) throws org.tmatesoft.svn.core.SVNException
      Specified by:
      canStorePlainTextPasswords in interface org.tmatesoft.svn.core.internal.wc.ISVNAuthStoreHandler
      Throws:
      org.tmatesoft.svn.core.SVNException
    • canStorePlainTextPassphrases

      public boolean canStorePlainTextPassphrases(String realm, org.tmatesoft.svn.core.auth.SVNAuthentication auth) throws org.tmatesoft.svn.core.SVNException
      Specified by:
      canStorePlainTextPassphrases in interface org.tmatesoft.svn.core.internal.wc.ISVNAuthStoreHandler
      Throws:
      org.tmatesoft.svn.core.SVNException
    • install

      public static void install(org.tmatesoft.svn.core.auth.ISVNAuthenticationManager sam)
      ISVNAuthenticationManager doesn't expose the setAuthStoreHandler, so we need to downcast.