Role based security objects

From: Erik Cruz (erikacf.nospam@antares.com.br)
Date: 03/27/03


From: "Erik Cruz" <erikacf.nospam@antares.com.br>
Date: Thu, 27 Mar 2003 11:52:41 -0300


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: Role based security objects
    ... Where are CustomIdentity and CustomPrincipal defined? ... You can create your own identities and principals that implement IIdentity ... > some information about the WindowsIdentity, WindowsPrincipal, ... > GenericIdentity and GenericPrincipal but nothing about the custom objects. ...
    (microsoft.public.dotnet.security)
  • Re: Windows Identity simple question ????
    ... GenericIdentity implements the IIdentity interface. ... You just can't cast it to a WindowsIdentity. ... Best regards, ... services from a remote component host in a windows service. ...
    (microsoft.public.dotnet.security)
  • Re: IsAuthenticated property on IIdentity interface
    ... create and return a GenericIdentity instance or error if lookup is bad. ... use something like the WindowsIdentity ... string userName = "joedoe"; ...
    (microsoft.public.dotnet.security)
  • Re: Windows Identity simple question ????
    ... Then you should find a WindowsIdentity on Thread.CurrentPrincipal.Identity. ... What I am wondering is why it say that it retrun a GenericIdentity ... that it return a IIdentity object ?? ... Best regards, ...
    (microsoft.public.dotnet.security)