users@glassfish.java.net

Re: secure ports (8080 -> 8181)

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Tue, 25 Aug 2009 07:00:12 +0200

I am still in v2.1.. looking for a free time to update everything to v3....

my home server is at the same time my development machine ;) so I need
to reinstall and reconfigure other things together with Glassfish..

I will upgrade to v3 asap..

On Tue, Aug 25, 2009 at 3:58 AM, Jeanfrancois
Arcand<Jeanfrancois.Arcand_at_sun.com> wrote:
> Salut Felipe!
>
> Felipe Gaścho wrote:
>>
>> Hi there,
>>
>> my basic authentication started to work here.. but:
>>
>> Glassfish automatically switches the port from 8080 to 8181 when I try
>> to access the secure pages...
>>
>> Problems is: I am using a proxy server (dyndns), and it would be
>> easier if I can continue using the same port for security, just
>> controlled by the path used to access my restful resources...
>>
>> questions:
>>
>> 1) how to change the ports ? (then I can even configure my proxy to a
>> port of my choice . instead of the default  number probably  preferred
>> by the attack bots)
>
> the value is from domain.xml http-listener -> redirect-port:
>
>>    redirect-port
>>            if the connector is supporting non-SSL requests and a request
>>    is received for which a matching security-constraint requires        SSL
>> transport catalina will automatically redirect the                request to
>> the port number specified here
>
>
>> 2) Is it possible to keep 8080 for all pages, just controlling the
>> security through the roles and groups of my applications ? Does it
>> make sense at all ?
>
> You can use Grizzly's port unification for doing that:
>
>  * http://is.gd/2x9zw
>
> which version of GlassFish are you using? Alexey recently re-added port
> unification support in v3 (was removed until now).
>
> Thanks
>
> -- Jeanfrancois
>
>>
>> glassfish is every day more joyful :)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>



-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/footprint-service/wadl