Is it possible to set a claimType to be required and have a certain value in WIF?

Posted by Nissan Fan on Stack Overflow See other posts from Stack Overflow or by Nissan Fan
Published on 2010-03-31T22:48:25Z Indexed on 2010/03/31 22:53 UTC
Read the original article Hit count: 609

<claimTypeRequired>
     <claimType type="http://www.stackoverflow.com/claims/canwalkthedog" optional="false" />
</claimTypeRequired>

Is it possible in WIF apps to setup the web.config to use constraints. E.g. Say that a particular claim is required and must contain a value such as 1 or 'Y'? I want to create a situation where the framework dispermits access to an application if a claim doesn't meet a certain criteria, rather than to code it out implicitly.

© Stack Overflow or respective owner

Related posts about WIF

Related posts about windows-identity