Class SVNAuthenticationManager

  • All Implemented Interfaces:
    org.tmatesoft.svn.core.auth.ISVNAuthenticationManager

    public class SVNAuthenticationManager
    extends java.lang.Object
    implements org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
    Authentication manager for SVN. See details about authentication at the http://wiki.svnkit.com/Authentication. Authentication manager created for each repository instance. Only username+password authentication supported. Proxy not supported for https:// repositories.
    • Field Summary

      • Fields inherited from interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager

        PASSWORD, SSH, SSL, USERNAME
    • Constructor Summary

      Constructors 
      Constructor Description
      SVNAuthenticationManager​(java.lang.String repoUrl, java.lang.String predefinedUser, java.lang.String predefinedPass, ProjectTeamSettings teamSettings)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void acknowledgeAuthentication​(boolean accepted, java.lang.String kind, java.lang.String realm, org.tmatesoft.svn.core.SVNErrorMessage errorMessage, org.tmatesoft.svn.core.auth.SVNAuthentication authentication)  
      void acknowledgeTrustManager​(javax.net.ssl.TrustManager manager)  
      int getConnectTimeout​(org.tmatesoft.svn.core.io.SVNRepository repository)  
      org.tmatesoft.svn.core.auth.SVNAuthentication getFirstAuthentication​(java.lang.String kind, java.lang.String realm, org.tmatesoft.svn.core.SVNURL url)  
      org.tmatesoft.svn.core.auth.SVNAuthentication getNextAuthentication​(java.lang.String kind, java.lang.String realm, org.tmatesoft.svn.core.SVNURL url)  
      org.tmatesoft.svn.core.auth.ISVNProxyManager getProxyManager​(org.tmatesoft.svn.core.SVNURL url)  
      int getReadTimeout​(org.tmatesoft.svn.core.io.SVNRepository repository)  
      javax.net.ssl.TrustManager getTrustManager​(org.tmatesoft.svn.core.SVNURL url)  
      boolean isAuthenticationForced()  
      void setAuthenticationProvider​(org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider provider)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SVNAuthenticationManager

        public SVNAuthenticationManager​(java.lang.String repoUrl,
                                        java.lang.String predefinedUser,
                                        java.lang.String predefinedPass,
                                        ProjectTeamSettings teamSettings)
    • Method Detail

      • acknowledgeAuthentication

        public void acknowledgeAuthentication​(boolean accepted,
                                              java.lang.String kind,
                                              java.lang.String realm,
                                              org.tmatesoft.svn.core.SVNErrorMessage errorMessage,
                                              org.tmatesoft.svn.core.auth.SVNAuthentication authentication)
                                       throws org.tmatesoft.svn.core.SVNException
        Specified by:
        acknowledgeAuthentication in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
        Throws:
        org.tmatesoft.svn.core.SVNException
      • acknowledgeTrustManager

        public void acknowledgeTrustManager​(javax.net.ssl.TrustManager manager)
        Specified by:
        acknowledgeTrustManager in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
      • getConnectTimeout

        public int getConnectTimeout​(org.tmatesoft.svn.core.io.SVNRepository repository)
        Specified by:
        getConnectTimeout in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
      • getReadTimeout

        public int getReadTimeout​(org.tmatesoft.svn.core.io.SVNRepository repository)
        Specified by:
        getReadTimeout in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
      • getFirstAuthentication

        public org.tmatesoft.svn.core.auth.SVNAuthentication getFirstAuthentication​(java.lang.String kind,
                                                                                    java.lang.String realm,
                                                                                    org.tmatesoft.svn.core.SVNURL url)
                                                                             throws org.tmatesoft.svn.core.SVNException
        Specified by:
        getFirstAuthentication in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
        Throws:
        org.tmatesoft.svn.core.SVNException
      • getNextAuthentication

        public org.tmatesoft.svn.core.auth.SVNAuthentication getNextAuthentication​(java.lang.String kind,
                                                                                   java.lang.String realm,
                                                                                   org.tmatesoft.svn.core.SVNURL url)
                                                                            throws org.tmatesoft.svn.core.SVNException
        Specified by:
        getNextAuthentication in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
        Throws:
        org.tmatesoft.svn.core.SVNException
      • getProxyManager

        public org.tmatesoft.svn.core.auth.ISVNProxyManager getProxyManager​(org.tmatesoft.svn.core.SVNURL url)
                                                                     throws org.tmatesoft.svn.core.SVNException
        Specified by:
        getProxyManager in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
        Throws:
        org.tmatesoft.svn.core.SVNException
      • getTrustManager

        public javax.net.ssl.TrustManager getTrustManager​(org.tmatesoft.svn.core.SVNURL url)
                                                   throws org.tmatesoft.svn.core.SVNException
        Specified by:
        getTrustManager in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
        Throws:
        org.tmatesoft.svn.core.SVNException
      • isAuthenticationForced

        public boolean isAuthenticationForced()
        Specified by:
        isAuthenticationForced in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
      • setAuthenticationProvider

        public void setAuthenticationProvider​(org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider provider)
        Specified by:
        setAuthenticationProvider in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager