Hi Michael,

I'm looking at your patch and had a few questions/comments.  I'd like to 
re-work your code a little bit so that it gets around the thread safety issue. 

I think CasAuthentication.Initialize() would be the place to add the 
certificate validation delegate (Initialize() is thread-safe).  Also, since any 
changes to web.config will cause the application to recycle (and 
CasAuthentication.Initialize() to pick up the changes), I don't think it would 
require the removal capability (resetting the delegate to null).  Also, you 
wouldn't have to add and remove the functionality around each of the outbound 
web requests (i.e., in ticket validators, proxy retriever).

Any questions/comments/objections?

-Scott

-----Original Message-----
From: Michael Hans [mailto:foliofnm...@gmail.com] 
Sent: Friday, February 26, 2010 4:00 PM
To: cas-dev@lists.jasig.org
Subject: Re:[cas-dev] Quirky Dev Patch for Invalid SSL Exceptions in .NET

Your right, I didn't consider the fact that an issue could be tabled and 
scheduled for future development or implementation. Jira ticket created 
http://www.ja-sig.org/issues/browse/NETC-10

Thanks
Michael
--
You are currently subscribed to cas-dev@lists.jasig.org as: 
sholo...@princeton.edu To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to