How to create custom claims Providers in SharePoint 2010?

How to create custom claims Providers in SharePoint 2010?

The sample Visual Studio 2010 project is a SharePoint project named WingtipClaimProviders. This project contains a claims augmentation provider named AudienceClaimProvider, which is built on top of the Audience feature that is supplied by the User Profile web service in SharePoint Server 2010.

What kind of providers are included in SharePoint Foundation?

For example, some of the SAML-based authentication providers that are included with SharePoint Foundation, such as the one used in forms-based authentication, do not offer rich search and resolve functionality.

How to test audienceclaimprovider in SharePoint 2010?

You have installed SharePoint 2010. You have correctly configured the User Profile web service and created some audiences. To properly test AudienceClaimProvider, you must be running under the context of a user who is in one or more audiences.

When to use classic or claims mode in SharePoint?

Whenever you create a SharePoint web application, you must decide whether the new web application will run under Claims Mode or under the older SharePoint 2007 mode known as Classic Mode. When a web application that runs in Claims Mode authenticates a user, it creates a security token for the user by using Security Assertion Markup Language (SAML).

Why do I need a custom claims provider?

A claims provider must also implement several different methods to interact with the People Picker page that is provided by SharePoint Foundation. A custom claims provider supplies an important point of interaction for SharePoint site administrators who are configuring permissions on lists and sites.

How to add application specific claims in SAML?

To add application-specific claims: In User Attributes & Claims, select Add new claim to open the Manage user claims page. Enter the name of the claims. The value doesn’t strictly need to follow a URI pattern, per the SAML spec. If you need a URI pattern, you can put that in the Namespace field.

How does name resolution work for a claim?

Name resolution comes in two parts: the People Picker control and the type-in control. When you want to enable users to search for claims and find your claims, a claims provider enables you to do this by using the People Picker. The type-in control enables you to type in a user name, or a claim, and then click the resolve button.