Package de.gematik.test.tiger.glue
Class TigerProxyGlue
java.lang.Object
de.gematik.test.tiger.glue.TigerProxyGlue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetLocalTigerProxyForwardMutualTlsIdentity(String certificateFile) Changes the forwardMutualTlsIdentity of the local TigerProxy to the given value.voidsetLocalTigerProxyRootCa(String certificateFile) Changes the rootCa of the local TigerProxy to the given value.voidsetLocalTigerProxyServerIdentity(String certificateFile) Changes the serverIdentity of the local TigerProxy to the given value.
-
Constructor Details
-
TigerProxyGlue
public TigerProxyGlue()
-
-
Method Details
-
setLocalTigerProxyForwardMutualTlsIdentity
@Wenn("TGR \u00e4ndere die forwardMutualTlsIdentity des lokalen TigerProxies zu {string}") @When("TGR change the local TigerProxy forwardMutualTlsIdentity to {string}") public void setLocalTigerProxyForwardMutualTlsIdentity(String certificateFile) Changes the forwardMutualTlsIdentity of the local TigerProxy to the given value. The parameter uses the TigerPkiIdentity-syntax used also for the YAML-configuration. For more information refer to the user manual, section "Configuring PKI identities in Tiger Proxy’s tls section". Be aware: This method reboots the internal mockserver, leading to a short period in which the local TigerProxy can not forward traffic. (It will still function in a mesh-setup, no traffic will be lost). Before the method returns the mockserver is successfully restarted.- Parameters:
certificateFile- The certificate to use. Use TigerPkiIdentity-syntax (e.g. "my/file/name.p12;p12password")
-
setLocalTigerProxyServerIdentity
@Wenn("TGR \u00e4ndere die serverIdentity des lokalen TigerProxies zu {string}") @When("TGR change the local TigerProxy serverIdentity to {string}") public void setLocalTigerProxyServerIdentity(String certificateFile) Changes the serverIdentity of the local TigerProxy to the given value. The parameter uses the TigerPkiIdentity-syntax used also for the YAML-configuration. For more information refer to the user manual, section "Configuring PKI identities in Tiger Proxy’s tls section". Be aware: This method reboots the internal mockserver, leading to a short period in which the local TigerProxy can not forward traffic. (It will still function in a mesh-setup, no traffic will be lost). Before the method returns the mockserver is successfully restarted.- Parameters:
certificateFile- The certificate to use. Use TigerPkiIdentity-syntax (e.g. "my/file/name.p12;p12password")
-
setLocalTigerProxyRootCa
@Wenn("TGR \u00e4ndere die rootCa des lokalen TigerProxies zu {string}") @When("TGR change the local TigerProxy rootCa to {string}") public void setLocalTigerProxyRootCa(String certificateFile) Changes the rootCa of the local TigerProxy to the given value. The parameter uses the TigerPkiIdentity-syntax used also for the YAML-configuration. For more information refer to the user manual, section "Configuring PKI identities in Tiger Proxy’s tls section". Be aware: This method reboots the internal mockserver, leading to a short period in which the local TigerProxy can not forward traffic. (It will still function in a mesh-setup, no traffic will be lost). Before the method returns the mockserver is successfully restarted.- Parameters:
certificateFile- The certificate to use. Use TigerPkiIdentity-syntax (e.g. "my/file/name.p12;p12password")
-