christianhau
Programmer
Hi!
I am building a single sign on solution that uses tickets to validate logins. A user wants to log in and is assigned a ticket, now the user has to validate this ticket and therefore goes to a validationpage with the ticket as a querystring. If the ticket is validated properly the validation site returns the username in xml form, like this:
<cas:serviceResponse xmlns:cas=' <cas:authenticationSuccess>
<cas:user>user@online.no </cas:user>
</cas:authenticationSuccess>
</cas:serviceResponse>
The validation request happens from one server while the validation and xml reply comes from the validation server. My question is how can I retrieve the <cas:authenticationSuccess> for example? If the validation is sucsessful then this is all I need.. I have code for it in asp.net but cannot seem to find anything equivalent to the httpwebrequest that you can perform in asp.net.. Any help is very much appreciated!!
I am building a single sign on solution that uses tickets to validate logins. A user wants to log in and is assigned a ticket, now the user has to validate this ticket and therefore goes to a validationpage with the ticket as a querystring. If the ticket is validated properly the validation site returns the username in xml form, like this:
<cas:serviceResponse xmlns:cas=' <cas:authenticationSuccess>
<cas:user>user@online.no </cas:user>
</cas:authenticationSuccess>
</cas:serviceResponse>
The validation request happens from one server while the validation and xml reply comes from the validation server. My question is how can I retrieve the <cas:authenticationSuccess> for example? If the validation is sucsessful then this is all I need.. I have code for it in asp.net but cannot seem to find anything equivalent to the httpwebrequest that you can perform in asp.net.. Any help is very much appreciated!!