Hi Achim,

Thanks for the quick response.

The Confidential Port is a redirect-port setting on the HTTP Connector
which the web server should automatically redirect the client to if the Web
Application is configured to demand a secure connection; i.e. CONFIDENTIAL
in the security constraint section of the web app's web.xml.

It is the same value as the SSL Connector port configuration, but it has to
be defined on the HTTP Connector.

Thanks

Ed



From:   Achim Nierbeck <bcanh...@googlemail.com>
To:     General OPS4J <general@lists.ops4j.org>
Date:   08/10/2012 14:54
Subject:        Re: How can I set the ConfidentialPort on the HTTP Connector in
            the PAX Web Jetty Server ?



Hi Ed

I'm not quite sure I can follow, do you mean by confidential Port the
SSL Port for webapplications?
If so take a look at [1]. This gives you a description of how to
configure Secure ports.

Regards, Achim

[1] - http://team.ops4j.org/wiki/display/paxweb/SSL+Configuration

2012/10/8 Ed Roberts <ed.robe...@saaconsultants.com>:
>
> Hi
>
> I am deploying the PAX Web Jetty Bundle (and other bundles) to get PAX
Web.
> I can set the majority of properties through the OSGi Configuration.
> I just need one more, the Confidential Port on the HTTP Connector in
order
> to *hopefully* trigger automatic redirection for CONFIDENTIAL web
> deployments.
>
> The only way I can see of doing this is via the jetty.xml configuration
> file, which can be referenced in the OSGi configuration.
> However, try as I might, I cannot see a simple way of just setting the
> Confidential Port.
>
> I have seen examples online setting the HTTP port, and so set the file up
> as follows
>
> <?xml version='1.0' encoding='UTF-8'?>
> <Configure id="Server" class="org.eclipse.jetty.server.Server">
>         <Set name="confidentialPort">8453</Set>
> </Configure>
>
> Of course that class does not even have a setter that matches, so I can
see
> why that fails.
>
> There just aren't any examples of someone using the Get element to drill
> down to the connectors.
>
> Can anyone shed any light, please. Does the lack of examples mean that I
> must bypass the entire HTTP Connector configuration from the OSGi
> configuration ?
>
> Thanks for any help
>
> Ed
>
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general



--

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
Committer & Project Lead
OPS4J Pax for Vaadin
<http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project
Lead
blog <http://notizblog.nierbeck.de/>

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general



_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to