Hi, 

we are evaluating CAS for use with our asp.net mvc application and are
having a hard time with
accessing claims provided by CAS.

we are using ticketValidatorName="Saml11"
and can see the that claims are provided from CAS in the logs, but when
calling 
Thread.CurrentPrincipal.IsInRole("someClaim")
a "method is not implemented exception" is thrown.
also, when writing the following code, the claims property is empty:

            var casPrincipal = ((CasPrincipal) Thread.CurrentPrincipal);
            var identity = (GenericIdentity) casPrincipal.Identity;

any help would be appreciated,







--
View this message in context: 
http://jasig.275507.n4.nabble.com/using-CAS-with-asp-net-mvc-tp4661219.html
Sent from the CAS Users mailing list archive at Nabble.com.

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