> I could get the DisplayName of a person at logon time by doing an LDAP
> query, but that is ugly. Is there a simple way to get access to other
> cas:serviceResponse properties?

Yes, via CasAuthentication.CurrentPrincipal.Assertion.Attributes. [1,
2]  I'm embarrassed that this is so poorly documented.  We demonstrate
a number of features of the client in the ExampleWebApp distributed
with source, but that important feature is missing.  I'd be happy to
work on adding a source example if you'd open a Jira issue and assign
to me.

Thanks,
M

[1] 
https://github.com/Jasig/dotnet-cas-client/blob/master/DotNetCasClient/Security/CasPrincipal.cs
[2] 
https://github.com/Jasig/dotnet-cas-client/blob/master/DotNetCasClient/Security/Assertion.cs

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