hudson.scm
Class SVNAuthStoreHandlerImpl

java.lang.Object
  extended by 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 Summary
SVNAuthStoreHandlerImpl()
           
 
Method Summary
 boolean canStorePlainTextPassphrases(String realm, org.tmatesoft.svn.core.auth.SVNAuthentication auth)
           
 boolean canStorePlainTextPasswords(String realm, org.tmatesoft.svn.core.auth.SVNAuthentication auth)
           
static void install(org.tmatesoft.svn.core.auth.ISVNAuthenticationManager sam)
          ISVNAuthenticationManager doesn't expose the setAuthStoreHandler, so we need to downcast.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVNAuthStoreHandlerImpl

public SVNAuthStoreHandlerImpl()
Method Detail

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.



Copyright © 2004-2013. All Rights Reserved.