Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/HttpContextIdentityProvider.cs @ 33:1e95467c1245
rename de un archivo
author | nelo@MTEySS.neluz.int |
---|---|
date | Thu, 17 Mar 2011 14:45:46 -0300 |
parents | Agendas/trunk/src/Agendas.Web/HttpContextIdentityProvider.asax.cs@74eb4577d447 |
children | 475be11edf56 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Agendas/trunk/src/Agendas.Web/HttpContextIdentityProvider.cs Thu Mar 17 14:45:46 2011 -0300 @@ -0,0 +1,14 @@ +using System.Security.Principal; +using System.Web; +using AltNetHispano.Agendas.Domain; + +namespace Agendas.Web +{ + public class HttpContextIdentityProvider : ISeguridad + { + public IPrincipal GetPrincipal() + { + return HttpContext.Current.User; + } + } +} \ No newline at end of file