One way of doing it is to add the parameter already when you redirect to CAS

https://localhost:8443/cas/login?service=https%3A%2F%2Flocalhost%3A8443%2Fwebapps%2FCampusLauncherJava%2Fprueba.jsp?param=x

whereas you might have to encode the ? similar to the forward slahes and colon.

HTH

Michael



Am 31.01.14 12:05, schrieb Carlos:
> Hi,
>
> When some one tries to go to the url:
>
> https://localhost/webapps/CampusLauncherJava/prueba.jsp
>
> the browser is redirected to the following url to do the login
>
> https://localhost:8443/cas/login?service=https%3A%2F%2Flocalhost%3A8443%2Fwebapps%2FCampusLauncherJava%2Fprueba.jsp
>
> After a successful authentication the browser is the redirected to the 
> original desired url:
>
> https://localhost/webapps/CampusLauncherJava/prueba.jsp
>
> What I would like that the CAS server add a new parameter to the desired url 
> like this:
>
> https://localhost/webapps/CampusLauncherJava/prueba.jsp?param=x
>
> How can I achieve this?
>
> Thanks.
>


-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to