Re: Role based security objects

From: Etienne Charland (mystery@golden.net)
Date: 03/27/03


From: "Etienne Charland" <mystery@golden.net>
Date: Thu, 27 Mar 2003 15:08:07 -0500


You probably saw CustomIdentity and CustomPrincipal in a sample. Those were
custom classes that implemented the IIdentity and IPrincipal interfaces.
Those classes aren't part of the framework.

Etienne

"Erik Cruz" <erikacf.nospam@antares.com.br> wrote in message
news:#xz6T5H9CHA.2284@TK2MSFTNGP12.phx.gbl...
> Hi.
>
> Could anyone explain to me what are the differences between a
CustomIdentity
> and a GenericIdentity, and CustomPrincipal and GenericPrincipal? I found
> some information about the WindowsIdentity, WindowsPrincipal,
> GenericIdentity and GenericPrincipal but nothing about the custom objects.
>
> TIA,
>
> Erik Cruz
>
>



Relevant Pages

  • Re: friendly error messages for usernameForCertificateSecurity
    ... message security is valid is it put into the OperationState for the current ... method in my custom assertion's service input filter and then throw an error ... identity = new GenericIdentity(string.Empty); ... // new method a custom token manager must implement ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: creating custom HttpContext.Current.User.Identity
    ... some reason you can't, you can easily use the GenericPrincipal class with ... your custom IIdentity implementation. ... GenericIdentity (or most of the framework IIdentity or IPrincipal ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Role based security objects
    ... GenericIdentity class represents the identity of a user based on a custom ... authentication method, which an app defines. ... the GenericIdentity class cna only store an authenticated user's name. ...
    (microsoft.public.dotnet.security)
  • Re: Persistent Data Objects architecture
    ... > custom classes to represent my business entities. ... classes or typed datasets) straight from database schemas. ... I guess the same is true if I use custom classes. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: CustomControls
    ... Mit Stock-Controls zu arbeiten ist zwar nicht mehr so schlimm wie früher in anderen Entwicklungsumgebungen, weil VS umfangreiche Überarbeitungsmethoden (refactoring) anbietet. ... Dennoch sollte möglichst viel mit Custom classes gearbeitet werden. ... Deine Custom Control kannst du auch in die Toolbox packen, am besten unter einen eigenen Ordner. ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)