custom-authentication

używanie niestandardowych IPrincipal i IIdentity w MVC3

Tworzę własną implementację IPrincipal i IIdentity Jak pokazano poniżej: [ComVisible(true)] [Serializable] public sealed cl ... Context.Current.User jest RolePrincipal zamiast CustomPrincipal. Ale RolePrincipal.Identity nieruchomość jest CustomIdentity!