Custom Authentication and Authorization

C

coollzh

I want to remove asp.net default Authentication and Authorization HttpModule handler and add my custom Authentication and Authorization HttpModule.
in my custom Authentication HttpModule Handler,i assign Iprincinpal(with some roles) to Current user ,
but how can i Authorizated the Current request page to the current user just as ASP.NET Authorization behavior really, not using Response.Redirect("login.aspx") or Server.Transfer("login.aspx")
 
C

coollzh

anybody know?
"coollzh" <[email protected]> дÈëÏûÏ¢ÐÂÎÅ:[email protected]...
I want to remove asp.net default Authentication and Authorization HttpModule handler and add my custom Authentication and Authorization HttpModule.
in my custom Authentication HttpModule Handler,i assign Iprincinpal(with some roles) to Current user ,
but how can i Authorizated the Current request page to the current user just as ASP.NET Authorization behavior really, not using Response.Redirect("login.aspx") or Server.Transfer("login.aspx")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top