dotnet-cas-client
dotnet-cas-client copied to clipboard
Testing Experimental CAS v3 Support
@HamidRezaAshkiyan, I have created this separate issue for you so that we can discuss attempting to use my CAS v3 protocol support without creating too much off-topic chatter in issue 17.
Please note, again, that the code I have written so far is untested and not guaranteed to work, especially not in a production environment. However, if you want to test it yourself and provide me with feedback:
- Uninstall the DotNetCasClient NuGet package from your project. This should still leave behind your CAS client configuration in your web.config file.
- Clone the dev-issue-17 branch of my repository to your development machine.
- In your project (in Visual Studio), add a reference to the project you just cloned. This will cause Visual Studio to build the clone of DotNetCasClient when building your project, since it is now a dependency.
- In your web.config file, locate the
casClientConfig
configuration section and modify theticketValidatorName
attribute to beCas30
instead ofCas20
. - If you are able to successfully build your project, you should now be able to run it.
Let me know if you run into any issues with the above steps. And definitely let me know what did and didn't work if you were able to successfully compile and run my version of the CAS client.
Actually my aim is to produce a sample for using in production environment. I hope we can test it and merge this to main repository.
And I will test it as soon as it possible. Thanks.
@HamidRezaAshkiyan Any update on testing the CASv3 support in the client?
Sorry I have Problems with logging in the CAS server. The CAS server wants token from me and I'm have contacted server admin, unfortunately issue still persist and I'm still waiting for proper fix.
@HamidRezaAshkiyan Sounds good. I was just checking in as sometimes the original poster forgets to check back and let us know how things are going. Let us know when you are able to get your CAS server issue resolved and are then able to test out the CASv3 support. Thanks!
Sure, I will.
Unfortunately, Server admin doesn't respond and I couldn't solve problem on my own so close this issue or if you like keep it open for other to contribute and if anything changed i will come back and say it here. Thanks.