.NET Framework Bookmark and Share   
 index > Claims based access platform (CBA), code-named Geneva > Calling Stored Procedure via SQL Attribute Store
 

Calling Stored Procedure via SQL Attribute Store

Before I go about building my own custom attribute store, are there plans on supporting calling SQL Server stored procedures from the SQL attribute store? Or providing a 'SqlStoredProcedureAttributeStore' ?
Phil Bolduc
You can invoke stored procs using the SQL attribute store. For example, consider stored proc GetValue with parameters @input1. Sample rule is:

c1:[Type == "InputClaim"]=> issue(store = "SqlPolicyStore", types = ("OutputClaim"), query = "exec GetValue @input1 = {0}", param = c1.Value);
  • Proposed As Answer byTravis Spencer Tuesday, September 01, 2009 4:43 AM
  • Marked As Answer byPhil Bolduc Tuesday, September 01, 2009 3:38 PM
  •  
Rakesh Bilaney - MSFT
You can invoke stored procs using the SQL attribute store. For example, consider stored proc GetValue with parameters @input1. Sample rule is:

c1:[Type == "InputClaim"]=> issue(store = "SqlPolicyStore", types = ("OutputClaim"), query = "exec GetValue @input1 = {0}", param = c1.Value);
  • Proposed As Answer byTravis Spencer Tuesday, September 01, 2009 4:43 AM
  • Marked As Answer byPhil Bolduc Tuesday, September 01, 2009 3:38 PM
  •  
Rakesh Bilaney - MSFT

You can use google to search for other answers

Custom Search

More Threads

• July CTP throwing an error and webrole not starting
• Error MSIS7042
• cant use .pfx file for X.509 certificates
• Custom ClaimsAuthenticationManager and web services - Thread.CurrentPrincipal not set - fails in Beta 2 or just not implemeted?
• Geneva Beta 2 Step by Step guide downloads
• Managed Cards and the Access Control Service
• Automatic STS authentication without <deny users="?"/>
• AssertionConsumerServiceURL in SAML2-AuthnRequest
• Get attributes from AD LDS in Geneva Server
• "Geneva" Server not connected to policy store