users@glassfish.java.net

Re: Secure redirects not working correctly (missing config?)

From: Shing Wai Chan <shing.wai.chan_at_oracle.com>
Date: Tue, 30 Aug 2011 14:44:20 -0700

 From Admin Console, it can be configure as follows:
Configurations > server-config > Network Config > Network Listeners >
http-listener-1 > HTTP > Redirect Port: 443

Shing Wai Chan
> Hi,
>
> Just started working with GlassFish. I set http-listener-1 to port 80
> and
> http-listener-2 (the listener with SSL enabled) to 443. When I try and
> access a web application through port 80 but where the
> security-constraint is
> configured in web.xml, I should get redirected to port 443 but I am
> instead
> still being directed to portb 8181. Port 8181 is the deafult, out of the
> package configured port number. How do I configure the listener to
> redirect
> to 443 where it belongs?
>
>
>
> Thanks,
>
> Rob Tanner
>
> Linfield College
>
>
> --
>
> [Message sent by forum member 'caspersgrin']
>
> View Post: http://forums.java.net/node/838853
>
>