From c7991585bcc2d640f2befd56104224320f5ed0fa Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Mon, 13 Aug 2012 22:40:14 +0200 Subject: [PATCH] [JENKINS-14745] use transportAuthentication to parse command arguments --- core/src/main/java/hudson/cli/CLICommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/hudson/cli/CLICommand.java b/core/src/main/java/hudson/cli/CLICommand.java index a007752b47..bd20963eeb 100644 --- a/core/src/main/java/hudson/cli/CLICommand.java +++ b/core/src/main/java/hudson/cli/CLICommand.java @@ -215,6 +215,7 @@ public abstract class CLICommand implements ExtensionPoint, Cloneable { Authentication old = sc.getAuthentication(); CliAuthenticator authenticator = Jenkins.getInstance().getSecurityRealm().createCliAuthenticator(this); + sc.setAuthentication(getTransportAuthentication()); new ClassParser().parse(authenticator,p); try { -- GitLab