cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Bernhardt <jbernha...@talend.com>
Subject AW: fediz_config.xml hosts
Date Wed, 18 Oct 2017 10:00:58 GMT

Hi Metthew,


Fediz Config is independent of your hostname. You don't need to define your hostname in your
fediz config.


The only exception is when you use a reverse proxy for your application. Fediz Plugin will
always use the same hostname for the wreply URL that was used within the request. In case
of a reverse proxy the fediz plugin would only see the internal hostname, but an external
user could not follow this redirect to an internal hostname. For this case you can set a wreply
URL within the fediz plugin configuration.


Hope that helps.


Jan

________________________________
Von: Matthew Broadhead <matthew.broadhead@nbmlaw.co.uk>
Gesendet: Mittwoch, 18. Oktober 2017 10:18:06
An: users@cxf.apache.org
Betreff: fediz_config.xml hosts

Hi,
The example fediz_config.xml file has the format
<FedizConfig>
     <ContextConfig name="/fedizhelloworld">
...
which seems to describe a webapp deployed at Host localhost.

How would it be configured if the webapp is deployed at a different host
in Tomcat server.xml? e.g.
<Host name="domain.tld" ...>

I tried searching for the source.  I found
https://github.com/apache/cxf-fediz/blob/master/plugins/core/src/main/java/org/apache/cxf/fediz/core/config/FedizContext.java
[https://avatars3.githubusercontent.com/u/47359?s=400&v=4]<https://github.com/apache/cxf-fediz/blob/master/plugins/core/src/main/java/org/apache/cxf/fediz/core/config/FedizContext.java>

apache/cxf-fediz<https://github.com/apache/cxf-fediz/blob/master/plugins/core/src/main/java/org/apache/cxf/fediz/core/config/FedizContext.java>
github.com
cxf-fediz - Mirror of Apache CXF



but couldn't find ContextConfig

Thanks
Matthew


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message