Why does the second use case not satisfy what you're trying to do? You should also migrate to the Jasig CAS Client for Java 3.2:
https://wiki.jasig.org/display/CASC/CAS+Client+for+Java+3.1 On Thu, Jan 20, 2011 at 3:46 AM, Serouche Rahimpour <[email protected]>wrote: > I am using the java client version 2.1.0 > > Any idea how I could implement a solution for my problem without having to > write java codes? > > Maybe there is simply no way with my CAS client/server and I'll have to > look into another solution ... or is it anyway better to spend some time to > write a java code ... ?!?! > > Cheers > Serouche > > > > > On 20/01/2011 05:04, Scott Battaglia wrote: > >> Most CAS clients allow you to specify the URL in one of two ways: >> >> 1. provide a hard-coded "serviceurl" which will not vary. >> 2. Provide the start of a service url (i.e. https://my.application.com) >> and then have the client generate the rest based on the current request. >> >> It seems like you want to be using #2. >> >> Cheers, >> Scott >> >> >> On Tue, Jan 18, 2011 at 3:40 AM, Serouche Rahimpour <[email protected] >> <mailto:[email protected]>> wrote: >> >> dear list, >> >> I have 2 URL which are sending the request to my CAS server. >> they are basically in the form >> http://%{my context}/<my URL>/ >> >> Sometimes I need to send something like this >> http://%{my context}/<my URL>/?<some variables - actually only one> >> >> In the Tomcat log I see >> " ... temporary moved ..." >> >> So it looks like Tomcat moves the URL aside, sends the >> authentication request to the CAS server. This later answers back, >> "Ok here is your ticket" >> >> Tomcat opens the serviceUrl and my variable is lost >> >> Could anybody help on to solve this problem? >> >> I checked the archives and didn't find anything relevant to my issue. >> >> Any tips would be appreciated. >> >> >> >> >> -- >> --------------------------------------------------------------------- >> Serouche Rahimpour >> European Southern Observatory ~~ http://www.eso.org >> >> + O >> O + OTS/CAS | Office 3001 >> + E S Tel.:+49-89-32006-673 >> O + Fax.:+49-89-32006-677 >> O + O >> O + >> O >> >> >> -- >> You are currently subscribed to [email protected] >> <mailto:[email protected]> as: [email protected] >> <mailto:[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 >> >> > -- > --------------------------------------------------------------------- > Serouche Rahimpour > European Southern Observatory ~~ http://www.eso.org > > + O > O + OTS/CAS | Office 3001 > + E S Tel.:+49-89-32006-673 > O + Fax.:+49-89-32006-677 > O + O > O + > O > > > -- > 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
