Mercurial > altnet-hispano
view Agendas/trunk/src/Agendas.Tests/SeguridadObjectMother.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 | c90492faf268 |
children |
line wrap: on
line source
using System.Security.Principal; namespace AltNetHispano.Agendas.Tests { public static class SeguridadObjectMother { public static GenericPrincipal GetGenericPrincipalAutenticadoSinRoles() { return new GenericPrincipal(GetGenericIdentityAutenticado(), null); } public static GenericPrincipal GetGenericPrincipalSinAutenticar() { return new GenericPrincipal(GetGenericIdentitySinAutenticar(), null); } public static GenericIdentity GetGenericIdentityAutenticado() { return new GenericIdentity("neluz"); } public static GenericIdentity GetGenericIdentitySinAutenticar() { return new GenericIdentity(""); } } }