This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<sslContextParameters id="clientSSLParameters" xmlns="http://camel.apache.org/schema/spring"> | |
<trustManagers> | |
<keyStore resource="truststore.jks" password="{{ca.keystore.password}}"/> | |
</trustManagers> | |
</sslContextParameters> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<route> | |
<from uri="timer:start?repeatCount=1"/> | |
<to uri="http4:localhost:{{https.port}}/data?sslContextParameters=#clientSSLParameters&x509HostnameVerifier=#noopHostnameVerifier" /> | |
<log message="Data received: ${body}" /> | |
</route> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean id="jasypt" class="org.apache.camel.component.jasypt.JasyptPropertiesParser"> | |
<property name="password" value="sys:PASSWORD"/> | |
</bean> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service.keystore.password=ENC(JQD869NUF1pHbAu+653J2Q==) | |
service.key.password=ENC(uL17JPAMXUHzzRacEjSXAQ==) | |
ca.keystore.password=ENC(IX/BDgPKyRbRyQgKK0u+4cjmjFLPHyxw) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<sslContextParameters id="serverSSLParameters" xmlns="http://camel.apache.org/schema/spring"> | |
<keyManagers keyPassword="{{service.key.password}}"> | |
<keyStore resource="servicestore.jks" password="{{service.keystore.password}}"/> | |
</keyManagers> | |
<trustManagers> | |
<keyStore resource="truststore.jks" password="{{ca.keystore.password}}"/> | |
</trustManagers> | |
</sslContextParameters> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<restConfiguration scheme="https" component="jetty" port="{{https.port}}"> | |
<endpointProperty key="sslContextParameters" value="#serverSSLParameters"/> | |
</restConfiguration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<route> | |
<from uri="direct:get" /> | |
<pollEnrich> | |
<constant>file:target/test-classes/data?noop=true</constant> | |
</pollEnrich> | |
</route> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<rest path="/data"> | |
<get produces="application/xml"> | |
<to uri="direct:get"/> | |
</get> | |
</rest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<jaxrs:server address="http://localhost:${testutil.ports.Server}/doubleit"> | |
<jaxrs:serviceBeans> | |
<ref bean="serviceBean"/> | |
</jaxrs:serviceBeans> | |
<jaxrs:providers> | |
<bean class="org.apache.cxf.rs.security.httpsignature.filters.VerifySignatureFilter" /> | |
<bean class="org.apache.cxf.rs.security.httpsignature.filters.CreateSignatureInterceptor" /> | |
</jaxrs:providers> | |
<jaxrs:properties> | |
<entry key="rs.security.signature.in.properties" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rs.security.keystore.type=jks | |
rs.security.keystore.password=cspass | |
rs.security.keystore.alias=myclientkey | |
rs.security.keystore.file=clientstore.jks | |
rs.security.key.password=ckpass | |
rs.security.http.signature.key.id=client-key-id |