Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withPasswordAuthenticationDisabled (0.37 sec)

  1. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/ivy/IvySftpRepoErrorsIntegrationTest.groovy

        }
    
        void "resolve dependencies from a SFTP Ivy repository with unsupported password authentication"() {
            given:
            server.withPasswordAuthenticationDisabled()
            and:
            buildFile << """
                repositories {
                    ivy {
                        url "${ivySftpRepo.uri}"
                        credentials {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 11:07:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy

                allowInit()
            }
        }
    
        /**
         * this basically restarts the sftpserver without
         * registering a password authentication
         * */
        def withPasswordAuthenticationDisabled() {
            passwordAuthenticationEnabled = false
            restart()
        }
    
        protected void before() throws Throwable {
            baseDir = testDirectoryProvider.getTestDirectory().createDir("sshd/files")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top