Tuesday, March 1, 2011

Dissecting a Custom Claims Provider

If you want a concise version of which properties and methods are required for the parts of functionality in a Claims Provider, here it is:

To augment claims:
SupportsEntityInformation
FillClaimsForEntity
FillClaimTypes
FillClaimValueTypes

To show a hierarchy of names in the left pane of people picker:
SupportsHierarchy
FillHierarchy


To search for claims:
SupportsSearch
SupportsResolve
FillSearch
FillSchema
FillEntityTypes
FillResolve (the overload with SPClaim as an input parameter)

To resolve names in type-in control:
SupportsResolve
FillResolve (both overloads)

This content was taken directly from the SQLClaimProvider code sample downloaded from MSDN Code Gallery.  The name of the file in the source code is WhatWasImplementedForWhatFunctionality.txt

No comments:

Post a Comment