aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-maven/archiva-maven-scheduler
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2019-09-03 14:40:22 +0200
committerMartin Stockhammer <martin_s@apache.org>2019-09-03 14:40:22 +0200
commitebf95723a5399535ff8175121625e933d99a27c0 (patch)
tree044ba96be2dd0343e577eaeb740f773f711af113 /archiva-modules/archiva-maven/archiva-maven-scheduler
parentc7fb08d2cb8b8fac9e36707e03369c5e83def7a6 (diff)
downloadarchiva-ebf95723a5399535ff8175121625e933d99a27c0.tar.gz
archiva-ebf95723a5399535ff8175121625e933d99a27c0.zip
Modifying NetworkProxy class. Adding tests.
Diffstat (limited to 'archiva-modules/archiva-maven/archiva-maven-scheduler')
-rw-r--r--archiva-modules/archiva-maven/archiva-maven-scheduler/src/main/java/org/apache/archiva/scheduler/indexing/maven/DownloadRemoteIndexTask.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-maven/archiva-maven-scheduler/src/main/java/org/apache/archiva/scheduler/indexing/maven/DownloadRemoteIndexTask.java b/archiva-modules/archiva-maven/archiva-maven-scheduler/src/main/java/org/apache/archiva/scheduler/indexing/maven/DownloadRemoteIndexTask.java
index c739cd27c..4db9756fc 100644
--- a/archiva-modules/archiva-maven/archiva-maven-scheduler/src/main/java/org/apache/archiva/scheduler/indexing/maven/DownloadRemoteIndexTask.java
+++ b/archiva-modules/archiva-maven/archiva-maven-scheduler/src/main/java/org/apache/archiva/scheduler/indexing/maven/DownloadRemoteIndexTask.java
@@ -165,7 +165,7 @@ public class DownloadRemoteIndexTask
proxyInfo.setHost( this.networkProxy.getHost() );
proxyInfo.setPort( this.networkProxy.getPort() );
proxyInfo.setUserName( this.networkProxy.getUsername() );
- proxyInfo.setPassword( this.networkProxy.getPassword() );
+ proxyInfo.setPassword( new String(this.networkProxy.getPassword()) );
}
AuthenticationInfo authenticationInfo = null;
if ( this.remoteRepository.getLoginCredentials()!=null && this.remoteRepository.getLoginCredentials() instanceof PasswordCredentials )