I want to achieve this:
Users once authenticated, they will be redirected to appA's website or
appB's website (depending on the siteurl configured in db for each user)
and appA or appB needs the ticket to be passed so that they can then onwards
be validated against cas..

So, the approach I am thinking is:
I will create a spring Controller class and map it to a url mapping. *(can
anyone please suggest how to achieve this?)*
Redirect caslogin on successful to this above controller urlmapping.  *(can
anyone please suggest how to achieve this?)*
Controller will have the logic to fetch the user's siteurl from db
and then redirect the user to this site (which should be treated as a
service url by cas server). So that appA or AppB can communicate with the
cas server with a ticket.

Please suggest me if this approach is correct or any better suggestion.
*How to get the userloginId on spring's controller on the cas server itself
?*
And based on that, I need to get the siteurl from the db again. 
Any otherway of getting the userloginId and siteurl directly on the
Controller ?



--
View this message in context: 
http://jasig.275507.n4.nabble.com/How-to-get-userid-and-other-attributes-in-a-custom-controller-on-cas-serverside-tp4660155.html
Sent from the CAS Users mailing list archive at Nabble.com.

-- 
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