2 Replies Latest reply on Jun 9, 2009 11:47 AM by brett_brettl

    Jetty Component and Cipher Suites

    brett_brettl

      I have a question about excluding some of the available SSL/TLS cipher suites from my Jetty endpoint. For other parameters in my configuration file I can just use the property element like the following:

      <bean id="jetty" class="org.apache.camel.component.jetty.JettyHttpComponent">
          <property name="sslSocketConnector">
            <bean class="org.mortbay.jetty.security.SslSocketConnector">
              <property name="password" value="..."></property>
              <property name="keyPassword" value="..."></property>
              <property name="keystore" value="..."></property>
              <property name="needClientAuth" value="..."></property>
              <property name="truststore" value="..."></property>
              <property name="trustPassword" value="..."></property>
              <property name="protocol" value="TLS"></property>
            </bean>
          </property>
      </bean>
      

      I know that the class org.mortbay.jetty.security.SslSocketConnector has a method      setExcludeCipherSuites that would allow me to do what I need. However this method takes in as its argument an array of Strings, and I am not sure what the syntax would look like to do this. So my question is how do I write an array of Strings in my XML configuration file so that they can be used by the property

      <property name="excludeCipherSuites"
      

      Thanks.

       

      Brett