Check this document:

http://www.jasig.org/cas/protocol

using your URL samples, will be something like this:

For CAS 1.0:
https://casclient/cas/validate?service=https://casclient/views&ticket=ST-1-42mIJqxYfzo7ejWaXzll<https://casclient/views?ticket=ST-1-42mIJqxYfzo7ejWaXzll>

For CAS 2.0:

https://casclient/cas/serviceValidate?service=https://casclient/views&ticket=ST-1-42mIJqxYfzo7ejWaXzll<https://casclient/views?ticket=ST-1-42mIJqxYfzo7ejWaXzll>

please read the CAS Protocol.

2012/10/10 Jonathan <[email protected]>

> I am just getting started on CAS, and I couldn't figure out how to get the
> username from the cas client. I know we can validate the ticket, but how do
> I know what user? Can we use the ticket to query the CAS server for the
> username?
>
> CAS Server
> https://casserver/cas/login?service=https://casclient/views
>
> Redirected to CAS client
> https://casclient/views?ticket=ST-1-42mIJqxYfzo7ejWaXzll
>
>
> Thanks
> Jonathan
> --
> 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
>



-- 
Carlos

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