Author: rareddy
Date: 2011-11-22 15:00:47 -0500 (Tue, 22 Nov 2011)
New Revision: 3692
Modified:
branches/7.6.x/runtime/src/main/java/org/teiid/transport/SSLConfiguration.java
branches/7.6.x/runtime/src/test/java/org/teiid/transport/TestCommSockets.java
Log:
TEIID-1849: Jboss beans framework in the presence of the "get" method it will
look for same signature based "set" method. In the absence of "get"
method, it will use the "set" method signature. Code had mixed set of in
parameter in "set" and return on "get".
Modified: branches/7.6.x/runtime/src/main/java/org/teiid/transport/SSLConfiguration.java
===================================================================
---
branches/7.6.x/runtime/src/main/java/org/teiid/transport/SSLConfiguration.java 2011-11-22
18:13:38 UTC (rev 3691)
+++
branches/7.6.x/runtime/src/main/java/org/teiid/transport/SSLConfiguration.java 2011-11-22
20:00:47 UTC (rev 3692)
@@ -151,7 +151,7 @@
this.enabledCipherSuites = enabledCipherSuites.split(","); //$NON-NLS-1$
}
- public String[] getEnabledCipherSuites() {
+ public String[] getEnabledCipherSuitesAsArray() {
return enabledCipherSuites;
}
}
Modified: branches/7.6.x/runtime/src/test/java/org/teiid/transport/TestCommSockets.java
===================================================================
---
branches/7.6.x/runtime/src/test/java/org/teiid/transport/TestCommSockets.java 2011-11-22
18:13:38 UTC (rev 3691)
+++
branches/7.6.x/runtime/src/test/java/org/teiid/transport/TestCommSockets.java 2011-11-22
20:00:47 UTC (rev 3692)
@@ -259,7 +259,7 @@
@Test public void testEnableCipherSuites() throws Exception {
SSLConfiguration config = new SSLConfiguration();
config.setEnabledCipherSuites("x,y,z");
- assertArrayEquals(new String[] {"x","y","z"},
config.getEnabledCipherSuites());
+ assertArrayEquals(new String[] {"x","y","z"},
config.getEnabledCipherSuitesAsArray());
}
}