From 66f8aacfb5c06cf4df039e3a8aaf8f2ac8882d11 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Thu, 30 Oct 2008 17:51:37 +0000 Subject: [PATCH] @QueryParameter no longer needs the value if it's the same as the parameter name. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12848 71c3de6d-444a-0410-be80-ed276b4c234a Originally-Committed-As: e9332376a3270787503f3bc53bb52b2f31928f48 --- core/src/main/java/hudson/security/LDAPSecurityRealm.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/hudson/security/LDAPSecurityRealm.java b/core/src/main/java/hudson/security/LDAPSecurityRealm.java index 82c1fb1..793342f 100644 --- a/core/src/main/java/hudson/security/LDAPSecurityRealm.java +++ b/core/src/main/java/hudson/security/LDAPSecurityRealm.java @@ -244,9 +244,9 @@ public class LDAPSecurityRealm extends SecurityRealm { return Messages.LDAPSecurityRealm_DisplayName(); } - public void doServerCheck(StaplerRequest req, StaplerResponse rsp, @QueryParameter("server") final String server, - @QueryParameter("managerDN") final String managerDN, - @QueryParameter("managerPassword") final String managerPassword + public void doServerCheck(StaplerRequest req, StaplerResponse rsp, @QueryParameter final String server, + @QueryParameter final String managerDN, + @QueryParameter final String managerPassword ) throws IOException, ServletException { new FormFieldValidator(req,rsp,true) { protected void check() throws IOException, ServletException {