Monday, February 28, 2011

Limitation of ContosoClaimsProvider

If you have read my previous post on how to deploy the ContosoClaimsProvider, you may discover that there is a limitation with the ContosoClaimsProvider sample.

The main limitation you will immediately notice is that the SupportsHierarchy property is set to false.  Therefore, the FillHierarchy method is not implemented and will throw a Not Implemented Exception if the SupportsHierarchy property is set to true.

If you wish to get started using a Hierarchy in the Claims Provider, I would recommend either utilizing the SqlClaimProvider sample or else reviewing the documentation on the FillHierarchy method on MSDN.

No comments:

Post a Comment