Check out this:
http://www.ja-sig.org/wiki/display/CASC/Configuring+the+JA-SIG+CAS+Client+for+Java+in+the+web.xml

It says that "serverName" is used when you want the CAS filters to determine
the service url (after the protocol+host+port) whereas you use the "service"
parameter if you want to define the entire url (and not have CAS figure it
out dynamically).

Hope that helps.

-Scott


On Tue, Apr 21, 2009 at 3:11 PM, Martin Simons <[email protected]
> wrote:

> Scott,
>
> thanks for the hint but after some brief searching the documentation didn't
> tell me anything substantial I didn't already know. I've been fiddeling
> quite a bit with "serverName" and "serviceName" before, all leading to the
> same error. I didn't quire grasp the principal behind it yet either.
>
> Any advice?
>
> Thanks,
> Martin
>
>
> Am 21.04.2009 um 00:03 schrieb [email protected]:
>
>  I'm on a blackberry so I can't type a detailed response but check the wiki
>> documentation related to the serverName param for doing dynamic urls.
>>
>> -Scott
>>
>>
>> Sent from my Verizon Wireless BlackBerry
>>
>> -----Original Message-----
>> From: Martin Simons <[email protected]>
>>
>> Date: Mon, 20 Apr 2009 23:59:22
>> To: <[email protected]>
>> Subject: Re: [cas-user] Manual authentication via Java objects
>>
>>
>>
>>> If you want the user redirected to page B on return, then that's the
>>> "service" url you need to provide to CAS.  CAS automatically
>>> redirects back to whatever URL was provided as the service url.
>>>
>>>
>> But this service url, specified in the filter's configuration, is
>> fixed, right? Using filters I can't provide another one. Sending the
>> user to CAS manually with another url will result in an error because
>> the provided service url and the one from the configuration won't
>> match. Am I correct?
>>
>> Thanks,
>> Martin
>>
>>
>>
>> --
>> You are currently subscribed to [email protected] as:
>> [email protected]
>> To unsubscribe, change settings or access archives, see
>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>
>> --
>> You are currently subscribed to [email protected] as:
>> [email protected]
>> To unsubscribe, change settings or access archives, see
>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>
>
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to