Possible Duplicate:
How can I attach a custom membership provider in my ASP.NET MVC application?
In ASP.NET MVC4 you can add attributes to your controllers/actions that restrict access to authenticated users or users that belong to certain roles.
I want to utilize this a project I'm working on, but I would rather not have to work with .NET Membership Provider. I would prefer to create my own database structure to keep track of users and roles and so forth.
What do I need to do in order to utilize the authentication attributes with my own custom membership implementation?