glassfish_at_javadesktop.org wrote:
> Dear All,
>
> Is there a plugin, or can AS 9.1 act as a reverse proxy?
> by means I want if clients call http://<IP>:8080/iwc to be redirected to https://<IP>
>
> How can i achieve this?
You can use port unification for automatic redirection of all http ->
https [1]. Mainly, just add under the http-listener port 8080:
<property name="proxiedProtocol" value="https"/>
If you need a more fine grained approach (like filtering/redirecting)
you might either want to write a Filter or a Valve[2].