annotate 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
rev   line source
19
74eb4577d447 HttpContext identity provider
nelo@MTEySS.neluz.int
parents:
diff changeset
1 using System.Security.Principal;
74eb4577d447 HttpContext identity provider
nelo@MTEySS.neluz.int
parents:
diff changeset
2 using System.Web;
74eb4577d447 HttpContext identity provider
nelo@MTEySS.neluz.int
parents:
diff changeset
3 using AltNetHispano.Agendas.Domain;
74eb4577d447 HttpContext identity provider
nelo@MTEySS.neluz.int
parents:
diff changeset
4
74eb4577d447 HttpContext identity provider
nelo@MTEySS.neluz.int
parents:
diff changeset
5 namespace Agendas.Web
74eb4577d447 HttpContext identity provider
nelo@MTEySS.neluz.int
parents:
diff changeset
6 {
74eb4577d447 HttpContext identity provider
nelo@MTEySS.neluz.int
parents:
diff changeset
7 public class HttpContextIdentityProvider : ISeguridad
74eb4577d447 HttpContext identity provider
nelo@MTEySS.neluz.int
parents:
diff changeset
8 {
74eb4577d447 HttpContext identity provider
nelo@MTEySS.neluz.int
parents:
diff changeset
9 public IPrincipal GetPrincipal()
74eb4577d447 HttpContext identity provider
nelo@MTEySS.neluz.int
parents:
diff changeset
10 {
74eb4577d447 HttpContext identity provider
nelo@MTEySS.neluz.int
parents:
diff changeset
11 return HttpContext.Current.User;
74eb4577d447 HttpContext identity provider
nelo@MTEySS.neluz.int
parents:
diff changeset
12 }
74eb4577d447 HttpContext identity provider
nelo@MTEySS.neluz.int
parents:
diff changeset
13 }
74eb4577d447 HttpContext identity provider
nelo@MTEySS.neluz.int
parents:
diff changeset
14 }