Browse by Tags

Related Posts

  • Custom RoleProvider and Custom Principal

    Hi folks I am implementing asp.net 2.0 roles and authentication for the first time so bear with me if my ideas are a bit mixed-up! I have written a CustomRoleProvider class which overrides all the necessary members required to use my custom datastore for user roles - and this appears to be working great...
    Posted to Security (Forum) by french_duke on 05-25-2008, 12:00 AM
    Filed under: authentication, custom identity, custom principal, extra user properties, IPrincipal, IIDentity
  • Re: Role Based Windows Authentication

    Sounds like what you need is to use a sitemap provider for your menu and have security trimming enabled. This should get you started in the right direction... http://msdn2.microsoft.com/en-us/library/system.web.sitemapprovider.aspx http://msdn2.microsoft.com/en-us/library/system.web.xmlsitemapprovider...
    Posted to Security (Forum) by CharlesF on 04-11-2008, 12:00 AM
    Filed under: User.identity, .NET 2.0, ASP.NET, ASP.NET 2.0, Integrated Authentication, IPrincipal, IsInRole, web.config authorization, roles, .net 2.0 security, roles authorizations web.config security, System.Threading.Thread.CurrentPrincipal CurrentPrincipal Context.User
  • Associate Business Logic to Current User/Does it still make sence to Extend User and IPrinciple in 2.0

    I am looking for the best way associate business objects to the current user of the website. I am guessing the best way to do this is to extend the Identity.User object (i.e. extend the user object to include properties such as User.ID, User.Company. etc.). A search for a solution reveals a number of...
    Posted to Security (Forum) by dwilliams459 on 11-07-2007, 12:00 AM
    Filed under: security, user, IPrincipal
  • Defaultnetworkcredential are empty

    I have a web apps on a win 2003 server that access a web services on a different web server 2003. When everything is on the same machine it works but when I split them I got a HTTP status 401: Unauthorized. I have impersonate set to true and using <authentication mode="Windows"/>. The...
    Posted to Security (Forum) by Groslot on 08-10-2007, 12:00 AM
    Filed under: SPN, User.Identity.Name, 2.0, Access is denied, impersonate, Impersonatenation, Integrated Authentication, IPrincipal, windows authentications, .net security, Kerberos Authentication Integrated IIS Virtual Directory, authentication
  • SerializationException when Casting Context.User to my Custom Principal object

    I'm getting this error randomly on my site: Exception Details: System.Runtime.Serialization.SerializationException: Type is not resolved for member 'Authentication.CustomPrincipal,OrchidAuthentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. By random meaning I can surf around...
    Posted to Security (Forum) by sontek on 09-08-2006, 12:00 AM
    Filed under: HttpModule, IPrincipal, IIDentity
  • Re: PageMethods

    Page.User is merely a convenience property that wraps System.Threading.Thread.CurrentPrincipal , which is static, so just access that instead :)
    Posted to ASP.NET AJAX UI (Forum) by Fredrik K on 10-24-2006, 12:00 AM
    Filed under: IPrincipal
Page 1 of 1 (6 items)