annotate Agendas/trunk/src/Agendas.Web/HttpContextIdentityProvider.cs @ 43:a5632b23ca43

prueba
author cpeix
date Sat, 19 Mar 2011 15:37:54 -0300
parents 475be11edf56
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 }