fix https://github.com/apache/tomcat-maven-plugin/pull/12

Signed-off-by: olivier lamy <olamy@apache.org>

git-svn-id: https://svn.apache.org/repos/asf/tomcat/maven-plugin/trunk@1737347 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java b/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
index cc2c0c5..4047934 100644
--- a/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
+++ b/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
@@ -287,6 +287,15 @@
     private boolean ignorePackaging;
 
     /**
+     * enable client authentication for https (if configured)
+     * see <a href="http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#SSL_Support">http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#SSL_Support</a>
+     *
+     * @since 2.3
+     */
+    @Parameter(property = "maven.tomcat.https.clientAuth", defaultValue = "false")
+    private String clientAuth;
+
+    /**
      * Override the default keystoreFile for the HTTPS connector (if enabled)
      *
      * @since 1.1
@@ -978,6 +987,7 @@
                         httpsConnector.setAttribute( "truststoreProvider", truststoreProvider );
                     }
 
+                    httpsConnector.setAttribute("clientAuth", clientAuth);
                     httpsConnector.setUseBodyEncodingForURI( this.useBodyEncodingForURI );
 
                     if ( address != null )