If I implement my own CustomPrincipal in asp.net mvc, must I use a Custom ActionFilterAttribute to check for Roles that my users belong to (like this: http://www.codethinked.com/post/2008/04/01/Setting-up-authentication-in-aspnet-MVC.aspx)???.
When I use:
[Authorize]
It works fine. But when I use:
[Authorize(Roles=("Example"))]
It goes off and looks for
"dbo.aspnet_CheckSchemaVersion"
Which I obviously don't have since I haven't added the asp.net membership objects to my database, I'm writing my own.
I'm using asp.net mvc 2 beta.
Edit: How can I override the logic that the default attributes uses so that I can use the same tag: [Authorize(Roles=("Example"))]