I have been reading the following article to create a Custom Claims Provider: http://technet.microsoft.com/en-us/library/hh487289.aspx
However, this article provides a manual method to create the SharePoint assembly, register it in the GAC and then manually create a Feature.xml file to register the feature and be able to use it within the site.
Instead, I would like to be able to properly create a SharePoint project structure containing my Custom Claims Provider class(es) as well as my Custom Claims Feature Receiver so that it deploys directly through Visual Studio and displays amongst my list of available Claims Providers in the SharePoint People Picker.
Is there a sample Visual Studio project structure someone has created to successfully deploy a Custom Claims Provider without all of this manual effort?
Essentially, I want to be able to simply right click on my Visual Studio SharePoint project, select Deploy and then be able to begin using my Custom Claims Provider.
Please have a look at my implementation (signature has a link).
It is not the best implementation ever but you'll have a good start point.
I had created a Custom Claim Provider in visual studio, and below are the steps that I followed:-
1. Create new project using "Empty SharePoint Project" template in Visual Studio 2010.
2. Add a class file to the project and in it write the code of your custom claim provider, i.e. a class inheriting from SPClaimProvider.
3. Add a feature with "Farm" scope.
4. Add feature receiver.
When you deploy the solution, your feature will be visible in "Central Admin" under System Settings -> Manage Farm Features. From there you can activate your feature.
Further you can refer to following link:-
Hope this helps...