view Agendas/trunk/src/Agendas.Web/HttpContextIdentityProvider.asax.cs @ 31:bbe0f8e16dd7

dll de asp.net mvc & razor en lib y con copy local en true
author nelo@MTEySS.neluz.int
date Wed, 16 Mar 2011 09:52:54 -0300
parents 74eb4577d447
children
line wrap: on
line source

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;
		}
	}
}