[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-cvs-commits
Subject: [jboss-cvs] jbosssx/src/main/org/jboss/security/ssl ...
From: Scott Stark <scott.stark () jboss ! com>
Date: 2006-02-28 20:17:42
Message-ID: E1FEBHy-0001MV-IF () committer01 ! frg ! pub ! inap ! atl ! jboss ! com
[Download RAW message or body]
User: starksm
Date: 06/02/28 15:17:42
Modified: src/main/org/jboss/security/ssl
DomainServerSocketFactory.java
Log:
JBAS-2785, Correct the bad property CiperSuites accessors to due CipherSuites.
Revision Changes Path
1.15 +33 -7 jbosssx/src/main/org/jboss/security/ssl/DomainServerSocketFactory.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DomainServerSocketFactory.java
===================================================================
RCS file: /cvsroot/jboss/jbosssx/src/main/org/jboss/security/ssl/DomainServerSocketFactory.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- DomainServerSocketFactory.java 4 Feb 2006 19:52:48 -0000 1.14
+++ DomainServerSocketFactory.java 28 Feb 2006 20:17:42 -0000 1.15
@@ -48,7 +48,7 @@
@see org.jboss.security.SecurityDomain
@author Scott.Stark@jboss.org
-@version $Revision: 1.14 $
+@version $Revision: 1.15 $
*/
public class DomainServerSocketFactory extends SSLServerSocketFactory
{
@@ -61,7 +61,7 @@
private transient SSLContext sslCtx = null;
private boolean wantsClientAuth = true;
private boolean needsClientAuth = false;
- private String[] ciperSuites;
+ private String[] cipherSuites;
private String[] protocols;
/** The default ServerSocketFactory which looks to the java:/jaas/other
@@ -154,13 +154,39 @@
this.needsClientAuth = needsClientAuth;
}
+ /**
+ @return current set of cipher suite names
+ */
+ public String[] getCipherSuites()
+ {
+ return cipherSuites;
+ }
+ /**
+ @param cipherSuites - set of cipher suite names to use
+ */
+ public void setCipherSuites(String[] cipherSuites)
+ {
+ this.cipherSuites = cipherSuites;
+ }
+
+ /**
+ This is an error due to a typo in the ciperSuites ivar
+ @deprecated use getCipherSuites
+ @return current set of cipher suite names
+ */
public String[] getCiperSuites()
{
- return ciperSuites;
+ return cipherSuites;
}
- public void setCiperSuites(String[] ciperSuites)
+
+ /**
+ This is an error due to a typo in the ciperSuites ivar
+ @deprecated use getCipherSuites
+ @param cipherSuites - set of cipher suite names to use
+ */
+ public void setCiperSuites(String[] cipherSuites)
{
- this.ciperSuites = ciperSuites;
+ this.cipherSuites = cipherSuites;
}
public String[] getProtocols()
@@ -213,8 +239,8 @@
socket.setWantClientAuth(wantsClientAuth);
if( protocols != null )
socket.setEnabledProtocols(protocols);
- if( ciperSuites != null )
- socket.setEnabledCipherSuites(ciperSuites);
+ if( cipherSuites != null )
+ socket.setEnabledCipherSuites(cipherSuites);
// TODO: move to javassist proxy framework
DomainServerSocket handler = new DomainServerSocket(socket);
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic