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 Summary
Constructors Constructor Description SVNAuthStoreHandlerImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 interfaceorg.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 interfaceorg.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.
-
-