Hi, I think that urlService do what you want.

If you try to enter http://www.foo.com, your app redirects you to CAS and
the url should be something like
http://www.casserver.com/login?service=http://www.foo.com

The parameter service is used to redirect to that url after the user logs
in. All users will be redirected to that url, so it doesn´t mind if it is
user-foo or user-bar.

Hope this helps you

Pablo Mosquera

2010/3/1 [email protected] <[email protected]>

> Hi,guys:
>
> I have several legacy systems with different login information and they are
> not in the same domain. My CAS server is a stand-alone server and
> authenticate login information with jdbc-support
> (SearchModeSearchDatabaseAuthenticationHandler). I want to let the CAS's
> login page as the first page, after login, I want to redirect URL to the
> right system page according to the user-id that belongs to that system. How
> to do?
> For example: system foo has a user(user-foo), system bar has a
> user(user-bar), user-foo just belongs to system foo, user-bar just belongs
> to syste bar. System foo's URL is http://www.foo.com. System bar's URL is
> http://www.bar.com. CAS server's URL is https://www.casserver.com. If I
> access CAS server's URL directly, then the CAS login page will be displayed.
> After that, I login as user-foo successfully, then how to do can let CAS
> server redirect me to "http://www.foo.com";, instead of "http://www.bar.com";
> automatically?
> Waiting for your help, Thank you very much!
>
> --
> 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