view 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
line wrap: on
line source

using System.Security.Principal;
using System.Web;
using AltNetHispano.Agendas.Domain;

namespace AltNetHispano.Agendas.Web
{
	public class HttpContextIdentityProvider : ISeguridad
	{
		public IPrincipal GetPrincipal()
		{
			return HttpContext.Current.User;
		}
	}
}