Created
January 29, 2018 18:08
-
-
Save RackerWilliams/cdfe8e99fea28a2177ac89a14210440d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
mapping: | |
rules: | |
- local: | |
user: | |
domain: '5821006' | |
name: "{D}" | |
email: "{At(http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress)}" | |
roles: | |
>- | |
{Pts( | |
let $groups := mapping:get-attributes('http://schemas.xmlsoap.org/claims/Group') | |
return | |
if ($groups = 'admin') then $groups else error(xs:QName('mapping:reject'),'Get out!') | |
)} | |
expire: "{D}" | |
version: RAX-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment