comparison Agendas/trunk/src/Agendas.Web/HttpContextIdentityProvider.asax.cs @ 19:74eb4577d447

HttpContext identity provider Requerimiento de autenticación para registrar un nuevo evento o modificar uno existente
author nelo@MTEySS.neluz.int
date Mon, 14 Mar 2011 00:35:43 -0300
parents
children
comparison
equal deleted inserted replaced
18:8ed4a806ebe0 19:74eb4577d447
1 using System.Security.Principal;
2 using System.Web;
3 using AltNetHispano.Agendas.Domain;
4
5 namespace Agendas.Web
6 {
7 public class HttpContextIdentityProvider : ISeguridad
8 {
9 public IPrincipal GetPrincipal()
10 {
11 return HttpContext.Current.User;
12 }
13 }
14 }