[jboss-cvs] JBossAS SVN: r80204 - branches/JBPAPP_4_2_0_GA_CP/security/src/main/org/jboss/security/ssl.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Oct 29 13:07:31 EDT 2008


Author: mmoyses
Date: 2008-10-29 13:07:31 -0400 (Wed, 29 Oct 2008)
New Revision: 80204

Modified:
   branches/JBPAPP_4_2_0_GA_CP/security/src/main/org/jboss/security/ssl/DomainServerSocketFactory.java
Log:
JBPAPP-1282: fixing mutual auth

Modified: branches/JBPAPP_4_2_0_GA_CP/security/src/main/org/jboss/security/ssl/DomainServerSocketFactory.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/security/src/main/org/jboss/security/ssl/DomainServerSocketFactory.java	2008-10-29 16:16:53 UTC (rev 80203)
+++ branches/JBPAPP_4_2_0_GA_CP/security/src/main/org/jboss/security/ssl/DomainServerSocketFactory.java	2008-10-29 17:07:31 UTC (rev 80204)
@@ -235,7 +235,8 @@
          log.debug("Supported CipherSuites: " + Arrays.asList(supportedCipherSuites));
       }
       socket.setNeedClientAuth(needsClientAuth);
-      socket.setWantClientAuth(wantsClientAuth);
+      if (!needsClientAuth)
+         socket.setWantClientAuth(wantsClientAuth);
       if( protocols != null )
          socket.setEnabledProtocols(protocols);
       if( cipherSuites != null )




More information about the jboss-cvs-commits mailing list