ServerName Property

Dom formpost at hotmail.com
Fri Aug 31 12:31:43 EDT 2007


Question about the CAS Java Client

There is a property: cas.client.serverName

This is used in the constructServiceUrl method of the AbstractCasFilter class.

This method is part of url construction in AuthenticationFilter and
TicketValidationFilter classes for the service value. You know this, you wrote
the classes. :)

I question is why do you use a property and not the request.getServerName()


I ask this because I have multiple domain clients. www.site.com and
www.site.co.uk which are served from the same apache via virtual hosts. But the
property is causing some issues, obviously. And the classes are final so no
chance of extending.

Thanks




More information about the cas mailing list