Hi all,

I have the following situation:

- Existing ASP.NET <http://asp.net/> application with it's own user 
database.
- A CAS server with different usernames from the ASP.NET <http://asp.net/>
 application
- A database view in a different database with a table that maps usernames 
between the CAS server and the ASP.NET <http://asp.net/> app.

The ASP.NET <http://asp.net/> application relies a lot in calling 
HttpContext.Current.User.Identity.Name 
<http://httpcontext.current.user.identity.name/>. If I use the DotNet CAS 
Client, HttpContext.Current.User.Identity.Name 
<http://httpcontext.current.user.identity.name/> is set to the CAS server 
usernames which are different from those of the ASP.NET <http://asp.net/> app. 
Modifying the application in this respect is not easy.

So I am wondering how to handle this. 

Is there a good place within the DotNet CAS Client to lookup the CAS 
username in the database view and change it to the application username? My 
goal being that the CAS Client will set the 
HttpContext.Current.User.Identity.Name 
<http://httpcontext.current.user.identity.name/> to the application 
username and not to the CAS username.

Thank you in advance,
Marios

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.

Reply via email to