
Explanation/Reference:
Note:
Add Assembly to SharePoint Project:
The SPClaimProviderManager.AddClaimProvider method adds a claims provider to be used by the local farm.
Generate Solution:
Install and deploy the solution (that will automatically activate the "LDAPCP" farm-scoped feature):
Add-SPSolution -LiteralPath "PATH TO WSP FILE"
Install-SPSolution -Identity "LDAPCP.wsp" -GACDeployment
Deploy Solution:
When you save your site as a template, you create a Web Solution Package, or WSP. A WSP is a CAB file that uses the solution manifest. The solution that you create is stored in the solutions gallery for the SharePoint site collection. Once you save the template, a solution file (.wsp) is created and stored in the solutions gallery where you can download or activate the solution.
Reference: How to: Create a claims provider in SharePoint 2013