Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Doubts in Custom Authentication using iPrincipal - very urgent

Doubts in Custom Authentication using iPrincipal - very urgent

Scheduled Pinned Locked Moved ASP.NET
questionasp-netdatabasecomsecurity
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RSArockiam
    wrote on last edited by
    #1

    I try to implement Custom Authentication with implementing IPrincipal and IIdentity based on the article Custom Authentication provider by implementing IHttpModule, IPrincipal and IIdentity. As per this article We have to create Custom Principal object for every request(Authenticate request) . My doubt is 1. Why we have to create this object every time? 2. This leads the database request every time - getting roles and permissions. This is unwanted. 3. Instead of this implementation, why not we use the session object to store the custom principal object after authorized from the login page? 4. I tried to use the session object, but i couldn't get the session object in the AuthenticateRequest event. How can i retrieve from Global.asax.cs? Please reply immediately, very urgent. Thanks in Advance. Regards R.Arockiapathinathan

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups