annotate Agendas/trunk/src/Agendas.Web/HttpContextIdentityProvider.cs @ 34:475be11edf56

Ajuste en los nombre de los assemblies y namespaces
author nelo@MTEySS.neluz.int
date Thu, 17 Mar 2011 16:59:29 -0300
parents 1e95467c1245
children 3ebe89c88caa
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
34
475be11edf56 Ajuste en los nombre de los assemblies y namespaces
nelo@MTEySS.neluz.int
parents: 33
diff changeset
5 namespace AltNetHispano.Agendas.Web
19
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 }