Questions tagged [principalpermission]

33 questions
0
votes
2 answers

System.Security.SecurityException - Get the role name

I've implemented a catch all security exceptions method in my global.asax like this... protected void Application_Error(object sender, EventArgs e) { Exception err = Server.GetLastError(); if (err is…
ETFairfax
  • 3,794
  • 8
  • 40
  • 58
0
votes
1 answer

Is it possible to disable PrincipalPermission check for WCF-services in web.config

My wcf-services uses Principalpermissions for authenticating users like follows: Is there any possibility without changing source code to disable this PrincipalPermission check, like a…
0
votes
2 answers

WCF: Custom RoleProvider with PrincipalPermissions: Doesn't appear to get hit / how to debug it?

I have a custom role provider that inherits off RoleProvider. In the web app this works fine with no problems. However I am also using it in the WCF service and am having great problems stepping into it. to the extent that I suspect it isn't being…
John Nicholas
  • 4,778
  • 4
  • 31
  • 50
1 2
3