Hi all,

I'm hoping someone out there can help with this one :)

We would like to use our own logon form to log on to CAS. I've looked at this 
page and tried to do what it says but I find it difficult to understand fully:

https://wiki.jasig.org/display/CAS/Using+CAS+without+the+CAS+login+screen  

What I've done so far is open a URL to CAS something like this:

http://xxx.xxx.net:8081/cas-server-webapp-3.4.5/login?service=http%3A%2F%2Fxxx.xxx.net%3A9090%2Fmywebapp%2Fprotected%2F

I then read the response, and I can extract the hidden "lt" parameter. So at 
this point I know the service I wish to invoke (which is the same as in the URL 
above), I have my logon ticket (or at least I *think* I do), I know the user ID 
and I know the password. 

I'm not sure what to do next. I think I've got as far as the first step in this 
instruction, but I'm not sure how to do the next bit:

"One thing to do would be to generate an HTTP request for CAS login, parse out 
a valid login ticket, then issue a request for CAS login posting the login 
ticket, username, and password"

However, further down the page, it says:

"Again, get a login ticket. Then, generate Redirect to the browser placing the 
login ticket, the username, and the password on the CAS login URL to which 
you're redirecting. Specify the service to be your application where you want 
to receive the service ticket. "

As I have a logon ticket, am I now ready to do this step instead? If so, how 
exactly do I generate the request to CAS? 

Sorry for all the questions, I've not done much programmatic POST stuff so I'm 
a bit confused. 

Other than that I've managed to get several apps all working together using CAS 
- it's great! :) 

Any help much appreciated!

cheers, john
-- 
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