[jboss-cvs] JBossAS SVN: r79589 - branches/JBPAPP_4_3_0_GA_CP02_JBPAPP-1282/security/src/main/org/jboss/security/ssl.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Oct 16 11:33:26 EDT 2008
Author: mmoyses
Date: 2008-10-16 11:33:26 -0400 (Thu, 16 Oct 2008)
New Revision: 79589
Modified:
branches/JBPAPP_4_3_0_GA_CP02_JBPAPP-1282/security/src/main/org/jboss/security/ssl/DomainServerSocketFactory.java
Log:
JBPAPP-1283: fixing needClientAuth
Modified: branches/JBPAPP_4_3_0_GA_CP02_JBPAPP-1282/security/src/main/org/jboss/security/ssl/DomainServerSocketFactory.java
===================================================================
--- branches/JBPAPP_4_3_0_GA_CP02_JBPAPP-1282/security/src/main/org/jboss/security/ssl/DomainServerSocketFactory.java 2008-10-16 15:22:06 UTC (rev 79588)
+++ branches/JBPAPP_4_3_0_GA_CP02_JBPAPP-1282/security/src/main/org/jboss/security/ssl/DomainServerSocketFactory.java 2008-10-16 15:33:26 UTC (rev 79589)
@@ -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