Exemplo n.º 1
0
        public static void Logout()
        {
            Csla.Security.CslaIdentity identity  = BusinessIdentity.UnauthenticatedIdentity();
            BusinessPrincipal          principal = new BusinessPrincipal(identity);

            Csla.ApplicationContext.User = principal;
        }
Exemplo n.º 2
0
        public static void Logout()
        {
            Csla.Security.CslaIdentity identity  = RolodexIdentity.UnauthenticatedIdentity();
            RolodexPrincipal           principal = new RolodexPrincipal(identity);

            Csla.ApplicationContext.User = principal;
        }
Exemplo n.º 3
0
        private static void SetPrincipal(Csla.Security.CslaIdentity identity)
        {
            BusinessPrincipal principal = new BusinessPrincipal(identity);

            Csla.ApplicationContext.User = principal;
        }